:root {
    --white: #fff;
    --mist: #ffe9f4;
    --mist-2: #ffd6ea;
    --pink: #ff3d97;
    --magenta: #ff50c0;
    --violet: #9b6bff;
    --berry: #7a1b5c;
    --plum: #3f1a40;
    --deep: #2a0e2e;
    --ink: #1c0720;
    --danger: #a6224f;
    --success: #246b4a;
    --display: "Archivo", "Arial Black", sans-serif;
    --heading: "Outfit", system-ui, sans-serif;
    --body: "Instrument Sans", system-ui, sans-serif;
    --radius: 24px;
    --max-width: 1220px;
    --bs-primary: #ff3d97;
    --bs-primary-rgb: 255, 61, 151;
    --bs-secondary: #7a1b5c;
    --bs-secondary-rgb: 122, 27, 92;
    --bs-body-color: #3f1a40;
    --bs-body-bg: #ffe9f4;
    --bs-body-font-family: var(--body);
    --bs-border-color: #3f1a4033;
    --bs-border-radius: 14px;
    --bs-link-color: #7a1b5c;
    --bs-link-hover-color: #ff3d97;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--plum); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body.dashboard-body { background: #fff8fc; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
input[type="checkbox"] { width: 24px; height: 24px; flex: 0 0 24px; margin: 0; appearance: none; border: 2px solid #7a1b5c70; border-radius: 7px; background: var(--white); cursor: pointer; outline: none; transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
input[type="checkbox"]:hover { border-color: var(--berry); }
input[type="checkbox"]:focus { border-color: var(--pink); outline: 0; box-shadow: 0 0 0 4px #ff3d971c; }
input[type="checkbox"]:focus-visible { border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d9724; }
input[type="checkbox"]:checked { border-color: var(--pink); background-color: var(--pink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'/%3E%3C/svg%3E"); background-position: center; background-repeat: no-repeat; background-size: 18px; }
input[type="checkbox"]:active { transform: scale(.94); }
input[type="checkbox"]:disabled { cursor: not-allowed; opacity: .48; }
h1, h2, h3, h4 { margin: 0; color: var(--plum); font-family: var(--heading); letter-spacing: -.035em; line-height: 1.04; }
p { margin: 0; }
.container { width: 100%; max-width: calc(var(--max-width) + 36px); padding-inline: 18px; }
.wrap { width: min(100% - 36px, var(--max-width)); margin-inline: auto; }
.section { padding: clamp(58px, 7vw, 96px) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--deep); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow, .mc-badge { display: inline-flex; align-items: center; width: fit-content; border-radius: 999px; padding: 7px 14px; background: var(--plum); color: var(--white); font: 700 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow--pink, .mc-badge--pink { background: var(--pink); }
.mc-badge--violet { background: var(--violet); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading--center { margin-inline: auto; text-align: center; }
.section-heading h2 { margin-top: 16px; font-size: clamp(2.25rem, 5vw, 4rem); }
.section-heading p { margin-top: 16px; color: var(--berry); font-weight: 500; }
.section--dark .section-heading p { color: #f0cee4; }

.site-nav { position: sticky; top: 0; z-index: 50; padding: 14px 0; }
.site-nav__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 20px; border: 2px solid var(--plum); border-radius: 999px; background: var(--white); box-shadow: 0 5px 0 var(--plum); transform: translateZ(0); backface-visibility: hidden; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 1.25rem/1 var(--heading); letter-spacing: -.045em; white-space: nowrap; }
.brand__mark { display: grid; width: 30px; height: 30px; place-items: center; background: var(--pink); }
.brand__mark span { width: 11px; height: 11px; border-radius: 50%; background: var(--white); }
.site-nav__links { display: flex; flex-direction: row; gap: 24px; margin-left: auto; font: 600 .93rem var(--heading); }
.site-nav__links .nav-link { padding: 0; color: inherit; }
.site-nav__links a:hover { color: var(--pink); }
.site-nav__actions { display: flex; gap: 9px; }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: var(--plum); box-shadow: inset 0 0 0 1px #ffffff12; transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.nav-toggle:hover { transform: scale(1.04); }
.nav-toggle:focus-visible { outline: 3px solid #ff3d9745; outline-offset: 3px; }
.nav-toggle span { position: relative; display: block; width: 18px; height: 2px; margin: auto; border-radius: 99px; background: #fff; transition: background-color .18s ease; }
.nav-toggle span::before, .nav-toggle span::after { position: absolute; top: 0; left: 0; display: block; width: 18px; height: 2px; border-radius: 99px; background: #fff; content: ""; transition: transform .24s cubic-bezier(.2, .8, .2, 1); }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] { background: var(--pink); box-shadow: inset 0 0 0 1px #ffffff35, 0 5px 16px #ff3d9738; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 1; width: 100vw; height: 100dvh; min-height: 100vh; padding: 110px 28px 28px; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(circle at 82% 12%, #ff3d9724, transparent 28%), linear-gradient(160deg, #2a0e2e 0%, #1b071e 100%); color: var(--white); }
.mobile-nav:not([hidden]) { animation: mobile-nav-enter .26s cubic-bezier(.2, .8, .2, 1) both; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid #ffffff26; font: 700 1.6rem var(--heading); }
.mobile-nav:not([hidden]) a { animation: mobile-nav-link-enter .34s cubic-bezier(.2, .8, .2, 1) both; }
.mobile-nav:not([hidden]) a:nth-child(2) { animation-delay: .025s; }.mobile-nav:not([hidden]) a:nth-child(3) { animation-delay: .05s; }.mobile-nav:not([hidden]) a:nth-child(4) { animation-delay: .075s; }.mobile-nav:not([hidden]) a:nth-child(5) { animation-delay: .1s; }.mobile-nav:not([hidden]) a:nth-child(6) { animation-delay: .125s; }.mobile-nav:not([hidden]) a:nth-child(7) { animation-delay: .15s; }.mobile-nav:not([hidden]) a:nth-child(8) { animation-delay: .175s; }
.mobile-nav .nav-link, .mobile-nav .nav-link:hover, .mobile-nav .nav-link:focus { color: var(--white); }
body.has-mobile-nav-open { overflow: hidden; }
@keyframes mobile-nav-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes mobile-nav-link-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.mc-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 24px; border: 2px solid var(--plum); border-radius: 999px; cursor: pointer; font: 700 .96rem/1 var(--heading); transition: transform .18s, box-shadow .18s; }
.mc-button:hover { transform: translateY(2px); }
.mc-button--pink { background: var(--pink); color: var(--white); box-shadow: 0 5px 0 var(--plum); }
.mc-button--plum { background: var(--plum); color: var(--white); box-shadow: 0 5px 0 var(--pink); }
.mc-button--white { background: var(--white); box-shadow: 0 5px 0 var(--plum); }
.mc-button--line { background: transparent; box-shadow: none; }
.dashboard-body .mc-button--line:not(.mc-button--sm) { border-width: 3px; background: var(--white); box-shadow: 0 3px 0 var(--plum); }
.dashboard-body .mc-button--line:not(.mc-button--sm):hover { box-shadow: 0 1px 0 var(--plum); }
.mc-button--sm { min-height: 40px; padding: 10px 18px; font-size: .88rem; }
.mc-button--lg { min-height: 58px; padding: 17px 32px; font-size: 1.04rem; }
.mc-button--block { width: 100%; }
.btn-primary.mc-button { --bs-btn-bg: var(--pink); --bs-btn-border-color: var(--plum); --bs-btn-hover-bg: var(--pink); --bs-btn-hover-border-color: var(--plum); --bs-btn-active-bg: var(--pink); --bs-btn-active-border-color: var(--plum); }
.btn-outline-primary.mc-button { --bs-btn-color: var(--plum); --bs-btn-border-color: var(--plum); --bs-btn-hover-color: var(--plum); --bs-btn-hover-bg: transparent; --bs-btn-hover-border-color: var(--plum); --bs-btn-active-color: var(--plum); --bs-btn-active-bg: transparent; --bs-btn-active-border-color: var(--plum); }
.btn-dark.mc-button { --bs-btn-bg: var(--plum); --bs-btn-border-color: var(--plum); }
.btn-light.mc-button { --bs-btn-bg: var(--white); --bs-btn-border-color: var(--plum); --bs-btn-color: var(--plum); }

.hero { padding: clamp(44px, 7vw, 92px) 0 78px; }
.hero__grid { align-items: center; }
.hero h1 { margin-top: 20px; font-size: clamp(3.1rem, 7.5vw, 6.2rem); }
.sticker { display: inline-block; color: var(--white); font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; -webkit-text-stroke: 8px var(--pink); paint-order: stroke fill; filter: drop-shadow(7px 7px 0 var(--plum)); transform: rotate(-2deg); }
.hero__copy { max-width: 620px; }
.hero__copy > p { margin-top: 26px; color: var(--berry); font-size: 1.1rem; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero__chips span { padding: 6px 12px; border: 2px solid var(--plum); border-radius: 999px; background: var(--white); font: 700 .78rem var(--heading); }
.loyalty-demo { position: relative; max-width: 430px; margin-inline: auto; padding: 34px; border: 3px solid var(--plum); border-radius: 38px; background: var(--magenta); box-shadow: 12px 14px 0 var(--berry); transform: rotate(-2deg); }
.loyalty-demo__card { padding: 26px; border: 2px solid var(--plum); border-radius: 24px; background: var(--plum); color: var(--white); }
.loyalty-demo__card h3 { color: var(--white); font-size: 1.35rem; }
.loyalty-demo__reward { margin-top: 16px; padding: 12px; border-radius: 12px; background: var(--pink); font-weight: 700; }
.stamp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 20px; }
.stamp-grid span { display: grid; aspect-ratio: 1; place-items: center; border: 2px solid #ffffff66; border-radius: 50%; font-weight: 900; }
.stamp-grid .is-filled { border-color: var(--magenta); background: var(--magenta); }
.loyalty-demo__footer { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 2px dashed #ffffff42; font-weight: 700; }

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.mc-card { position: relative; padding: 28px; overflow: hidden; border: 2px solid var(--plum); border-radius: var(--radius); background: var(--white); box-shadow: 0 6px 0 var(--plum); }
.mc-card--dark { background: var(--plum); color: var(--white); }
.mc-card--dark h3, .mc-card--pink h3, .mc-card--violet h3 { color: var(--white); }
.mc-card--pink { background: var(--pink); color: var(--white); }
.mc-card--violet { background: var(--violet); color: var(--white); }
.mc-card h3 { font-size: 1.35rem; }
.mc-card p { margin-top: 12px; font-weight: 500; opacity: .82; }
.step-number { display: block; margin-bottom: 18px; color: var(--pink); font: italic 900 2rem var(--display); }
.feature-icon { display: grid; width: 46px; height: 46px; margin-bottom: 18px; place-items: center; border: 2px solid currentColor; border-radius: 13px; font-size: 1.3rem; }
.cta-box { padding: clamp(42px, 7vw, 76px); border: 3px solid var(--plum); border-radius: 42px; background: var(--plum); color: var(--white); text-align: center; box-shadow: 0 10px 0 var(--pink); }
.cta-box h2 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-box p { max-width: 600px; margin: 18px auto 0; color: #edcee2; }
.cta-box__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.faq { display: grid; max-width: 840px; gap: 12px; margin-inline: auto; }
.faq details { border: 2px solid var(--plum); border-radius: 16px; background: var(--white); box-shadow: 0 4px 0 var(--plum); }
.faq summary { padding: 19px 52px 19px 20px; cursor: pointer; font: 700 1.04rem var(--heading); }
.faq details p { padding: 0 20px 20px; color: var(--berry); }
.site-footer { padding: 58px 0 30px; background: var(--deep); color: var(--white); }
.site-footer__grid { --bs-gutter-x: 36px; }
.site-footer h3 { color: var(--magenta); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer ul { padding: 0; list-style: none; }
.site-footer li { margin-top: 8px; color: #ffffffb3; }
.site-footer__bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid #ffffff20; color: #ffffff80; font-size: .82rem; }

.auth-shell { min-height: 100vh; padding: 24px 0 50px; }
.auth-brand { display: flex; justify-content: center; margin-bottom: 28px; }
.auth-card { width: min(100% - 36px, 620px); margin-inline: auto; padding: clamp(26px, 5vw, 48px); border: 2px solid var(--plum); border-radius: 30px; background: var(--white); box-shadow: 0 8px 0 var(--plum); }
.auth-card h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.auth-card__intro { margin-top: 12px; color: var(--berry); }
.auth-form { display: grid; gap: 18px; margin-top: 28px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font: 700 .9rem var(--heading); }
.form-field input:not([type="checkbox"], [type="radio"]), .form-field select, .form-field textarea { width: 100%; min-height: 52px; padding: 12px 15px; border: 2px solid #7a1b5c66; border-radius: 14px; background: #fffafd; color: var(--ink); outline: none; }
.form-field input:not([type="checkbox"], [type="radio"]):focus, .form-field select:focus { border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d971c; }
.form-field input:not([type="checkbox"], [type="radio"]).is-invalid { border-color: var(--danger); }
.form-field--color { align-content: start; }
.color-control { display: grid; width: min(100%, 210px); min-height: 48px; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; padding: 5px 12px 5px 6px; border: 2px solid #7a1b5c4d; border-radius: 14px; background: #fffafd; transition: border-color .18s ease, box-shadow .18s ease; }
.color-control:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d971c; }
.form-field .color-control input[type="color"] { width: 36px; min-height: 36px; height: 36px; padding: 2px; overflow: hidden; border: 0; border-radius: 10px; background: transparent; box-shadow: none; cursor: pointer; }
.form-field .color-control input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.form-field .color-control input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 8px; }
.form-field .color-control input[type="color"]::-moz-color-swatch { border: 0; border-radius: 8px; }
.color-control output { overflow: hidden; color: var(--ink); font: 700 .78rem/1 var(--heading); letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.color-control:has(input:disabled) { opacity: .48; }
.field-error { display: block; width: auto; max-width: 100%; margin: 6px 0 0; padding: 0; overflow-wrap: anywhere; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--danger); font-size: .82rem; font-weight: 650; line-height: 1.45; }
.field-error[hidden] { display: none; }
.form-label { margin-bottom: 0; }
.form-control:focus, .form-select:focus { border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d971c; }
.searchable-select { position: relative; width: 100%; }
.searchable-select__native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; border: 0 !important; white-space: nowrap !important; }
.searchable-select__control { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 15px; border: 2px solid #7a1b5c66; border-radius: 14px; background: #fffafd; color: #806079; cursor: pointer; text-align: left; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.searchable-select__control:hover { border-color: #7a1b5c8c; background: #fff; }
.searchable-select__control:focus-visible, .searchable-select.is-open .searchable-select__control { border-color: var(--pink); outline: 0; background: #fff; box-shadow: 0 0 0 4px #ff3d971c; }
.searchable-select.has-value .searchable-select__value { color: var(--ink); }
.searchable-select__value { min-width: 0; overflow: hidden; font-size: .97rem; text-overflow: ellipsis; white-space: nowrap; }
.searchable-select__chevron { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 9px; background: #3f1a400a; color: var(--berry); transition: color .18s ease, transform .18s ease; }
.searchable-select__chevron::before { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; content: ""; transform: translateY(-2px) rotate(45deg); }
.searchable-select.is-open .searchable-select__chevron { color: var(--pink); transform: rotate(180deg); }
.searchable-select__panel { position: absolute; z-index: 90; top: calc(100% + 9px); right: 0; left: 0; display: flex; width: 100%; max-height: min(var(--searchable-select-available-height, 440px), calc(100dvh - 24px)); padding: 10px; overflow: hidden; border: 1.5px solid #7a1b5c38; border-radius: 18px; flex-direction: column; background: #fff; box-shadow: 0 18px 55px #2408242b, 0 5px 0 #3f1a4017; }
.searchable-select.is-open-above .searchable-select__panel { top: auto; bottom: calc(100% + 9px); }
.searchable-select__panel[hidden], .searchable-select__empty[hidden] { display: none !important; }
.searchable-select__search { position: relative; margin-bottom: 8px; }
.searchable-select__search > span { position: absolute; z-index: 1; top: 50%; left: 14px; color: var(--berry); font: 900 1.15rem/1 var(--heading); transform: translateY(-50%); pointer-events: none; }
.searchable-select__search .form-control { min-height: 49px !important; padding: 10px 38px 10px 42px !important; border-width: 1.5px !important; border-color: #7a1b5c36 !important; border-radius: 13px !important; background: #fff8fc !important; box-shadow: none !important; font-size: .9rem !important; }
.searchable-select__search .form-control:focus { border-color: var(--pink) !important; background: #fff !important; box-shadow: 0 0 0 4px #ff3d9713 !important; }
.searchable-select__list { min-height: 0; padding: 2px 3px 3px; overflow-y: auto; flex: 0 1 auto; overscroll-behavior-y: contain; scrollbar-color: #d9b8cc transparent; scrollbar-width: thin; }
.searchable-select__group > p { position: sticky; z-index: 1; top: -2px; margin: 4px 0 3px; padding: 8px 9px 6px; background: #fff; color: #96718b; font: 800 .62rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.searchable-select__option { display: flex; width: 100%; min-height: 41px; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; border: 0; border-radius: 11px; background: transparent; color: var(--plum); cursor: pointer; font-size: .87rem; text-align: left; }
.searchable-select__option:hover, .searchable-select__option:focus-visible { outline: 0; background: #fff0f8; color: var(--berry); }
.searchable-select__option.is-selected { background: #fff0f8; color: var(--berry); font-weight: 750; }
.searchable-select__check { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; background: #f3e7ee; color: transparent; font: 900 .67rem/1 var(--heading); }
.searchable-select__option.is-selected .searchable-select__check { background: var(--pink); color: #fff; }
.searchable-select__empty { padding: 24px 12px; color: #886980; font-size: .83rem; text-align: center; }
.auth-registration-body .searchable-select__control { min-height: 58px; padding-inline: 17px; border-width: 1.5px; border-color: #7a1b5c42; border-radius: 16px; }
.dashboard-body .searchable-select__control { min-height: 52px; background: #fff; font-size: 1rem; }
.company-settings-fields .searchable-select__panel { min-width: min(440px, calc(100vw - 36px)); }

@media (max-width: 760px) {
    .searchable-select__panel { padding: 12px; border-radius: 20px; box-shadow: 0 20px 50px #20082138, 0 6px 0 #3f1a401c; }
    .searchable-select__search .form-control { min-height: 54px !important; font-size: 1rem !important; }
}
.form-check { min-height: 0; padding-left: 0; }
.form-check .form-check-input { float: none; margin-left: 0; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 52px; }
.password-toggle { position: absolute; top: 50%; right: 10px; border: 0; background: transparent; transform: translateY(-50%); color: var(--berry); font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; }
.check-row input { margin-top: 1px; }
.check-row > span { min-width: 0; }
.check-row strong, .check-row small { display: block; }
.check-row small { margin-top: 2px; color: var(--berry); font-size: .78rem; font-weight: 500; line-height: 1.35; }
.auth-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; font-weight: 700; font-size: .9rem; }
.auth-links a { color: var(--berry); }

.auth-login-body { height: 100dvh; overflow: hidden; background: var(--deep); }
.auth-login-body .auth-shell { position: relative; width: 100%; height: 100dvh; min-height: 0; padding: 0; overflow: hidden; background: var(--white); }
.auth-login-body .auth-brand { position: absolute; z-index: 5; top: clamp(28px, 4.4vh, 42px); left: clamp(34px, 5vw, 76px); margin: 0; }
.auth-login-body .auth-brand .brand { color: var(--white); font-size: 1.36rem; }
.auth-login-body .auth-brand .brand__mark { box-shadow: 0 4px 0 #160519; }
.auth-login { display: grid; width: 100%; height: 100dvh; min-height: 0; grid-template-columns: minmax(430px, 46%) minmax(0, 54%); }
.auth-login__story { position: relative; display: grid; min-width: 0; height: 100dvh; grid-template-rows: auto minmax(240px, 1fr) auto; gap: clamp(20px, 3.4vh, 36px); padding: clamp(112px, 14vh, 138px) clamp(42px, 5vw, 78px) clamp(28px, 4.5vh, 46px); overflow: hidden; background: radial-gradient(circle at 84% 13%, #ff73bb52 0 5%, transparent 26%), radial-gradient(circle at 5% 90%, #9b6bff36 0 7%, transparent 29%), linear-gradient(150deg, #531750 0%, #3b113e 48%, #210723 100%); color: var(--white); }
.auth-login__story::before { position: absolute; right: -140px; bottom: -170px; width: 390px; height: 390px; border: 58px solid #ffffff0c; border-radius: 50%; content: ""; pointer-events: none; }
.auth-login__story-copy, .auth-login__dashboard-preview, .auth-login__story-footer { position: relative; z-index: 1; }
.auth-login__eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #ffb4d7; font: 800 .7rem/1 var(--heading); letter-spacing: .12em; text-transform: uppercase; }
.auth-login__eyebrow::before { width: 22px; height: 2px; border-radius: 99px; background: var(--pink); content: ""; }
.auth-login__story h1 { max-width: 620px; margin-top: 18px; color: var(--white); font-size: clamp(3rem, 4.8vw, 5rem); letter-spacing: -.057em; }
.auth-login__story-copy > p { max-width: 600px; margin-top: 20px; color: #f7ddea; font-size: clamp(.93rem, 1.1vw, 1.04rem); font-weight: 520; line-height: 1.65; }
.auth-login__dashboard-preview { align-self: end; width: min(100%, 610px); height: clamp(270px, 35vh, 350px); overflow: hidden; border: 1px solid #ffffff4a; border-radius: 25px; background: #fffafd; box-shadow: 0 30px 65px #13041570, 9px 11px 0 #ff3d9747; transform: rotate(-1deg); }
.auth-login__dashboard-topbar { display: grid; height: 46px; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid #3f1a4012; background: #fff; color: var(--plum); }
.auth-login__dashboard-topbar > span { display: flex; gap: 5px; }
.auth-login__dashboard-topbar i { width: 7px; height: 7px; border-radius: 50%; background: #ff9dc9; }
.auth-login__dashboard-topbar i:nth-child(2) { background: #d9c2d2; }.auth-login__dashboard-topbar i:nth-child(3) { background: #9b6bff; }
.auth-login__dashboard-topbar small { font: 750 .58rem/1 var(--heading); letter-spacing: .025em; }
.auth-login__dashboard-topbar b { justify-self: end; color: #7a1b5c70; font-size: .62rem; letter-spacing: .1em; }
.auth-login__dashboard-body { display: grid; height: calc(100% - 46px); grid-template-columns: 57px minmax(0, 1fr); }
.auth-login__dashboard-body nav { display: flex; align-items: center; gap: 14px; padding: 18px 13px; border-right: 1px solid #ffffff17; flex-direction: column; background: var(--deep); }
.auth-login__dashboard-body nav span { width: 25px; height: 6px; border-radius: 99px; background: #ffffff28; }
.auth-login__dashboard-body nav span:first-child { width: 28px; height: 28px; margin-bottom: 5px; border-radius: 9px; background: var(--pink); box-shadow: inset 0 0 0 8px #fff; }
.auth-login__dashboard-body nav span.is-active { background: var(--pink); }
.auth-login__dashboard-canvas { display: grid; min-width: 0; grid-template-columns: minmax(0, 1.55fr) minmax(80px, .75fr); grid-template-rows: 20px 56px minmax(90px, 1fr); gap: 10px; padding: 16px; background: linear-gradient(145deg, #fff 0%, #fff7fb 100%); }
.auth-login__dashboard-heading { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; }
.auth-login__dashboard-heading span { width: 96px; height: 8px; border-radius: 99px; background: var(--plum); }
.auth-login__dashboard-heading i { width: 42px; height: 15px; border-radius: 99px; background: var(--pink); }
.auth-login__dashboard-cards { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.auth-login__dashboard-cards span { position: relative; overflow: hidden; border: 1px solid #3f1a4014; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px #3f1a4008; }
.auth-login__dashboard-cards span::before { position: absolute; top: 11px; left: 11px; width: 20px; height: 20px; border-radius: 7px; background: #ffe1ef; content: ""; }
.auth-login__dashboard-cards span::after { position: absolute; right: 12px; bottom: 12px; left: 42px; height: 6px; border-radius: 99px; background: #3f1a4012; box-shadow: 0 -12px 0 #3f1a4022; content: ""; }
.auth-login__dashboard-chart, .auth-login__dashboard-list { position: relative; overflow: hidden; border: 1px solid #3f1a4014; border-radius: 11px; background: #fff; }
.auth-login__dashboard-chart::before { position: absolute; inset: 16px 13px 25px; background: repeating-linear-gradient(to bottom, transparent 0 24%, #3f1a400c 25% 26%); content: ""; }
.auth-login__chart-line { position: absolute; inset: 20px 18px 28px; }
.auth-login__chart-line i { position: absolute; left: calc(var(--point, 0) * 25%); bottom: calc(var(--height, 1) * 12%); width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.auth-login__chart-line i:nth-child(1) { --point: 0; --height: 2; }.auth-login__chart-line i:nth-child(2) { --point: 1; --height: 4; }.auth-login__chart-line i:nth-child(3) { --point: 2; --height: 3; }.auth-login__chart-line i:nth-child(4) { --point: 3; --height: 6; }.auth-login__chart-line i:nth-child(5) { --point: 4; --height: 5; }
.auth-login__chart-line i:not(:last-child)::after { position: absolute; top: 1px; left: 5px; width: calc(25vw / 5); height: 3px; border-radius: 99px; background: linear-gradient(90deg, var(--pink), #b25de4); content: ""; transform: rotate(var(--angle, -11deg)); transform-origin: left center; }
.auth-login__chart-line i:nth-child(2)::after { --angle: 7deg; }.auth-login__chart-line i:nth-child(3)::after { --angle: -18deg; }.auth-login__chart-line i:nth-child(4)::after { --angle: 8deg; }
.auth-login__chart-labels { position: absolute; right: 17px; bottom: 12px; left: 17px; display: flex; justify-content: space-between; }
.auth-login__chart-labels span { width: 15%; height: 4px; border-radius: 99px; background: #3f1a4012; }
.auth-login__dashboard-list { display: flex; gap: 0; padding: 13px; flex-direction: column; }
.auth-login__dashboard-list span { position: relative; min-height: 31px; flex: 1; border-bottom: 1px solid #3f1a400d; }
.auth-login__dashboard-list span:last-child { border-bottom: 0; }
.auth-login__dashboard-list span::before { position: absolute; top: 9px; left: 0; width: 15px; height: 15px; border-radius: 5px; background: #ffe2f0; content: ""; }
.auth-login__dashboard-list span::after { position: absolute; top: 13px; right: 0; left: 22px; height: 5px; border-radius: 99px; background: #3f1a4015; content: ""; }
.auth-login__story-footer { display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 28px); color: #f3d3e4; font: 650 .78rem/1 var(--heading); }
.auth-login__story-footer span { display: inline-flex; align-items: center; gap: 7px; }
.auth-login__story-footer i { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: #ffffff16; color: #ff82bb; font: normal 900 .65rem/1 var(--heading); }
.auth-login__panel { position: relative; display: flex; min-width: 0; height: 100dvh; padding: clamp(28px, 4vh, 44px) clamp(38px, 7vw, 106px); flex-direction: column; background: radial-gradient(circle at 96% 5%, #ff3d970d 0 5%, transparent 25%), #fff; }
.auth-login__panel-head { display: flex; justify-content: flex-end; }
.auth-login__panel-head p { color: #795572; font-size: .86rem; }
.auth-login__panel-head a { margin-left: 4px; border-bottom: 1px solid currentColor; color: var(--berry); font-weight: 800; }
.auth-login__panel-head a:hover { color: var(--pink); }
.auth-login__form-wrap { width: min(100%, 570px); margin: auto; }
.auth-login__form-heading { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 18px; margin-bottom: 34px; }
.auth-login__welcome-mark { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: linear-gradient(145deg, var(--pink), #b3287c); color: #fff; box-shadow: 0 8px 0 var(--plum), 0 16px 30px #ff3d9724; font: 800 1.35rem/1 var(--heading); }
.auth-login__form-heading div > span { color: var(--pink); font: 800 .7rem/1 var(--heading); letter-spacing: .11em; text-transform: uppercase; }
.auth-login__form-heading h2 { margin-top: 9px; color: var(--ink); font-size: clamp(2.65rem, 4vw, 4rem); letter-spacing: -.055em; }
.auth-login__form-heading p { margin-top: 12px; color: #806079; font-size: .95rem; }
.auth-login__form { display: grid; gap: 19px; }
.auth-login__form .form-field { gap: 8px; margin: 0 !important; }
.auth-login__form .form-field label { color: var(--plum); font-size: .9rem; }
.auth-login__form .form-field input:not([type="checkbox"], [type="radio"]) { min-height: 60px; padding: 14px 17px; border-width: 1.5px; border-color: #7a1b5c48; border-radius: 17px; background: #fffbfd; font-size: 1rem; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.auth-login__form .form-field input:not([type="checkbox"], [type="radio"]):hover { border-color: #7a1b5c78; background: #fff; }
.auth-login__form .form-field input:not([type="checkbox"], [type="radio"]):focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 5px #ff3d9717; }
.auth-login__form .password-wrap input { padding-right: 84px; }
.auth-login__form .password-toggle { right: 12px; padding: 7px 9px; border-radius: 9px; color: var(--berry); font-size: .76rem; }
.auth-login__form .password-toggle:hover { background: var(--mist); }
.auth-login__form .password-toggle:focus-visible { outline: 0; box-shadow: 0 0 0 3px #ff3d9720; }
.auth-login__password-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-login__password-label a { color: var(--berry); font-size: .78rem; font-weight: 750; }
.auth-login__password-label a:hover { color: var(--pink); }
.auth-login__remember { display: flex; align-items: center; gap: 11px; color: #63445e; cursor: pointer; font-size: .86rem; line-height: 1.35; }
.auth-login__remember .form-check-input { width: 21px; height: 21px; flex: 0 0 21px; border-width: 1.5px; border-radius: 6px; }
.auth-login__form .mc-button { margin-top: 3px; font-size: 1rem; }
.auth-login__help { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 27px; color: #886980; font-size: .76rem; text-align: center; }
.auth-login__help span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #e8f7f0; color: #237052; font-size: .64rem; font-weight: 900; }

@media (max-height: 760px) and (min-width: 761px) {
    .auth-login-body .auth-brand { top: 24px; }
    .auth-login__story { gap: 18px; padding-top: 86px; padding-bottom: 24px; }
    .auth-login__story h1 { margin-top: 12px; font-size: clamp(2.6rem, 4.3vw, 4.1rem); }
    .auth-login__story-copy > p { margin-top: 12px; line-height: 1.5; }
    .auth-login__dashboard-preview { height: 260px; }
    .auth-login__panel { padding-top: 25px; padding-bottom: 25px; }
    .auth-login__form-heading { margin-bottom: 24px; }
    .auth-login__form-heading h2 { font-size: clamp(2.35rem, 3.5vw, 3.4rem); }
    .auth-login__form { gap: 14px; }
    .auth-login__help { margin-top: 18px; }
}

@media (max-width: 960px) and (min-width: 761px) {
    .auth-login { grid-template-columns: minmax(350px, 42%) minmax(0, 58%); }
    .auth-login__story { padding-right: 32px; padding-left: 32px; }
    .auth-login__story h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); }
    .auth-login__dashboard-body { grid-template-columns: 44px minmax(0, 1fr); }
    .auth-login__dashboard-body nav { padding-right: 8px; padding-left: 8px; }
    .auth-login__panel { padding-right: 45px; padding-left: 45px; }
}

@media (max-width: 760px) {
    .auth-login-body { height: auto; min-height: 100dvh; overflow: auto; }
    .auth-login-body .auth-shell { height: auto; min-height: 100dvh; overflow: visible; }
    .auth-login-body .auth-brand { position: absolute; top: 24px; left: 20px; }
    .auth-login-body .auth-brand .brand { font-size: 1.17rem; }
    .auth-login-body .auth-brand .brand__mark { width: 28px; height: 28px; }
    .auth-login { display: block; height: auto; min-height: 100dvh; overflow: visible; }
    .auth-login__story { display: block; height: 320px; min-height: 320px; padding: 78px 20px 25px; }
    .auth-login__story-copy { width: 54%; }
    .auth-login__eyebrow { font-size: .58rem; letter-spacing: .08em; }
    .auth-login__eyebrow::before { width: 14px; }
    .auth-login__story h1 { margin-top: 12px; font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.02; }
    .auth-login__story-copy > p, .auth-login__story-footer { display: none; }
    .auth-login__dashboard-preview { position: absolute; right: -10px; bottom: 25px; width: 49%; height: 188px; border-radius: 17px; box-shadow: 0 18px 38px #13041570, 6px 7px 0 #ff3d9747; transform: rotate(-2deg); }
    .auth-login__dashboard-topbar { height: 28px; padding: 0 9px; }.auth-login__dashboard-topbar small { font-size: .38rem; }.auth-login__dashboard-topbar i { width: 4px; height: 4px; }.auth-login__dashboard-topbar b { font-size: .4rem; }
    .auth-login__dashboard-body { height: calc(100% - 28px); grid-template-columns: 27px minmax(0, 1fr); }.auth-login__dashboard-body nav { gap: 7px; padding: 9px 5px; }.auth-login__dashboard-body nav span { width: 13px; height: 3px; }.auth-login__dashboard-body nav span:first-child { width: 16px; height: 16px; margin-bottom: 2px; border-radius: 5px; box-shadow: inset 0 0 0 5px #fff; }
    .auth-login__dashboard-canvas { grid-template-columns: minmax(0, 1fr) 42px; grid-template-rows: 11px 31px minmax(48px, 1fr); gap: 5px; padding: 8px; }.auth-login__dashboard-heading span { width: 45px; height: 4px; }.auth-login__dashboard-heading i { width: 22px; height: 8px; }.auth-login__dashboard-cards { gap: 4px; }.auth-login__dashboard-cards span { border-radius: 5px; }.auth-login__dashboard-cards span::before { top: 6px; left: 6px; width: 10px; height: 10px; border-radius: 3px; }.auth-login__dashboard-cards span::after { right: 6px; bottom: 6px; left: 20px; height: 3px; box-shadow: 0 -7px 0 #3f1a4022; }
    .auth-login__dashboard-chart, .auth-login__dashboard-list { border-radius: 6px; }.auth-login__chart-line i { width: 5px; height: 5px; border-width: 1px; }.auth-login__chart-line i:not(:last-child)::after { display: none; }.auth-login__chart-labels { right: 8px; bottom: 6px; left: 8px; }.auth-login__chart-labels span { height: 2px; }.auth-login__dashboard-list { padding: 6px; }.auth-login__dashboard-list span { min-height: 15px; }.auth-login__dashboard-list span::before { top: 4px; width: 7px; height: 7px; border-radius: 2px; }.auth-login__dashboard-list span::after { top: 6px; left: 10px; height: 2px; }
    .auth-login__panel { z-index: 2; height: auto; min-height: calc(100dvh - 26px); margin-top: -22px; padding: 28px 20px max(32px, env(safe-area-inset-bottom)); border-radius: 27px 27px 0 0; box-shadow: 0 -12px 35px #1d081f28; }
    .auth-login__panel-head { margin-bottom: 42px; }.auth-login__panel-head p { font-size: .8rem; }
    .auth-login__form-wrap { margin: 0 auto; }
    .auth-login__form-heading { grid-template-columns: 49px minmax(0, 1fr); gap: 14px; margin-bottom: 28px; }
    .auth-login__welcome-mark { width: 49px; height: 49px; border-radius: 15px; box-shadow: 0 6px 0 var(--plum), 0 13px 24px #ff3d9720; font-size: 1.1rem; }
    .auth-login__form-heading h2 { margin-top: 7px; font-size: clamp(2.2rem, 11vw, 3rem); }.auth-login__form-heading p { margin-top: 8px; font-size: .88rem; }
    .auth-login__form { gap: 17px; }
    .auth-login__form .form-field input:not([type="checkbox"], [type="radio"]) { min-height: 57px; }
    .auth-login__help { margin-top: 23px; }
}

@media (max-width: 390px) {
    .auth-login__story { height: 300px; min-height: 300px; }
    .auth-login__story-copy { width: 57%; }
    .auth-login__story h1 { font-size: 2rem; }
    .auth-login__dashboard-preview { bottom: 23px; width: 47%; height: 170px; }
    .auth-login__panel { padding-right: 16px; padding-left: 16px; }
    .auth-login__panel-head { margin-bottom: 34px; }
}

.wizard-progress { display: flex; gap: 7px; margin-bottom: 28px; }
.wizard-progress span { height: 7px; flex: 1; border-radius: 99px; background: var(--mist-2); }
.wizard-progress span.is-active { background: var(--pink); }
.wizard-step[hidden] { display: none; }
.wizard-step h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.wizard-step > p { margin-top: 10px; color: var(--berry); }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.email-existing { margin-top: 6px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--danger); font-size: .82rem; font-weight: 650; line-height: 1.45; }

.auth-registration-body { height: 100dvh; overflow: hidden; background: var(--deep); }
.auth-registration-body .auth-shell { position: relative; display: flex; width: 100%; height: 100dvh; min-height: 0; align-items: stretch; padding: 0; overflow: clip; background: var(--white); }
.auth-registration-body .auth-shell::before, .auth-registration-body .auth-shell::after { position: absolute; border: 1px solid #ffffff12; border-radius: 50%; content: ""; pointer-events: none; }
.auth-registration-body .auth-shell::before { top: -180px; right: 20%; width: 420px; height: 420px; }
.auth-registration-body .auth-shell::after { bottom: -270px; left: -130px; width: 520px; height: 520px; }
.auth-registration-body .auth-brand { position: absolute; z-index: 3; top: clamp(25px, 4vh, 38px); left: clamp(30px, 4.5vw, 70px); margin: 0; }
.auth-registration-body .auth-brand .brand { color: var(--white); font-size: 1.34rem; }
.auth-registration-body .auth-brand .brand__mark { box-shadow: 0 4px 0 #160519; }
.auth-register { position: relative; z-index: 1; display: grid; width: 100%; height: 100dvh; min-height: 0; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); margin: 0; overflow: clip; background: var(--white); }
.auth-register__story { position: relative; display: flex; min-width: 0; height: 100dvh; padding: clamp(96px, 12vh, 132px) clamp(42px, 5vw, 78px) clamp(32px, 5vh, 54px); overflow: hidden; flex-direction: column; background: radial-gradient(circle at 82% 14%, #ff72b952 0 6%, transparent 29%), radial-gradient(circle at 4% 88%, #9b6bff42 0 7%, transparent 30%), linear-gradient(155deg, #4c164c 0%, #3a123d 46%, #220925 100%); color: var(--white); }
.auth-register__story::before { position: absolute; right: -120px; bottom: -120px; width: 330px; height: 330px; border: 54px solid #ffffff0d; border-radius: 50%; content: ""; }
.auth-register__story-copy, .auth-register__preview { position: relative; z-index: 1; }
.auth-register__story h1 { max-width: 590px; color: var(--white); font-size: clamp(2.55rem, 3.75vw, 4.3rem); letter-spacing: -.052em; }
.auth-register__story-copy > p { max-width: 560px; margin-top: 20px; color: #ffe8f4; font-size: 1rem; font-weight: 540; line-height: 1.65; }
.auth-register__preview { width: min(100%, 405px); margin: auto; }
.auth-register .auth-register__drawer-preview { width: min(100%, 350px); min-height: 470px; padding: 15px 22px 20px; border-color: #ffffff4a; border-radius: 29px 29px 18px 18px; box-shadow: 0 25px 55px #14051673, 8px 10px 0 #ff3d9766; transform: rotate(-1deg); }
.auth-register__drawer-preview .drawer-design-preview__logo { width: 78px; height: 78px; margin-top: 22px; border-radius: 18px; font-size: 1.55rem; }
.auth-register__drawer-preview .drawer-design-preview__company { max-width: 100%; margin-top: 13px; overflow: hidden; font-size: .72rem; text-overflow: ellipsis; text-transform: capitalize; white-space: nowrap; }
.auth-register__drawer-preview h3 { margin-top: 5px; font-size: 1.3rem; }
.auth-register__drawer-preview .drawer-design-preview__description { margin-top: 8px; font-size: .7rem; }
.auth-register__drawer-preview .drawer-design-preview__stamps { gap: 8px; margin-top: 19px; }
.auth-register__drawer-preview .drawer-design-preview__stamps > span { width: 42px; height: 42px; }
.auth-register__drawer-preview .drawer-design-preview__stamps > span.is-received::before { width: 30px; height: 30px; }
.auth-register__drawer-preview .drawer-design-preview__stamps i, .auth-register__drawer-preview .drawer-design-preview__stamps i svg { width: 19px; height: 19px; }
.auth-register__drawer-preview .drawer-design-preview__button { min-height: 44px; }
.auth-register__drawer-preview.is-stamp-changing .drawer-design-preview__stamps i { animation: auth-register-stamp-change .28s cubic-bezier(.2,.8,.2,1) both; }
.auth-register__form-panel { display: flex; min-width: 0; height: 100dvh; padding: clamp(26px, 4vh, 44px) clamp(40px, 6vw, 90px) clamp(18px, 3vh, 30px); overflow: clip; flex-direction: column; background: radial-gradient(circle at 94% 4%, #ff3d970d 0 5%, transparent 25%), #fff; }
.auth-register__form-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: clamp(18px, 3vh, 30px); }
.auth-register__form-head > span { color: var(--pink); font: 800 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.auth-register__form-head p { color: var(--berry); font-size: .82rem; }
.auth-register__form-head a { border-bottom: 1px solid currentColor; font-weight: 750; }
.auth-register__form-head a:hover { color: var(--pink); }
.auth-register__form-panel > form { width: min(100%, 680px); margin: auto; }
.auth-register__progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.auth-register__progress-meta span { color: var(--berry); font: 750 .72rem/1 var(--heading); }
.auth-register__progress-meta strong { color: var(--plum); font: 750 .78rem/1 var(--heading); }
.auth-register .wizard-progress { gap: 6px; margin-bottom: clamp(22px, 4vh, 38px); }
.auth-register .wizard-progress span { position: relative; height: 6px; overflow: hidden; background: #3f1a4011; }
.auth-register .wizard-progress span::after { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--magenta)); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .38s cubic-bezier(.2, .8, .2, 1); }
.auth-register .wizard-progress span.is-active::after { transform: scaleX(1); }
.auth-register .wizard-step { min-height: min(510px, calc(100dvh - 190px)); }
.auth-register .wizard-step:not([hidden]) { display: flex; flex-direction: column; animation: auth-register-step-enter .44s cubic-bezier(.2, .8, .2, 1) both; }
.auth-register .wizard-step h2 { max-width: 600px; font-size: clamp(2.15rem, 3.4vw, 3.45rem); letter-spacing: -.048em; outline: none; }
.auth-register .wizard-step > p { max-width: 570px; margin-top: 14px; color: #6d4967; font-size: .97rem; line-height: 1.58; }
.auth-register .auth-form { gap: 13px; margin-top: clamp(25px, 4vh, 34px); }
.auth-registration-body .form-field { gap: 8px; }
.auth-registration-body .form-field label { color: var(--plum); font-size: .88rem; }
.auth-registration-body .form-field input:not([type="checkbox"], [type="radio"], [type="color"]), .auth-registration-body .form-field select { min-height: 58px; padding-inline: 17px; border-width: 1.5px; border-color: #7a1b5c42; border-radius: 16px; background-color: #fffbfd; font-size: .97rem; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.auth-registration-body .form-field input:not([type="checkbox"], [type="radio"], [type="color"]):hover, .auth-registration-body .form-field select:hover { border-color: #7a1b5c70; background-color: #fff; }
.auth-registration-body .form-field input:not([type="checkbox"], [type="radio"], [type="color"]):focus, .auth-registration-body .form-field select:focus { border-color: var(--pink); background-color: #fff; box-shadow: 0 0 0 5px #ff3d9717; }
.auth-register__capitalized-input { text-transform: capitalize; }
.auth-registration-body .form-field.mb-3 { margin-bottom: 0 !important; }
.auth-register__field-note { margin-top: 2px; color: #896481; font-size: .74rem; }
.auth-register .password-toggle { right: 13px; padding: 7px 9px; border-radius: 9px; color: var(--berry); font-size: .75rem; }
.auth-register .password-toggle:hover { background: var(--mist); }
.auth-registration-body .auth-register .password-wrap input { padding-right: 62px; }
.password-toggle--icon { display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid transparent; border-radius: 11px; cursor: pointer; }
.password-toggle--icon:hover { border-color: #ff3d9738; background: #fff1f7; color: var(--pink); }
.password-toggle--icon:focus-visible { border-color: #ff3d9766; outline: 0; box-shadow: 0 0 0 4px #ff3d9718; }
.password-toggle--icon span, .password-toggle--icon svg { display: block; width: 20px; height: 20px; }
.password-toggle--icon[aria-pressed="false"] .password-toggle__hide, .password-toggle--icon[aria-pressed="true"] .password-toggle__show { display: none; }
.auth-register__password-rules { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.auth-register__password-rules li { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: #3f1a4009; color: #8b7186; font-size: .72rem; font-weight: 650; transition: background-color .2s ease, color .2s ease; }
.auth-register__password-rules i { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: #3f1a4014; color: transparent; font: normal 800 .6rem/1 var(--heading); }
.auth-register__password-rules li.is-met { background: #e7f8f0; color: #176a49; }
.auth-register__password-rules li.is-met i { background: #239367; color: #fff; }
.auth-register__password-strength i { color: transparent; }
.auth-register__password-strength strong { font-weight: 850; }
.auth-register__password-strength[data-strength="weak"] { background: #fff0f3; color: #a52052; }
.auth-register__password-strength[data-strength="weak"] i { background: #d93667; }
.auth-register__password-strength[data-strength="fair"] { background: #fff5d9; color: #795900; }
.auth-register__password-strength[data-strength="fair"] i { background: #d49b00; }
.auth-register__password-strength[data-strength="strong"] { background: #e7f8f0; color: #176a49; }
.auth-register__password-strength[data-strength="strong"] i { background: #239367; }
.auth-register__terms { margin-top: 8px; padding: 4px 0; border: 0; border-radius: 0; background: transparent; }
.auth-register__terms span { padding-top: 2px; color: #60405d; line-height: 1.45; }
.auth-register .wizard-actions { align-items: center; margin-top: auto; padding-top: 32px; }
.auth-register .wizard-actions .mc-button { min-width: 132px; }
.auth-register .wizard-actions .mc-button--line { border-width: 2px; }
.wizard-actions__hint { color: #92738d; font-size: .73rem; }
.auth-register .email-existing, .auth-register .auth-register__email-error { width: auto; max-width: none; margin: 4px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--danger); font-size: .82rem; font-weight: 650; line-height: 1.5; }
.auth-register .email-existing a { color: var(--pink); font-weight: 800; }

@keyframes auth-register-step-enter { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }

@media (prefers-reduced-motion: no-preference) {
    .auth-register__drawer-preview { animation: auth-register-card-float 7s ease-in-out infinite; }
}

@keyframes auth-register-card-float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(0); } }
@keyframes auth-register-stamp-change { 0% { opacity: .2; transform: scale(.65) rotate(-8deg); } 70% { transform: scale(1.12) rotate(2deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }

@media (max-width: 1000px) {
    .auth-register { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); }
    .auth-register__story { padding: clamp(88px, 11vh, 112px) 34px 28px; }
    .auth-register__story h1 { font-size: clamp(2.3rem, 4.6vw, 3.3rem); }
    .auth-register__story-copy > p { font-size: .9rem; }
    .auth-register__preview { width: min(100%, 325px); }
    .auth-register .auth-register__drawer-preview { min-height: 440px; padding: 14px 18px 18px; }
    .auth-register__form-panel { padding-inline: clamp(30px, 5vw, 54px); }
}

@media (max-width: 760px) {
    .auth-registration-body .auth-brand { top: 20px; left: 20px; }
    .auth-registration-body .auth-brand .brand { color: var(--plum); font-size: 1.2rem; }
    .auth-registration-body .auth-brand .brand__mark { box-shadow: 0 3px 0 var(--plum); }
    .auth-register { grid-template-columns: 1fr; }
    .auth-register__story { display: none; }
    .auth-register__form-panel { height: 100dvh; padding: 70px 20px 16px; }
    .auth-register__form-head { align-items: flex-start; margin-bottom: 14px; }
    .auth-register__form-head p { max-width: 132px; text-align: right; }
    .auth-register .wizard-progress { margin-bottom: 20px; }
    .auth-register .wizard-step { min-height: min(500px, calc(100dvh - 188px)); }
    .auth-register .wizard-step h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
    .auth-register .wizard-step > p { margin-top: 10px; font-size: .86rem; line-height: 1.45; }
    .auth-register .auth-form { gap: 10px; margin-top: 18px; }
    .auth-register .form-row { grid-template-columns: 1fr; }
    .auth-registration-body .form-field input:not([type="checkbox"], [type="radio"], [type="color"]), .auth-registration-body .form-field select { min-height: 52px; }
    .auth-register__terms { margin-top: 4px; padding: 10px; }
    .auth-register .wizard-actions { align-items: stretch; padding-top: 18px; }
    .wizard-actions__hint { margin-bottom: 3px; text-align: center; }
}

@media (min-width: 761px) and (max-height: 780px) {
    .auth-registration-body .auth-brand { top: 22px; }
    .auth-register__story { padding-top: 82px; padding-bottom: 24px; }
    .auth-register__story h1 { font-size: clamp(2.3rem, 3.5vw, 3.35rem); }
    .auth-register__story-copy > p { margin-top: 13px; font-size: .86rem; line-height: 1.45; }
    .auth-register__preview { width: min(100%, 310px); }
    .auth-register .auth-register__drawer-preview { min-height: 360px; padding: 11px 16px 14px; }
    .auth-register__drawer-preview .drawer-design-preview__logo { width: 58px; height: 58px; margin-top: 12px; border-radius: 14px; font-size: 1.15rem; }
    .auth-register__drawer-preview .drawer-design-preview__company { margin-top: 8px; }
    .auth-register__drawer-preview .drawer-design-preview__description { margin-top: 5px; }
    .auth-register__drawer-preview .drawer-design-preview__stamps { gap: 6px; margin-top: 10px; }
    .auth-register__drawer-preview .drawer-design-preview__stamps > span { width: 36px; height: 36px; }
    .auth-register__drawer-preview .drawer-design-preview__stamps > span.is-received::before { width: 26px; height: 26px; }
    .auth-register__drawer-preview .drawer-design-preview__button { min-height: 38px; }
    .auth-register__form-panel { padding-block: 22px 16px; }
    .auth-register__form-head { margin-bottom: 12px; }
    .auth-register .wizard-progress { margin-bottom: 17px; }
    .auth-register .wizard-step { min-height: min(455px, calc(100dvh - 170px)); }
    .auth-register .wizard-step h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
    .auth-register .wizard-step > p { margin-top: 9px; font-size: .86rem; line-height: 1.45; }
    .auth-register .auth-form { gap: 9px; margin-top: 18px; }
    .auth-registration-body .form-field input:not([type="checkbox"], [type="radio"], [type="color"]), .auth-registration-body .form-field select { min-height: 50px; }
    .auth-register__terms { margin-top: 2px; padding: 9px 11px; }
    .auth-register .wizard-actions { padding-top: 17px; }
}
.mc-alert { --mc-alert-accent: var(--berry); --mc-alert-soft: #fff1f8; position: relative; display: grid; min-height: 82px; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; align-items: start; margin: 0 0 18px; padding: 17px 16px 18px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--mc-alert-accent) 24%, white); border-radius: 18px; background: color-mix(in srgb, var(--mc-alert-soft) 78%, white); color: var(--ink); box-shadow: none; animation: mc-alert-enter .28s cubic-bezier(.2, .8, .2, 1) both; }
.mc-alert--dismissible { grid-template-columns: 44px minmax(0, 1fr) 34px; }
.mc-alert--success { --mc-alert-accent: #1b7d57; --mc-alert-soft: #ecfaf4; }
.mc-alert--error { --mc-alert-accent: #b3264f; --mc-alert-soft: #fff0f4; }
.mc-alert--warning { --mc-alert-accent: #a56300; --mc-alert-soft: #fff7df; }
.mc-alert--info { --mc-alert-accent: var(--berry); --mc-alert-soft: #fff0f8; }
.mc-alert__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--mc-alert-accent) 12%, white); color: var(--mc-alert-accent); }
.mc-alert__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.mc-alert__content { min-width: 0; padding-top: 1px; }
.mc-alert__title { display: block; color: var(--mc-alert-accent); font: 750 .95rem/1.25 var(--heading); letter-spacing: -.01em; }
.mc-alert__message { margin-top: 4px; color: #4e2b4d; font-size: .92rem; font-weight: 520; line-height: 1.45; }
.mc-alert__message p:last-child, .mc-alert__message ul:last-child { margin-bottom: 0; }
.mc-alert__errors { margin: 0; padding-left: 19px; }
.mc-alert__errors li + li { margin-top: 3px; }
.mc-alert__close { display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #6f526c; cursor: pointer; transition: background-color .16s ease, color .16s ease, transform .16s ease; }
.mc-alert__close:hover { background: color-mix(in srgb, var(--mc-alert-accent) 10%, white); color: var(--mc-alert-accent); }
.mc-alert__close:active { transform: scale(.92); }
.mc-alert__close:focus-visible { outline: 3px solid color-mix(in srgb, var(--mc-alert-accent) 25%, transparent); outline-offset: 2px; }
.mc-alert__close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.company-alert-stack { position: fixed; top: 90px; right: clamp(16px, 2.5vw, 38px); z-index: 1085; display: grid; width: min(440px, calc(100vw - 32px)); gap: 12px; pointer-events: none; }
.company-alert-stack .mc-alert { margin: 0; pointer-events: auto; }
@keyframes mc-alert-enter { from { opacity: 0; transform: translate3d(18px, -6px, 0) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 680px) {
    .download-membership-card--floating { transform: rotate(0); }
    .company-alert-stack { top: 80px; right: 12px; width: calc(100vw - 24px); }
    .mc-alert { min-height: 76px; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 15px 13px 17px; border-radius: 16px; }
    .mc-alert--dismissible { grid-template-columns: 40px minmax(0, 1fr) 32px; }
    .mc-alert__icon { width: 40px; height: 40px; border-radius: 12px; }
    .mc-alert__icon svg { width: 22px; height: 22px; }
    .mc-alert__message { font-size: .88rem; }
}

.dashboard-layout { display: grid; min-height: 100vh; grid-template-columns: 288px minmax(0, 1fr); transition: grid-template-columns .22s ease; }
.dashboard-sidebar { position: sticky; top: 0; z-index: 80; display: flex; height: 100vh; align-self: start; flex-direction: column; padding: 24px 17px 18px; overflow: hidden; background: linear-gradient(180deg, #260c2c 0%, var(--deep) 48%, #1d071f 100%); color: var(--white); box-shadow: 10px 0 30px #210b2712; }
.dashboard-sidebar__top { position: relative; display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 10px; padding-inline: 5px; }
.dashboard-sidebar .brand { color: var(--white); }
.dashboard-sidebar-collapse { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border: 1px solid #ffffff24; border-radius: 10px; background: #ffffff0b; color: #ffffffa6; cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .22s ease; }
.dashboard-sidebar-collapse:hover { background: #ffffff16; color: var(--white); }
.dashboard-sidebar-collapse:focus-visible { outline: 3px solid #ff6caf5c; outline-offset: 2px; }
.dashboard-sidebar-collapse svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.dashboard-sidebar__menu { min-height: 0; margin-top: 24px; flex: 1; overflow-y: auto; scrollbar-color: #ffffff2e transparent; scrollbar-width: thin; }
.dashboard-sidebar__footer { flex: 0 0 auto; padding: 13px 3px 0; border-top: 1px solid #ffffff14; }
.dashboard-mode-switch { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border: 0; background: transparent; color: var(--white); text-align: left; cursor: pointer; }
.dashboard-mode-switch:hover .dashboard-mode-switch__copy strong { color: #ff9bca; }
.dashboard-mode-switch:focus-visible { outline: 3px solid #ff6caf5c; outline-offset: 2px; }
.dashboard-mode-switch__copy { display: grid; min-width: 0; gap: 3px; }
.dashboard-mode-switch__copy strong { font: 750 .76rem/1.1 var(--heading); }
.dashboard-mode-switch__copy small { overflow: hidden; color: #ffffff7d; font-size: .62rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-mode-switch__control { position: relative; width: 38px; height: 22px; flex: 0 0 38px; border: 1px solid #ffffff2e; border-radius: 999px; background: #ffffff13; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.dashboard-mode-switch__control span { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #ffffffa8; box-shadow: 0 2px 5px #1204164d; transition: background-color .2s ease, transform .2s ease; }
.dashboard-sidebar.is-advanced-mode .dashboard-mode-switch__control { border-color: var(--pink); background: var(--pink); box-shadow: 0 0 0 3px #ff3d9717; }
.dashboard-sidebar.is-advanced-mode .dashboard-mode-switch__control span { background: var(--white); transform: translateX(16px); }
.dashboard-sidebar:not(.is-advanced-mode) [data-advanced-nav] { display: none; }
.dashboard-nav { display: grid; gap: 17px; padding: 2px 3px 20px; }
.dashboard-nav__group { display: grid; gap: 3px; }
.dashboard-nav .dashboard-nav__label { padding: 0 10px 7px; color: #ffffff69; font: 750 .65rem/1 var(--heading); letter-spacing: .12em; text-transform: uppercase; }
.dashboard-nav a, .dashboard-nav__submenu-toggle { position: relative; display: flex; width: 100%; min-width: 0; min-height: 41px; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #ffffffb8; font: 600 .88rem/1.2 var(--heading); text-align: left; cursor: pointer; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.dashboard-nav a:hover, .dashboard-nav__submenu-toggle:hover { border-color: #ffffff14; background: #ffffff0b; color: var(--white); transform: translateX(2px); }
.dashboard-nav a.is-active, .dashboard-nav__submenu-toggle.is-active { border: 0; background: linear-gradient(90deg, #ff3d9745 0%, #ff3d9726 38%, #ff3d9712 62%, transparent 86%); color: var(--white); box-shadow: inset 3px 0 0 var(--pink); }
.dashboard-nav a svg, .dashboard-nav__submenu-toggle svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.dashboard-nav a span, .dashboard-nav__submenu-toggle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-nav a::after, .dashboard-nav__submenu-toggle::after { pointer-events: none; }
.dashboard-nav__submenu-group { display: grid; }
.dashboard-nav__submenu-chevron { width: 15px !important; height: 15px !important; margin-left: auto; transition: transform .18s ease; }
.dashboard-nav__submenu-toggle[aria-expanded="true"] .dashboard-nav__submenu-chevron { transform: rotate(180deg); }
.dashboard-nav__submenu[hidden] { display: none; }
.dashboard-nav__submenu { display: grid; gap: 2px; margin: 3px 0 5px 20px; padding: 2px 0 2px 13px; border-left: 1px solid #ffffff1f; }
.dashboard-nav__submenu a { min-height: 34px; padding: 6px 9px; font-size: .78rem; }
.dashboard-nav__submenu a.is-active { box-shadow: inset 2px 0 0 var(--pink); }
.dashboard-shell { min-width: 0; }
.dashboard-header { position: sticky; top: 0; z-index: 60; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; padding: 10px clamp(22px, 4vw, 54px); border-bottom: 1px solid #3f1a4017; background: #fff8fcdb; backdrop-filter: blur(18px); }
.dashboard-header__left { display: flex; min-width: 0; align-items: center; gap: 13px; }
.dashboard-header__context { display: grid; min-width: 0; gap: 1px; }
.dashboard-header__context small { color: var(--berry); font-size: .64rem; font-weight: 650; }
.dashboard-header__context strong { overflow: hidden; color: var(--ink); font: 800 .86rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.dashboard-header__brand, .dashboard-menu-toggle { display: none; }
.dashboard-menu-toggle { width: 42px; height: 42px; flex: 0 0 42px; padding: 0; border: 1px solid #3f1a4028; border-radius: 13px; background: var(--white); cursor: pointer; box-shadow: 0 4px 12px #210b270d; }
.dashboard-menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 99px; background: var(--plum); }
.dashboard-account { position: relative; }
.dashboard-account__trigger { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 5px 7px 5px 5px; border: 1px solid transparent; border-radius: 15px; background: transparent; color: var(--ink); cursor: pointer; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.dashboard-account__trigger:hover, .dashboard-account__trigger[aria-expanded="true"] { border-color: #3f1a4023; background: var(--white); box-shadow: 0 8px 22px #210b2710; }
.dashboard-account__trigger:focus-visible { outline: 3px solid #ff3d9738; outline-offset: 2px; }
.dashboard-account__avatar { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; border: 2px solid var(--plum); border-radius: 13px; background: linear-gradient(145deg, var(--pink), #c92e81); color: var(--white); font: 900 .78rem/1 var(--heading); box-shadow: 0 3px 0 var(--plum); }
.dashboard-account__avatar.has-photo { border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
.dashboard-account__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-account__identity { display: grid; min-width: 0; gap: 1px; text-align: left; }
.dashboard-account__identity strong { overflow: hidden; max-width: 170px; font: 800 .78rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.dashboard-account__identity small { overflow: hidden; max-width: 170px; color: var(--berry); font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-account__chevron { width: 17px; height: 17px; fill: none; stroke: var(--berry); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform .18s ease; }
.dashboard-account__trigger[aria-expanded="true"] .dashboard-account__chevron { transform: rotate(180deg); }
.dashboard-account-menu { position: absolute; top: calc(100% + 9px); right: 0; z-index: 100; width: min(310px, calc(100vw - 28px)); padding: 9px; border: 1px solid #3f1a4028; border-radius: 19px; background: #fffdfef7; box-shadow: 0 22px 55px #210b272d; backdrop-filter: blur(20px); }
.dashboard-account-menu[hidden] { display: none; }
.dashboard-account-menu__profile { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 10px; }
.dashboard-account-menu__profile > span { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--plum); font: 900 .72rem/1 var(--heading); }
.dashboard-account-menu__avatar { overflow: hidden; }
.dashboard-account-menu__avatar.has-photo { border-radius: 50%; background: transparent; }
.dashboard-account-menu__avatar img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-account-menu__profile > div { display: grid; min-width: 0; gap: 2px; }
.dashboard-account-menu__profile strong, .dashboard-account-menu__profile small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-account-menu__profile strong { color: var(--ink); font: 800 .8rem/1.2 var(--heading); }
.dashboard-account-menu__profile small { color: var(--berry); font-size: .66rem; }
.dashboard-account-menu__links { display: grid; gap: 3px; padding-block: 7px; border-block: 1px solid #3f1a4017; }
.dashboard-account-menu a, .dashboard-account-menu form button { display: flex; width: 100%; min-height: 40px; align-items: center; gap: 10px; padding: 8px 10px; border: 0; border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer; font: 650 .76rem/1.2 var(--heading); text-align: left; transition: background-color .16s ease, color .16s ease; }
.dashboard-account-menu a:hover, .dashboard-account-menu form button:hover { background: var(--mist); color: var(--plum); }
.dashboard-account-menu a svg, .dashboard-account-menu form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.dashboard-account-menu form { margin-top: 7px; }
.dashboard-account-menu form button { color: #a52052; }
.dashboard-sidebar-backdrop { display: none; }
.dashboard-main { min-width: 0; padding: 30px clamp(22px, 4vw, 54px) 54px; }

@media (min-width: 1101px) {
    .dashboard-layout.is-sidebar-collapsed { grid-template-columns: 84px minmax(0, 1fr); }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar { padding-inline: 12px; overflow: visible; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar__top { justify-content: center; padding-inline: 0; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar__brand-text { display: none; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar-collapse { position: absolute; right: -27px; border-color: #3f1a4038; background: var(--white); color: var(--plum); box-shadow: 0 5px 15px #210b2724; transform: rotate(180deg); }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar-collapse:hover { background: var(--mist); }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar__menu { margin-top: 18px; overflow: visible; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar__footer { padding: 12px 0 0; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-mode-switch { position: relative; width: 48px; min-height: 44px; justify-content: center; margin-inline: auto; padding: 8px 5px; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-mode-switch__copy { display: none; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-mode-switch__control { width: 32px; height: 18px; flex-basis: 32px; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-mode-switch__control span { top: 2px; left: 2px; width: 12px; height: 12px; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-sidebar.is-advanced-mode .dashboard-mode-switch__control span { transform: translateX(14px); }
    .dashboard-layout.is-sidebar-collapsed .dashboard-mode-switch::after { position: absolute; top: 50%; left: calc(100% + 13px); z-index: 120; width: max-content; padding: 9px 11px; border: 1px solid #3f1a402b; border-radius: 10px; background: #fffdfef7; color: var(--ink); box-shadow: 0 10px 28px #210b2728; content: attr(data-tooltip); font: 700 .8rem/1.2 var(--heading); opacity: 0; pointer-events: none; transform: translate(-4px, -50%); transition: opacity .14s ease, transform .14s ease; backdrop-filter: blur(14px); }
    .dashboard-layout.is-sidebar-collapsed .dashboard-mode-switch:hover::after, .dashboard-layout.is-sidebar-collapsed .dashboard-mode-switch:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav { gap: 10px; padding-inline: 0; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav__group { gap: 3px; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav .dashboard-nav__label { display: none; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav a, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu-toggle { width: 48px; min-height: 42px; justify-content: center; margin-inline: auto; padding: 8px; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav a:hover, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu-toggle:hover { transform: none; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav a > span, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu-toggle > span, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu-chevron, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu { display: none; }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav a::after, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu-toggle::after { position: absolute; top: 50%; left: calc(100% + 13px); z-index: 120; width: max-content; max-width: 230px; padding: 9px 11px; border: 1px solid #3f1a402b; border-radius: 10px; background: #fffdfef7; color: var(--ink); box-shadow: 0 10px 28px #210b2728; content: attr(data-tooltip); font: 700 .8rem/1.2 var(--heading); opacity: 0; transform: translate(-4px, -50%); transition: opacity .14s ease, transform .14s ease; backdrop-filter: blur(14px); }
    .dashboard-layout.is-sidebar-collapsed .dashboard-nav a:hover::after, .dashboard-layout.is-sidebar-collapsed .dashboard-nav a:focus-visible::after, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu-toggle:hover::after, .dashboard-layout.is-sidebar-collapsed .dashboard-nav__submenu-toggle:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
}
.dashboard-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.dashboard-top h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
.dashboard-top p { color: var(--berry); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.dashboard-stat { padding: 21px; border: 2px solid var(--plum); border-radius: 18px; background: var(--white); box-shadow: 0 4px 0 var(--plum); }
.dashboard-stat--pink { background: var(--pink); color: var(--white); }
.dashboard-stat strong { display: block; font: 900 2.3rem/1 var(--heading); letter-spacing: -.05em; }
.dashboard-stat span { display: block; margin-top: 8px; font-size: .84rem; font-weight: 600; }
.dashboard-panel { margin-top: 28px; padding: 24px; border: 2px solid #3f1a4033; border-radius: 22px; background: var(--white); }
.dashboard-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.activity-list { display: grid; gap: 8px; }
.activity-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid #3f1a401a; }
.activity-item:last-child { border-bottom: 0; }
.activity-item small { color: var(--berry); }
.empty-state { padding: 36px 20px; text-align: center; }
.empty-state__icon { display: grid; width: 48px; height: 48px; margin: 0 auto 14px; place-items: center; border-radius: 14px; background: var(--mist); color: var(--pink); font-size: 1.5rem; }
.empty-state p { max-width: 480px; margin: 10px auto 0; color: var(--berry); }
.empty-state__action { margin-top: 18px; }
.dashboard-panel > .table-shell { width: calc(100% + 48px); margin: 0 -24px -24px; border: 0; border-top: 1px solid #3f1a401f; border-radius: 0 0 20px 20px; }
.dashboard-panel > .table-shell:only-child { margin-top: -24px; border-top: 0; border-radius: 20px; }
.table-shell { overflow: hidden; border: 1px solid #3f1a4024; border-radius: 16px; background: var(--white); }
.table-shell table { width: 100%; border-collapse: collapse; --bs-table-bg: transparent; --bs-table-color: var(--ink); --bs-table-hover-bg: #fff3f8; }
.table-shell th, .table-shell td { padding: 15px 17px; border-bottom: 1px solid #3f1a4012; text-align: left; }
.table-shell td strong { color: var(--ink); font-family: var(--heading); font-weight: 750; }
.table-shell td small { color: var(--berry); line-height: 1.35; }
.table-shell .dt-container { color: var(--plum); font-size: .9rem; }
.table-shell .dt-container > .row { --bs-gutter-x: 0; --bs-gutter-y: 0; align-items: center; margin: 0 !important; padding: 17px 20px; gap: 12px 0; }
.table-shell .dt-container > .row:first-child { min-height: 78px; border-bottom: 1px solid #3f1a4017; border-radius: 15px 15px 0 0; background: var(--white); }
.table-shell .dt-container > .row:last-child { min-height: 76px; padding-block: 18px 20px; border-top: 1px solid #3f1a4017; border-radius: 0 0 15px 15px; background: #fffafd; }
.table-shell .dt-container > .row.dt-layout-table { min-height: 0; padding: 0; border: 0; background: var(--white); }
.table-shell .dt-container > .row.dt-layout-table > * { padding-inline: 0 !important; }
.table-shell .dt-layout-start, .table-shell .dt-layout-end { display: flex; align-items: center; }
.table-shell .dt-layout-end { justify-content: flex-end; }
.table-shell .dt-search { position: relative; text-align: left !important; }
.table-shell .dt-search label { display: block; width: min(320px, 44vw); }
.table-shell .dt-length { display: inline-flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--berry); font-size: .78rem; font-weight: 650; }
.table-shell .dt-length label { margin: 0; white-space: nowrap; }
.table-shell .dt-length select, .table-shell .dt-search input { min-height: 44px; border: 1.5px solid #3f1a4038; border-radius: 13px; background-color: #fffafd; color: var(--plum); box-shadow: none; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.table-shell .dt-length select { width: 78px; margin: 0 !important; padding-inline: 13px 34px; background-color: var(--white); font-weight: 700; }
.table-shell .dt-search input { width: 100%; margin: 0 !important; padding: 10px 14px 10px 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237a1b5c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); background-position: 14px center; background-repeat: no-repeat; }
.table-shell .dt-search input::placeholder { color: #7a1b5c99; }
.table-shell .dt-length select:hover, .table-shell .dt-search input:hover { border-color: #7a1b5c70; background-color: var(--white); }
.table-shell .dt-length select:focus, .table-shell .dt-search input:focus { border-color: var(--pink); background-color: var(--white); box-shadow: 0 0 0 4px #ff3d971a; }
.table-shell table.dataTable { width: 100% !important; margin: 0 !important; --dt-order-arrow_color: var(--berry); --dt-order-arrow_color-current: var(--pink); --dt-order-arrow_opacity: .24; --dt-order-arrow_opacity-current: 1; }
.table-shell table.dataTable > thead > tr > th { padding: 14px 34px 14px 17px; border-bottom: 1px solid #3f1a402b; background: #fff4f9; color: var(--berry); font: 750 .72rem/1.25 var(--heading); letter-spacing: .07em; text-transform: uppercase; }
.table-shell table.dataTable > tbody > tr { transition: background-color .14s ease; }
.table-shell table.dataTable > tbody > tr:last-child > td { border-bottom: 0; }
.table-shell table.dataTable > thead > tr > th.dt-orderable-none { padding-right: 17px; }
.table-shell table.dataTable thead .dt-column-order { color: var(--pink); opacity: .35; }
.table-shell table.dataTable thead th.dt-ordering-asc .dt-column-order, .table-shell table.dataTable thead th.dt-ordering-desc .dt-column-order { opacity: 1; }
.table-shell .dt-info { padding: 0 !important; color: var(--berry); font-size: .78rem; font-weight: 650; }
.table-shell .pagination { align-items: center; gap: 8px; margin: 0 !important; padding: 2px 0; }
.table-shell .pagination .page-link { display: grid; min-width: 38px; min-height: 38px; padding: 8px 11px; place-items: center; border: 1px solid transparent; border-radius: 11px !important; background: transparent; color: var(--berry); box-shadow: none; font: 750 .82rem/1 var(--heading); transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease; }
.table-shell .pagination .page-link:hover { border-color: #3f1a4026; background: var(--mist); color: var(--plum); }
.table-shell .pagination .active > .page-link { border-color: var(--pink); background: var(--pink); color: var(--white); box-shadow: 0 3px 0 var(--plum); transform: translateY(-1px); }
.table-shell .pagination .disabled > .page-link { background: transparent; color: #7a1b5c55; }
.table-shell .dt-container.is-single-page .dt-paging, .table-shell .dt-container.is-single-page .dt-layout-end:has(> .dt-paging) { display: none !important; }
.table-shell table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before { display: inline-grid; width: 22px; height: 22px; margin-right: 9px; place-items: center; border: 1px solid #ff3d9745; border-radius: 50%; background: var(--mist); color: var(--pink); content: "+"; font: 800 1rem/1 var(--heading); vertical-align: -2px; }
.table-shell table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control::before { border-color: var(--pink); background: var(--pink); color: var(--white); content: "−"; }
.table-shell table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:focus-visible { outline: 2px solid var(--pink); outline-offset: -3px; box-shadow: inset 0 0 0 5px #ff3d9714; }
.table-shell table.dataTable > tbody > tr.child > td { padding: 10px 18px 18px; background: #fffafd; }
.table-shell table.dataTable > tbody > tr.child ul.dtr-details { display: block; width: 100%; overflow: hidden; border: 1px solid #3f1a401c; border-radius: 13px; background: var(--white); }
.table-shell table.dataTable > tbody > tr.child ul.dtr-details > li { display: grid; grid-template-columns: minmax(135px, .42fr) 1fr; gap: 12px; padding: 11px 13px; border-bottom: 1px solid #3f1a4012; }
.table-shell table.dataTable > tbody > tr.child ul.dtr-details > li:last-child { border-bottom: 0; }
.table-shell .dtr-title { color: var(--berry); font: 700 .68rem/1.35 var(--heading); letter-spacing: .045em; text-transform: uppercase; }
.table-shell .dtr-data { min-width: 0; color: var(--ink); }
.table-shell .dtr-data .team-inline-form, .table-shell .dtr-data .table-actions { flex-wrap: wrap; }
.mc-modal { width: min(100% - 32px, 520px); padding: 24px; border: 2px solid var(--plum); border-radius: 22px; box-shadow: 0 7px 0 var(--plum); }
.mc-modal::backdrop { background: #1c0720a8; }
.mc-modal__header, .mc-modal__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mc-modal__header button { border: 0; background: transparent; font-size: 2rem; }
.mc-modal__header button { -webkit-tap-highlight-color: transparent; }
.mc-modal__header button:focus { outline: 0; }
.mc-modal__header button:focus-visible { outline: 0; box-shadow: 0 0 0 3px #ff3d9726; }
.mc-modal__actions { justify-content: flex-end; margin-top: 24px; }
.location-page { display: grid; gap: 24px; }
.location-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.location-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.location-hero > * { position: relative; z-index: 1; }
.location-hero__copy { display: grid; max-width: 700px; gap: 8px; }
.location-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.location-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.location-hero p { max-width: 670px; color: #ffffffc9; font-size: 1rem; line-height: 1.5; }
.location-hero__aside { display: flex; min-width: 190px; align-items: stretch; flex-direction: column; gap: 12px; }
.location-hero__aside .mc-button { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.location-hero__aside .mc-button:hover { border-color: var(--white); background: #fff4f9; color: var(--plum); }
.location-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.location-summary__card { --location-card-accent: var(--pink); --location-card-surface: #fff7fb; position: relative; display: flex; min-width: 0; min-height: 148px; flex-direction: column; gap: 8px; padding: 19px 20px; overflow: hidden; border: 1px solid #3f1a4020; border-radius: 20px; background: linear-gradient(145deg, var(--white), var(--location-card-surface)); }
.location-summary__card::after { position: absolute; right: -42px; bottom: -56px; width: 124px; height: 124px; border: 19px solid color-mix(in srgb, var(--location-card-accent) 8%, transparent); border-radius: 50%; content: ""; pointer-events: none; }
.location-summary__card > * { position: relative; z-index: 1; }
.location-summary__card > span { display: flex; align-items: center; gap: 8px; color: var(--berry); font: 820 .69rem/1.2 var(--heading); letter-spacing: .07em; text-transform: uppercase; }
.location-summary__card > span::before { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--location-card-accent); content: ""; }
.location-summary__card > strong { margin-top: auto; color: var(--ink); font: 900 2rem/1 var(--heading); letter-spacing: -.045em; }
.location-summary__card > small { color: var(--berry); font-size: .75rem; line-height: 1.35; }
.location-summary__card--total { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #6b285f); box-shadow: 0 4px 0 #260e25; }
.location-summary__card--total::after { border-color: #ffffff0b; }
.location-summary__card--total > span, .location-summary__card--total > strong, .location-summary__card--total > small { color: var(--white); }
.location-summary__card--total > span::before { background: var(--white); }
.location-summary__card--active { --location-card-accent: #20835a; --location-card-surface: #f0faf5; }
.location-summary__card--inactive { --location-card-accent: #846f80; --location-card-surface: #f7f4f6; }
.location-index-panel { margin-top: 0; overflow: visible; padding: 0; border-width: 1px; border-radius: 24px; box-shadow: 0 12px 32px #210b270b; }
.location-index-panel__head { min-height: 104px; margin: 0; padding: 23px 25px; border-bottom: 1px solid #3f1a4018; border-radius: 23px 23px 0 0; background: linear-gradient(120deg, #fff 0%, #fff7fb 100%); }
.location-index-heading { display: flex; min-width: 0; align-items: center; gap: 14px; }
.location-index-heading > span, .location-empty-state > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #ff3d9738; border-radius: 15px; background: var(--mist); color: var(--pink); }
.location-index-heading > span svg, .location-empty-state > span svg, .location-table-identity > span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.location-index-heading > div { display: grid; min-width: 0; gap: 3px; }
.location-index-heading small { color: var(--pink); font: 820 .67rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.location-index-heading h2 { color: var(--ink); font-size: 1.4rem; letter-spacing: -.02em; }
.location-index-heading p { color: var(--berry); font-size: .8rem; line-height: 1.4; }
.location-index-panel > .table-shell { width: 100%; margin: 0; border: 0; border-radius: 0 0 23px 23px; }
.location-empty-state { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; min-height: 168px; padding: 28px; align-items: center; }
.location-empty-state > span { width: 52px; height: 52px; flex-basis: 52px; border-radius: 16px; }
.location-empty-state > div { display: grid; gap: 5px; }
.location-empty-state strong { color: var(--ink); font: 800 1rem/1.25 var(--heading); }
.location-empty-state p { max-width: 650px; color: var(--berry); font-size: .82rem; line-height: 1.5; }
.location-table-identity { display: flex; min-width: 180px; align-items: center; gap: 12px; }
.location-table-identity > span { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--pink); }
.location-table-identity > span svg { width: 21px; height: 21px; }
.location-table-identity > div, .location-table-address { display: grid; min-width: 0; gap: 3px; }
.location-table-identity strong, .location-table-address strong { color: var(--ink); font: 800 .88rem/1.25 var(--heading); }
.location-table-identity small, .location-table-address small { color: var(--berry); font-size: .7rem; line-height: 1.35; }
.location-table-address { min-width: 230px; max-width: 420px; }
.location-table-address strong { font-weight: 700; }
.location-state { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 750 .7rem/1 var(--heading); }
.location-state::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.location-state--active { background: #e8f7f0; color: #18734c; }
.location-state--inactive { background: #f2eef1; color: #766675; }
.location-editor-page { display: grid; min-width: 0; gap: 24px; }
.location-editor-hero { position: relative; display: grid; min-height: 268px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 34px; padding: 36px 38px 78px; overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 83% 15%, #ff74b541 0 7%, transparent 28%), linear-gradient(135deg, #2b0c29 0%, #612055 60%, #962869 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.location-editor-hero::after { position: absolute; right: -112px; bottom: -190px; width: 390px; height: 390px; border: 64px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.location-editor-hero > * { position: relative; z-index: 1; }
.location-editor-hero__copy { display: grid; max-width: 760px; justify-items: start; }
.location-editor-hero__back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; color: #ffd8e9; font: 750 .78rem/1 var(--heading); }
.location-editor-hero__back:hover { color: var(--white); }
.location-editor-hero__back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.location-editor-hero__eyebrow { color: #ff9cca; font: 850 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.location-editor-hero h1 { margin-top: 9px; color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.85rem); line-height: .98; letter-spacing: -.055em; }
.location-editor-hero__copy > p { max-width: 690px; margin-top: 15px; color: #ffffffc9; font-size: .98rem; line-height: 1.55; }
.location-editor-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 17px; color: #ffffffbd; font-size: .78rem; }
.location-editor-hero__meta .location-state--active { background: #dff8eb; color: #126943; }
.location-editor-hero__meta .location-state--inactive { background: #ffffff1c; color: var(--white); }
.location-editor-hero__actions { display: flex; min-width: 210px; align-items: center; justify-content: flex-end; gap: 10px; }
.location-editor-hero__actions .mc-button { white-space: nowrap; }
.dashboard-body .location-editor-hero__actions .mc-button--line:not(.mc-button--sm) { border-color: var(--white); background: #ffffff1b; color: var(--white); box-shadow: none; }
.dashboard-body .location-editor-hero__actions .mc-button--line:not(.mc-button--sm):hover { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.location-editor-hero__actions .mc-button--pink { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.location-editor-hero__actions .mc-button--pink:hover { border-color: var(--white); background: #fff0f7; color: var(--plum); }
.location-editor-hero__actions .page-danger-menu__trigger { border-color: #ffffff52; background: #ffffff0d; color: var(--white); box-shadow: none; }
.location-editor-hero__actions .page-danger-menu__trigger:hover { border-color: var(--white); background: #ffffff18; color: var(--white); }
.location-editor-steps { position: sticky; z-index: 55; top: 84px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: -66px 24px 0; overflow: hidden; border: 1px solid #3f1a4024; border-radius: 21px; background: #fffffff7; box-shadow: 0 16px 38px #21072520; backdrop-filter: blur(14px); }
.location-editor-steps > a { display: grid; min-width: 0; min-height: 92px; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 18px 20px; border-right: 1px solid #3f1a4018; color: inherit; transition: background-color .18s ease, color .18s ease; }
.location-editor-steps > a:last-child { border-right: 0; }
.location-editor-steps > a:hover { background: #fff4f9; }
.location-editor-steps > a > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--plum); color: var(--white); font: 900 .86rem/1 var(--heading); box-shadow: 0 3px 0 #230c25; }
.location-editor-steps > a > span:last-child { display: grid; min-width: 0; gap: 4px; }
.location-editor-steps strong { color: var(--ink); font: 820 .86rem/1.2 var(--heading); }
.location-editor-steps small { overflow: hidden; color: var(--berry); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.location-editor-steps > a.is-active { background: linear-gradient(145deg, #fff0f7, #fffafd); box-shadow: inset 0 -4px 0 var(--pink); }
.location-editor-steps > a.is-active > span:first-child { background: var(--pink); box-shadow: 0 3px 0 var(--plum); }
.location-editor-steps > a.is-active strong { color: var(--plum); }
.location-editor-steps > a.is-active small { color: var(--pink); }
.location-editor { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .58fr); gap: 22px; align-items: start; }
.location-editor__main { display: grid; min-width: 0; gap: 22px; }
.location-editor__aside { position: sticky; top: 96px; display: grid; min-width: 0; gap: 18px; }
.location-editor__anchor { scroll-margin-top: 194px; }
.location-editor__card { overflow: hidden; border: 1px solid #3f1a4024; border-radius: 24px; background: var(--white); box-shadow: 0 14px 36px #210b270c; }
.location-editor__section-head { display: flex; min-width: 0; align-items: flex-start; gap: 15px; padding: 25px 28px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff6fa 100%); }
.location-editor__section-head > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 2px solid var(--plum); border-radius: 15px; background: var(--pink); color: var(--white); font: 900 .92rem/1 var(--heading); box-shadow: 0 3px 0 var(--plum); }
.location-editor__section-head > span svg, .location-tool-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.location-editor__section-head > div { min-width: 0; }
.location-editor__section-head small { color: var(--pink); font: 820 .7rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.location-editor__section-head h2 { margin-top: 6px; color: var(--ink); font-size: 1.42rem; }
.location-editor__section-head p { max-width: 620px; margin-top: 6px; color: var(--berry); font-size: .88rem; line-height: 1.5; }
.location-editor__section-head--compact { padding: 24px; }
.location-editor__section-head--compact > span { width: 44px; height: 44px; flex-basis: 44px; }
.location-editor__section-head--compact h2 { font-size: 1.25rem; }
.location-editor__fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 21px 18px; padding: 28px; }
.location-editor__field { min-width: 0; grid-column: span 6; }
.location-editor__field--full { grid-column: 1 / -1; }
.location-editor__field--postal-code { grid-column: span 4; }
.location-editor__field--city { grid-column: span 8; }
.location-editor__fields .form-field { margin: 0 !important; }
.location-editor__fields .form-label { margin-bottom: 8px; color: var(--ink); font: 760 .82rem/1.2 var(--heading); }
.location-editor__fields .form-control { min-height: 52px; padding: 12px 14px; border-width: 1.5px; border-color: #7a1b5c50; border-radius: 14px; background: #fffdfd; font-size: .92rem; }
.location-editor__fields .form-control:focus { border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 4px #ff3d9717; }
.location-editor__field-help { margin-top: 7px; color: var(--berry); font-size: .75rem; line-height: 1.45; }
.location-editor__map-card { overflow: visible; }
.location-editor__map-head { border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff5fa 100%); }
.location-editor__map-head .location-editor__section-head { border-bottom: 0; background: transparent; }
.location-map-actions { display: flex; flex-wrap: wrap; gap: 9px; padding: 0 28px 22px 91px; }
.location-tool-button { display: inline-flex; min-height: 43px; align-items: center; gap: 8px; padding: 9px 14px; border: 2px solid #3f1a4038; border-radius: 12px; background: var(--white); color: var(--plum); font: 750 .86rem/1 var(--heading); transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease; }
.location-tool-button svg { width: 18px; height: 18px; }
.location-tool-button:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-1px); }
.location-tool-button:focus-visible { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d9720; }
.location-tool-button:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.location-tool-button.is-loading svg { animation: location-tool-pulse .8s ease-in-out infinite alternate; }
.location-geolocation-status { margin: -10px 28px 20px 91px; color: var(--berry); font-size: .78rem; font-weight: 650; line-height: 1.45; }
.location-geolocation-status.is-loading { color: var(--violet); }
.location-geolocation-status.is-success { color: #18734c; }
.location-geolocation-status.is-error { color: var(--danger); }
.location-map-shell { position: relative; height: clamp(380px, 38vw, 480px); min-height: 380px; margin: 20px 20px 0; overflow: hidden; border: 2px solid var(--plum); border-radius: 20px; background: #f8e9f1; box-shadow: 0 5px 0 var(--plum); isolation: isolate; }
.location-map { width: 100%; height: 100%; min-height: 380px; background: #f3e7ee; }
.location-map:focus-visible { outline: 4px solid #ff3d9736; outline-offset: -4px; }
.location-map.is-unavailable { background: linear-gradient(145deg, #fff3f8, #f1dfe9); }
.location-map-loading { position: absolute; inset: 0; z-index: 600; display: grid; place-items: center; align-content: center; gap: 12px; background: #fff8fce8; color: var(--berry); text-align: center; transition: opacity .2s ease, visibility .2s ease; }
.location-map-loading > span:first-child { width: 30px; height: 30px; border: 3px solid #ff3d9730; border-top-color: var(--pink); border-radius: 50%; animation: location-map-spin .8s linear infinite; }
.location-map-loading strong { color: var(--ink); font: 800 .96rem/1.3 var(--heading); }
.location-map-loading.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.location-map-loading.is-error { padding: 28px; background: #fff5f8; }
.location-map-loading.is-error > span { width: auto; height: auto; max-width: 440px; border: 0; border-radius: 0; animation: none; color: var(--berry); }
.location-map-feedback { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 20px 23px 22px; }
.location-map-feedback__mark { display: block; width: 13px; height: 13px; border: 3px solid var(--white); border-radius: 50%; background: #c4aab8; box-shadow: 0 0 0 1px #3f1a4030; }
.location-map-feedback__mark.is-confirmed { background: #20a36b; box-shadow: 0 0 0 1px #16845148, 0 0 0 6px #20a36b16; }
.location-map-feedback__mark.is-warning { background: #c62c58; box-shadow: 0 0 0 1px #a6224f48, 0 0 0 6px #c62c5814; }
.location-map-feedback__mark.is-loading { background: var(--pink); animation: location-tool-pulse .8s ease-in-out infinite alternate; }
.location-map-feedback > div { display: grid; min-width: 0; gap: 3px; }
.location-map-feedback strong { color: var(--ink); font: 800 .94rem/1.2 var(--heading); }
.location-map-feedback output { overflow: hidden; color: var(--berry); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.location-map-external { color: var(--berry); font: 750 .82rem/1.2 var(--heading); text-decoration: underline; text-decoration-color: #7a1b5c50; text-underline-offset: 4px; }
.location-map-external:hover { color: var(--pink); }
.location-map-external.is-disabled { cursor: default; opacity: .45; pointer-events: none; }
.location-map-errors { display: grid; gap: 2px; padding: 0 23px 22px; }
.location-map .leaflet-control-zoom { overflow: hidden; border: 2px solid var(--plum); border-radius: 13px; box-shadow: 0 4px 0 var(--plum); }
.location-map .leaflet-control-zoom a { display: grid; width: 38px; height: 38px; place-items: center; border-bottom-color: #3f1a4020; background: var(--white); color: var(--plum); font: 700 1.25rem/38px var(--heading); }
.location-map .leaflet-control-zoom a:hover { background: var(--mist); color: var(--pink); }
.location-map .leaflet-control-attribution { margin: 0 8px 7px 0; padding: 3px 7px; border-radius: 8px; background: #ffffffde; color: var(--berry); font-size: .66rem; }
.location-map .leaflet-control-attribution a { color: var(--berry); text-decoration: underline; }
.leaflet-marker-icon.location-map-marker-wrap { border: 0; background: transparent; }
.location-map-marker { position: relative; display: grid; width: 36px; height: 36px; place-items: center; border: 3px solid var(--plum); border-radius: 50% 50% 50% 8px; background: var(--pink); box-shadow: 0 5px 0 var(--plum), 0 10px 18px #2a0e2e3b; transform: rotate(-45deg); }
.location-map-marker > span { width: 12px; height: 12px; border-radius: 50%; background: var(--white); transform: rotate(45deg); }
.location-settings-card { overflow: hidden; }
.location-setting-divider { height: 1px; margin-inline: 24px; background: #3f1a4018; }
.location-active-setting { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px; cursor: pointer; }
.location-active-setting__copy { display: grid; gap: 4px; }
.location-active-setting__copy strong { color: var(--ink); font: 800 .94rem/1.2 var(--heading); }
.location-active-setting__copy small { color: var(--berry); font-size: .8rem; line-height: 1.45; }
.location-active-setting input[type="checkbox"] { margin-top: 2px; }
.location-editor__tip { display: flex; gap: 13px; padding: 19px; border-color: #ff3d9735; background: #fff4f9; box-shadow: none; }
.location-editor__tip > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; background: var(--pink); color: var(--white); font: 900 .88rem/1 var(--heading); }
.location-editor__tip > div { display: grid; gap: 4px; }
.location-editor__tip strong { color: var(--ink); font: 800 .88rem/1.25 var(--heading); }
.location-editor__tip p { color: var(--berry); font-size: .79rem; line-height: 1.45; }
.location-editor__actions { position: sticky; z-index: 25; bottom: 10px; display: flex; grid-column: 1 / -1; align-items: center; justify-content: flex-end; gap: 9px; margin-top: -4px; padding: 13px; border: 1px solid #3f1a4024; border-radius: 17px; background: #fffafded; box-shadow: 0 10px 30px #210b2714; backdrop-filter: blur(16px); }
.location-editor.is-submitting .location-editor__actions .mc-button, .location-editor-hero__actions [data-location-submit]:disabled { pointer-events: none; opacity: .68; }

@keyframes location-map-spin { to { transform: rotate(360deg); } }
@keyframes location-tool-pulse { to { opacity: .38; } }

@media (max-width: 1120px) {
    .location-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .location-editor { grid-template-columns: 1fr; }
    .location-editor__aside { position: static; grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr); }
}

@media (max-width: 840px) {
    .location-editor-hero { min-height: 0; grid-template-columns: 1fr; align-items: start; padding-bottom: 78px; }
    .location-editor-hero__actions { min-width: 0; justify-content: flex-start; }
}

@media (max-width: 680px) {
    .location-page { gap: 20px; }
    .location-hero { min-height: 0; align-items: stretch; flex-direction: column; padding: 27px 21px; }
    .location-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .location-hero__aside { width: 100%; min-width: 0; }
    .location-summary__card { min-height: 132px; padding: 17px; }
    .location-index-panel__head { min-height: 0; padding: 20px; }
    .location-index-heading { align-items: flex-start; }
    .location-index-heading > span { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; }
    .location-empty-state { grid-template-columns: 46px minmax(0, 1fr); padding: 22px 20px; }
    .location-empty-state > span { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; }
    .location-empty-state .mc-button { width: 100%; grid-column: 1 / -1; }
    .location-editor-page { gap: 20px; }
    .location-editor-hero { gap: 25px; padding: 27px 21px 70px; border-radius: 24px; }
    .location-editor-hero__back { margin-bottom: 19px; }
    .location-editor-hero h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
    .location-editor-hero__copy > p { font-size: .9rem; }
    .location-editor-hero__actions { display: flex; width: 100%; }
    .location-editor-hero__actions .mc-button--line { flex: 1; }
    .location-editor-steps { top: 76px; margin: -58px 10px 0; border-radius: 18px; }
    .location-editor-steps > a { min-height: 88px; grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 12px 8px; text-align: center; }
    .location-editor-steps > a > span:first-child { width: 34px; height: 34px; border-radius: 11px; font-size: .76rem; }
    .location-editor-steps strong { font-size: .7rem; }
    .location-editor-steps small { display: none; }
    .location-editor__fields, .location-editor__aside { grid-template-columns: 1fr; }
    .location-editor__section-head, .location-editor__section-head--compact { padding: 21px; }
    .location-editor__section-head > span { width: 43px; height: 43px; flex-basis: 43px; }
    .location-editor__section-head h2 { font-size: 1.25rem; }
    .location-editor__section-head p { font-size: .87rem; }
    .location-editor__fields { gap: 16px; padding: 21px; }
    .location-editor__field, .location-editor__field--full, .location-editor__field--postal-code, .location-editor__field--city { grid-column: 1 / -1; }
    .location-map-actions { display: grid; grid-template-columns: 1fr; padding: 0 21px 19px; }
    .location-tool-button { justify-content: center; }
    .location-geolocation-status { margin: -7px 21px 18px; text-align: center; }
    .location-map-shell { height: 420px; min-height: 360px; margin: 13px 13px 0; border-radius: 17px; }
    .location-map { min-height: 360px; }
    .location-map-feedback { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
    .location-map-feedback output { white-space: normal; }
    .location-map-external { grid-column: 2; justify-self: start; }
    .location-map-errors { padding: 0 18px 18px; }
    .location-editor__tip { grid-row: auto; }
    .location-editor__actions { position: static; align-items: stretch; flex-direction: column-reverse; }
    .location-editor__actions .mc-button { width: 100%; }
}

.developer-overview { display: grid; min-width: 0; gap: 24px; }
.developer-overview > * { min-width: 0; }
.developer-overview__hero { position: relative; display: grid; min-height: 365px; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: center; gap: clamp(32px, 6vw, 82px); padding: clamp(30px, 5vw, 58px); overflow: hidden; border: 1px solid #ffffff20; border-radius: 30px; background: linear-gradient(135deg, #210725 0%, #401640 52%, #702557 100%); color: var(--white); box-shadow: 0 22px 58px #21072524; }
.developer-overview__hero::after { position: absolute; width: 370px; height: 370px; right: -150px; bottom: -235px; border: 70px solid #ff3d9724; border-radius: 50%; content: ""; }
.developer-overview__hero-copy { position: relative; z-index: 1; min-width: 0; }
.developer-overview__eyebrow { display: flex; align-items: center; gap: 9px; color: #ffd0e6; font: 750 .73rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.developer-overview__eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #50d79b; box-shadow: 0 0 0 5px #50d79b22; }
.developer-overview__hero h1 { max-width: 720px; margin-top: 18px; color: var(--white); font-size: clamp(2.35rem, 4vw, 4.2rem); line-height: .98; letter-spacing: -.045em; }
.developer-overview__hero-copy > p { max-width: 660px; margin-top: 20px; color: #f5ddea; font-size: 1.05rem; line-height: 1.65; }
.developer-overview__hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.developer-overview__hero-actions .mc-button--line { border-color: #ffffff55 !important; background: #ffffff10 !important; color: var(--white) !important; }
.developer-overview__hero-actions .mc-button--line:hover { border-color: var(--white) !important; background: #ffffff1d !important; }
.developer-overview__terminal { position: relative; z-index: 1; min-width: 0; overflow: hidden; border: 1px solid #ffffff26; border-radius: 22px; background: #160519dd; box-shadow: 0 24px 55px #1002134d; }
.developer-overview__terminal header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; border-bottom: 1px solid #ffffff15; background: #ffffff0b; }
.developer-overview__terminal header > div { display: flex; gap: 6px; }
.developer-overview__terminal header i { width: 8px; height: 8px; border-radius: 50%; background: #ff6da8; }
.developer-overview__terminal header i:nth-child(2) { background: #ffc75b; }
.developer-overview__terminal header i:nth-child(3) { background: #50d79b; }
.developer-overview__terminal header span { color: #d8b9cf; font: 650 .7rem/1 var(--heading); }
.developer-overview__terminal header b { padding: 5px 8px; border-radius: 8px; background: #ff3d9720; color: #ff83b9; font: 750 .65rem/1 var(--heading); }
.developer-overview__terminal > div { display: grid; min-width: 0; gap: 11px; padding: 24px; color: #f9eefa; font: 500 .78rem/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; }
.developer-overview__terminal > div strong, .developer-overview__terminal > div code, .developer-overview__terminal > div span { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.developer-overview__terminal .terminal-comment { color: #95728e; }
.developer-overview__terminal .terminal-method { display: inline-flex; width: fit-content; margin-top: 7px; padding: 4px 7px; border-radius: 7px; background: #50d79b20; color: #70edb6; font-weight: 800; }
.developer-overview__terminal .terminal-header { color: #d7b2cb; }
.developer-overview__terminal .terminal-response { display: flex; width: fit-content; align-items: center; gap: 7px; margin-top: 5px; padding: 7px 10px; border-radius: 9px; background: #ffffff0a; color: #70edb6; }
.developer-overview__terminal .terminal-response i { color: #f9eefa; font-style: normal; }

.developer-overview__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.developer-kpi { position: relative; display: grid; min-width: 0; min-height: 190px; align-content: start; padding: 22px; overflow: hidden; border: 1px solid #3f1a401d; border-radius: 22px; background: var(--white); box-shadow: 0 12px 32px #210b270c; }
.developer-kpi::after { position: absolute; width: 95px; height: 95px; right: -36px; bottom: -46px; border-radius: 50%; background: var(--mist); content: ""; }
.developer-kpi__icon { display: grid; width: 39px; height: 39px; place-items: center; margin-bottom: 20px; border-radius: 12px; background: var(--mist); color: var(--plum); }
.developer-kpi__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-kpi > span { color: var(--berry); font: 750 .7rem/1 var(--heading); letter-spacing: .07em; text-transform: uppercase; }
.developer-kpi > strong { margin-top: 9px; color: var(--ink); font: 800 2.45rem/1 var(--heading); letter-spacing: -.04em; }
.developer-kpi > strong em { color: var(--berry); font-size: .92rem; font-style: normal; letter-spacing: 0; }
.developer-kpi > small { position: relative; z-index: 1; margin-top: 12px; color: var(--muted); font-size: .73rem; line-height: 1.45; }
.developer-kpi > small b { margin-right: 3px; font-size: .86rem; }
.developer-kpi > small b.is-positive { color: #18734c; }
.developer-kpi > small b.is-negative { color: #a52052; }

.developer-overview__main-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .65fr); gap: 18px; align-items: stretch; }
.developer-overview__activity, .developer-overview__health, .developer-overview__recent, .developer-overview__quickstart { min-width: 0; overflow: hidden; border: 1px solid #3f1a401d; border-radius: 24px; background: var(--white); box-shadow: 0 12px 35px #210b270b; }
.developer-section-head { display: flex; min-height: 112px; align-items: center; justify-content: space-between; gap: 18px; padding: 23px 25px; border-bottom: 1px solid #3f1a4017; }
.developer-section-head > div { min-width: 0; }
.developer-section-head span, .developer-overview__health header > span, .developer-overview__section-title > span, .developer-overview__quickstart header > span { color: var(--pink); font: 750 .68rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.developer-section-head h2, .developer-overview__health h2, .developer-overview__section-title h2, .developer-overview__quickstart h2 { margin-top: 6px; color: var(--ink); font-size: 1.35rem; }
.developer-section-head p, .developer-overview__health header p, .developer-overview__section-title p, .developer-overview__quickstart header p { margin-top: 5px; color: var(--berry); font-size: .79rem; line-height: 1.45; }
.developer-section-head > a { flex: 0 0 auto; color: var(--plum); font: 750 .75rem/1 var(--heading); }
.developer-section-head > a b { color: var(--pink); font-size: 1rem; }
.developer-activity-chart { position: relative; display: grid; height: 300px; grid-template-columns: repeat(var(--developer-days), minmax(0, 1fr)); align-items: end; gap: clamp(7px, 2vw, 20px); padding: 35px 28px 24px; }
.developer-activity-chart::before { position: absolute; inset: 35px 28px 48px; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), #3f1a4011 25%); content: ""; }
.developer-activity-chart__item { position: relative; z-index: 1; display: grid; height: 100%; grid-template-rows: 20px minmax(0, 1fr) 18px; gap: 7px; align-items: end; text-align: center; }
.developer-activity-chart__item > strong { color: var(--plum); font: 750 .68rem/1 var(--heading); }
.developer-activity-chart__item > div { position: relative; display: flex; width: min(100%, 42px); height: 100%; align-items: flex-end; justify-self: center; overflow: hidden; border-radius: 11px 11px 5px 5px; background: #f9edf4; }
.developer-activity-chart__item > div i { display: block; width: 100%; min-height: 2px; border-radius: inherit; background: linear-gradient(180deg, var(--pink), #a82371); }
.developer-activity-chart__item > div b { position: absolute; right: 0; bottom: 0; width: 28%; min-height: 2px; background: #ed345d; }
.developer-activity-chart__item > small { color: var(--berry); font: 700 .65rem/1 var(--heading); }
.developer-activity-chart__empty { position: absolute; z-index: 3; inset: 70px 45px 55px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed #3f1a4025; border-radius: 18px; background: #fffafdea; text-align: center; }
.developer-activity-chart__empty svg { width: 25px; height: 25px; fill: none; stroke: var(--pink); stroke-width: 1.8; }
.developer-activity-chart__empty strong { color: var(--ink); font: 750 .9rem/1.2 var(--heading); }
.developer-activity-chart__empty p { max-width: 330px; color: var(--berry); font-size: .75rem; }
.developer-overview__activity > footer { display: flex; justify-content: flex-end; gap: 16px; padding: 0 25px 20px; color: var(--berry); font-size: .68rem; }
.developer-overview__activity > footer span { display: flex; align-items: center; gap: 6px; }
.developer-overview__activity > footer i { width: 9px; height: 9px; border-radius: 3px; background: var(--pink); }
.developer-overview__activity > footer span:last-child i { background: #ed345d; }

.developer-overview__health { padding: 24px; }
.developer-overview__health header { padding: 2px 2px 20px; }
.developer-health-list { display: grid; overflow: hidden; border: 1px solid #3f1a4018; border-radius: 18px; }
.developer-health-list > a { display: grid; min-width: 0; grid-template-columns: 39px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px; border-bottom: 1px solid #3f1a4015; color: inherit; transition: background-color .16s ease; }
.developer-health-list > a:last-child { border-bottom: 0; }
.developer-health-list > a:hover { background: #fff7fb; }
.developer-health-list__mark { display: grid; width: 39px; height: 39px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--plum); }
.developer-health-list__mark svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-health-list > a > div { display: grid; min-width: 0; gap: 3px; }
.developer-health-list strong { color: var(--ink); font: 750 .82rem/1.2 var(--heading); }
.developer-health-list small { overflow: hidden; color: var(--muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.developer-health-list > a > b { padding: 6px 8px; border-radius: 9px; background: #ebf8f2; color: #18734c; font: 750 .65rem/1 var(--heading); white-space: nowrap; }
.developer-health-list > a > b.needs-attention { background: #fff0f5; color: #a52052; }

.developer-overview__quick-links { display: grid; gap: 17px; }
.developer-overview__section-title { max-width: 700px; }
.developer-overview__quick-links nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #3f1a401d; border-radius: 23px; background: var(--white); box-shadow: 0 12px 32px #210b270b; }
.developer-overview__quick-links nav > a { display: grid; min-width: 0; min-height: 145px; grid-template-columns: 43px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 23px 20px; border-right: 1px solid #3f1a4018; color: inherit; transition: background-color .16s ease; }
.developer-overview__quick-links nav > a:last-child { border-right: 0; }
.developer-overview__quick-links nav > a:hover { background: #fff7fb; }
.developer-overview__quick-links nav > a > span { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--plum); }
.developer-overview__quick-links svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-overview__quick-links nav > a > div { display: grid; min-width: 0; gap: 6px; padding-top: 3px; }
.developer-overview__quick-links strong { color: var(--ink); font: 750 .86rem/1.25 var(--heading); }
.developer-overview__quick-links small { color: var(--muted); font-size: .72rem; line-height: 1.4; }
.developer-overview__quick-links nav > a > b { color: var(--pink); font-size: 1.1rem; }

.developer-overview__bottom-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr); gap: 18px; align-items: stretch; }
.developer-recent-list { display: grid; }
.developer-recent-list article { display: grid; min-width: 0; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 14px 24px; border-bottom: 1px solid #3f1a4014; }
.developer-recent-list article:last-child { border-bottom: 0; }
.developer-request-method { display: inline-grid; min-height: 28px; place-items: center; padding: 0 7px; border-radius: 8px; background: var(--mist); color: var(--plum); font: 800 .62rem/1 var(--heading); }
.developer-recent-list article > div { display: grid; min-width: 0; gap: 4px; }
.developer-recent-list article code { overflow: hidden; color: var(--ink); font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.developer-recent-list article small { color: var(--muted); font-size: .68rem; }
.developer-recent-list article > b { padding: 6px 8px; border-radius: 8px; background: #eaf8f2; color: #18734c; font: 800 .68rem/1 var(--heading); }
.developer-recent-list article > b.is-error { background: #fff0f5; color: #a52052; }
.developer-recent-list__empty { display: grid; min-height: 270px; place-items: center; align-content: center; gap: 9px; padding: 30px; text-align: center; }
.developer-recent-list__empty svg { width: 27px; height: 27px; fill: none; stroke: var(--pink); stroke-width: 1.8; }
.developer-recent-list__empty strong { color: var(--ink); font: 750 .95rem/1.2 var(--heading); }
.developer-recent-list__empty p { color: var(--berry); font-size: .76rem; }
.developer-overview__quickstart { display: grid; align-content: start; padding: 25px; background: linear-gradient(150deg, #fff 0%, #fff6fa 100%); }
.developer-overview__quickstart pre { min-width: 0; margin: 22px 0 18px; padding: 18px; overflow: auto; border-radius: 16px; background: #210725; color: #f9eefa; font-size: .7rem; line-height: 1.65; white-space: pre-wrap; }
.developer-overview__quickstart pre i { color: #70edb6; font-style: normal; }
.developer-overview__quickstart pre b { color: #ff83b9; font-weight: 600; }
.developer-overview__quickstart > div { display: flex; flex-wrap: wrap; gap: 8px; }
.developer-overview__quickstart > div a { padding: 9px 11px; border: 1px solid #3f1a401b; border-radius: 10px; background: var(--white); color: var(--plum); font: 750 .7rem/1 var(--heading); }

@media (max-width: 1250px) {
    .developer-overview__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .developer-overview__main-grid { grid-template-columns: 1fr; }
    .developer-overview__quick-links nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .developer-overview__quick-links nav > a:nth-child(2) { border-right: 0; }
    .developer-overview__quick-links nav > a:nth-child(-n + 2) { border-bottom: 1px solid #3f1a4018; }
}

@media (max-width: 980px) {
    .download-store-buttons[data-download-stores-sticky].is-sticky { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .developer-overview__hero { min-height: 0; grid-template-columns: 1fr; }
    .developer-overview__terminal { width: 100%; }
    .developer-overview__bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .developer-overview { gap: 18px; }
    .developer-overview__hero { gap: 28px; padding: 25px 21px; border-radius: 23px; }
    .developer-overview__hero h1 { font-size: 2.35rem; }
    .developer-overview__hero-copy > p { font-size: .95rem; }
    .developer-overview__hero-actions { display: grid; grid-template-columns: 1fr; }
    .developer-overview__hero-actions .mc-button { width: 100%; justify-content: center; }
    .developer-overview__terminal > div { padding: 19px; font-size: .69rem; }
    .developer-overview__kpis, .developer-overview__quick-links nav { grid-template-columns: 1fr; }
    .developer-kpi { min-height: 175px; }
    .developer-overview__quick-links nav > a, .developer-overview__quick-links nav > a:nth-child(2) { min-height: 112px; border-right: 0; border-bottom: 1px solid #3f1a4018; }
    .developer-overview__quick-links nav > a:last-child { border-bottom: 0; }
    .developer-section-head { min-height: 0; align-items: flex-start; flex-direction: column; padding: 20px; }
    .developer-activity-chart { height: 270px; gap: 5px; padding: 30px 16px 20px; }
    .developer-activity-chart::before { inset: 30px 16px 44px; }
    .developer-activity-chart__item > div { width: min(100%, 30px); }
    .developer-overview__health { padding: 20px; }
    .developer-health-list > a { grid-template-columns: 36px minmax(0, 1fr); }
    .developer-health-list > a > b { width: fit-content; grid-column: 2; }
    .developer-recent-list article { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 13px 17px; }
    .developer-overview__quickstart { padding: 21px; }
}

.developer-docs { display: grid; min-width: 0; gap: 24px; }
.developer-docs > * { min-width: 0; }
.developer-docs__hero { position: relative; display: grid; min-height: 390px; grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr); align-items: center; gap: clamp(35px, 6vw, 90px); padding: clamp(32px, 5vw, 62px); overflow: hidden; border: 1px solid #ffffff20; border-radius: 30px; background: radial-gradient(circle at 87% 20%, #93366b66, transparent 34%), linear-gradient(135deg, #200624 0%, #40123e 60%, #5d1e4e 100%); color: var(--white); box-shadow: 0 22px 58px #21072524; }
.developer-docs__hero::before { position: absolute; width: 330px; height: 330px; left: -210px; bottom: -225px; border: 65px solid #ff3d9720; border-radius: 50%; content: ""; }
.developer-docs__hero::after { position: absolute; width: 210px; height: 210px; right: -75px; top: -100px; border: 1px solid #ffffff16; border-radius: 50%; box-shadow: 0 0 0 38px #ffffff08, 0 0 0 76px #ffffff05; content: ""; }
.developer-docs__hero-copy { position: relative; z-index: 2; min-width: 0; }
.developer-docs__version { display: inline-flex; align-items: center; gap: 9px; color: #ffd0e6; font: 750 .76rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.developer-docs__version i { width: 9px; height: 9px; border-radius: 50%; background: #50d79b; box-shadow: 0 0 0 5px #50d79b20; }
.developer-docs__hero h1 { max-width: 760px; margin-top: 20px; color: var(--white); font-size: clamp(2.7rem, 4.6vw, 4.6rem); line-height: .98; letter-spacing: -.048em; }
.developer-docs__hero-copy > p { max-width: 690px; margin-top: 23px; color: #f3dbea; font-size: 1.08rem; line-height: 1.65; }
.developer-docs__hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.developer-docs__hero-actions .mc-button--line { border-color: #ffffff55 !important; background: #ffffff0e !important; color: var(--white) !important; }
.developer-docs__hero-actions .mc-button--line:hover { border-color: var(--white) !important; background: #ffffff1a !important; }
.developer-docs__hero-actions a span { margin-left: 3px; }
.developer-docs__connection-card { position: relative; z-index: 2; min-width: 0; overflow: hidden; border: 1px solid #ffffff24; border-radius: 23px; background: #160519c9; box-shadow: 0 25px 55px #1002134f; }
.developer-docs__connection-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 19px; border-bottom: 1px solid #ffffff14; background: #ffffff0a; }
.developer-docs__connection-card > header span { color: #d9bbd0; font: 750 .72rem/1 var(--heading); text-transform: uppercase; letter-spacing: .07em; }
.developer-docs__connection-card > header b { padding: 6px 9px; border-radius: 9px; background: #50d79b1c; color: #78edba; font: 750 .65rem/1 var(--heading); }
.developer-docs__base-url { position: relative; display: grid; min-width: 0; gap: 8px; padding: 22px 78px 21px 20px; border-bottom: 1px solid #ffffff14; }
.developer-docs__base-url small { color: #94738d; font: 650 .68rem/1 var(--heading); }
.developer-docs__base-url code { min-width: 0; overflow: hidden; color: #fff3f9; font: 650 .76rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.developer-docs__base-url button { position: absolute; right: 17px; bottom: 17px; padding: 8px 10px; border: 1px solid #ffffff24; border-radius: 9px; background: #ffffff0d; color: #ffd6e8; cursor: pointer; font: 750 .65rem/1 var(--heading); }
.developer-docs__base-url button:hover { border-color: #ff83b9; background: #ff3d9718; }
.developer-docs__connection-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.developer-docs__connection-card dl div { display: grid; gap: 5px; padding: 17px 19px; border-right: 1px solid #ffffff12; border-bottom: 1px solid #ffffff12; }
.developer-docs__connection-card dl div:nth-child(even) { border-right: 0; }
.developer-docs__connection-card dl div:nth-last-child(-n + 2) { border-bottom: 0; }
.developer-docs__connection-card dt { color: #91718a; font: 650 .62rem/1 var(--heading); text-transform: uppercase; letter-spacing: .06em; }
.developer-docs__connection-card dd { margin: 0; color: #f5e7f1; font: 700 .73rem/1.25 var(--heading); }

.developer-docs__anchor-nav { display: flex; min-width: 0; align-items: center; gap: 8px; padding: 10px; overflow-x: auto; border: 1px solid #3f1a401a; border-radius: 18px; background: var(--white); box-shadow: 0 10px 28px #210b2709; scrollbar-width: none; }
.developer-docs__anchor-nav::-webkit-scrollbar { display: none; }
.developer-docs__anchor-nav > span { flex: 0 0 auto; padding: 0 12px; color: var(--muted); font: 750 .7rem/1 var(--heading); text-transform: uppercase; letter-spacing: .07em; }
.developer-docs__anchor-nav a { flex: 0 0 auto; padding: 10px 13px; border-radius: 10px; color: var(--plum); font: 750 .73rem/1 var(--heading); }
.developer-docs__anchor-nav a:hover { background: var(--mist); color: var(--pink); }

.developer-docs__layout { display: grid; min-width: 0; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 26px; }
.developer-docs__contents { position: sticky; top: 92px; display: grid; min-width: 0; overflow: hidden; border: 1px solid #3f1a401b; border-radius: 20px; background: var(--white); box-shadow: 0 12px 32px #210b2709; }
.developer-docs__contents > span { padding: 19px 18px 14px; color: var(--pink); font: 800 .67rem/1 var(--heading); text-transform: uppercase; letter-spacing: .08em; }
.developer-docs__contents > a { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 9px; padding: 12px 15px; border-top: 1px solid #3f1a4012; color: inherit; }
.developer-docs__contents > a:hover { background: #fff8fb; }
.developer-docs__contents > a i { color: #b88aa9; font: 700 .6rem/1 ui-monospace, monospace; font-style: normal; }
.developer-docs__contents > a div { display: grid; min-width: 0; gap: 3px; }
.developer-docs__contents > a strong { color: var(--ink); font: 750 .76rem/1.2 var(--heading); }
.developer-docs__contents > a small { color: var(--muted); font-size: .65rem; line-height: 1.25; }
.developer-docs__guide { display: grid; min-width: 0; gap: 20px; }
.developer-docs__section { min-width: 0; padding: clamp(25px, 4vw, 42px); scroll-margin-top: 95px; border: 1px solid #3f1a401a; border-radius: 25px; background: var(--white); box-shadow: 0 12px 34px #210b2708; }
.developer-docs__section-head { max-width: 830px; }
.developer-docs__section-head > span { color: var(--pink); font: 800 .72rem/1 var(--heading); text-transform: uppercase; letter-spacing: .09em; }
.developer-docs__section-head h2 { margin-top: 10px; color: var(--ink); font-size: clamp(1.85rem, 3vw, 2.55rem); line-height: 1.08; letter-spacing: -.035em; }
.developer-docs__section-head p { max-width: 760px; margin-top: 12px; color: var(--berry); font-size: .95rem; line-height: 1.62; }

.developer-docs__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 30px 0 0; padding: 0; overflow: hidden; border: 1px solid #3f1a4018; border-radius: 18px; list-style: none; }
.developer-docs__steps li { display: grid; min-width: 0; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 12px; padding: 20px; border-right: 1px solid #3f1a4018; }
.developer-docs__steps li:last-child { border-right: 0; }
.developer-docs__steps li > i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--mist); color: var(--pink); font: 800 .72rem/1 var(--heading); font-style: normal; }
.developer-docs__steps li > div { display: grid; min-width: 0; gap: 6px; }
.developer-docs__steps strong { color: var(--ink); font: 750 .85rem/1.2 var(--heading); }
.developer-docs__steps p { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.developer-docs code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.developer-code-card { min-width: 0; margin-top: 20px; overflow: hidden; border: 1px solid #210725; border-radius: 19px; background: #17051a; box-shadow: 0 16px 30px #2107251d; }
.developer-code-card > header { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding: 13px 16px; border-bottom: 1px solid #ffffff12; background: #ffffff08; }
.developer-code-card > header > div { display: flex; gap: 6px; }
.developer-code-card > header > div i { width: 8px; height: 8px; border-radius: 50%; background: #ff6da8; }
.developer-code-card > header > div i:nth-child(2) { background: #ffc75b; }
.developer-code-card > header > div i:nth-child(3) { background: #50d79b; }
.developer-code-card > header span { margin-left: auto; color: #b895b0; font: 650 .66rem/1 var(--heading); }
.developer-code-card > header button { padding: 7px 9px; border: 1px solid #ffffff20; border-radius: 8px; background: #ffffff0b; color: #f8e9f3; cursor: pointer; font: 750 .62rem/1 var(--heading); }
.developer-code-card > header button:hover { border-color: #ff83b9; color: #ffb5d5; }
.developer-code-card pre { min-width: 0; margin: 0; padding: 25px; overflow: auto; color: #f8eaf3; font-size: .78rem; line-height: 1.8; white-space: pre-wrap; }
.developer-code-card pre b { color: #70edb6; }
.developer-code-card pre em { color: #ff94c1; font-style: normal; }
.developer-docs__success-response { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 18px; margin-top: 18px; padding: 18px 20px; border: 1px solid #218a5e20; border-radius: 16px; background: #f1fbf7; }
.developer-docs__success-response > span { color: #18734c; font: 750 .75rem/1 var(--heading); }
.developer-docs__success-response > span b { margin-right: 5px; padding: 5px 7px; border-radius: 7px; background: #d9f4e8; }
.developer-docs__success-response > code { min-width: 0; overflow: hidden; color: #315f4e; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.developer-docs__success-response p { grid-column: 1 / -1; color: #4f7769; font-size: .76rem; line-height: 1.5; }

.developer-docs__feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 28px; }
.developer-docs__feature-grid article { display: grid; min-width: 0; grid-template-columns: 45px minmax(0, 1fr); gap: 14px; padding: 20px; border: 1px solid #3f1a4017; border-radius: 17px; background: #fffafd; }
.developer-docs__feature-grid article > span { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--plum); }
.developer-docs__feature-grid svg, .developer-docs__open-reference svg, .developer-docs__final-cta svg, .developer-endpoint-groups svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-docs__feature-grid article > div { display: grid; min-width: 0; gap: 6px; }
.developer-docs__feature-grid strong { color: var(--ink); font: 750 .9rem/1.25 var(--heading); }
.developer-docs__feature-grid p { color: var(--berry); font-size: .78rem; line-height: 1.5; }
.developer-docs__feature-grid code, .developer-docs__success-response p code { padding: 2px 4px; border-radius: 5px; background: #f4e8ef; color: var(--plum); font-size: .7rem; }
.developer-docs__notice { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: start; gap: 13px; margin-top: 17px; padding: 17px 19px; border: 1px solid #ff3d9720; border-radius: 15px; background: #fff5fa; }
.developer-docs__notice > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #ffe1ef; color: #a52052; font: 850 .8rem/1 var(--heading); }
.developer-docs__notice p { color: var(--berry); font-size: .79rem; line-height: 1.55; }
.developer-docs__notice strong { color: var(--ink); }
.developer-docs__notice.is-green { border-color: #22895e20; background: #f1fbf7; }
.developer-docs__notice.is-green > span { background: #d9f4e8; color: #18734c; }

.developer-endpoint-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.developer-endpoint-groups > article { min-width: 0; overflow: hidden; border: 1px solid #3f1a4018; border-radius: 18px; }
.developer-endpoint-groups > article > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 17px 18px; border-bottom: 1px solid #3f1a4015; background: #fff9fc; }
.developer-endpoint-groups > article > header > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--plum); }
.developer-endpoint-groups > article > header > div { display: grid; min-width: 0; gap: 4px; }
.developer-endpoint-groups > article > header strong { color: var(--ink); font: 750 .87rem/1.2 var(--heading); }
.developer-endpoint-groups > article > header small { color: var(--muted); font-size: .7rem; }
.developer-endpoint-groups ul { margin: 0; padding: 0; list-style: none; }
.developer-endpoint-groups li { display: grid; min-width: 0; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 10px; padding: 11px 17px; border-bottom: 1px solid #3f1a4011; }
.developer-endpoint-groups li:last-child { border-bottom: 0; }
.developer-endpoint-groups li > b { width: fit-content; padding: 5px 6px; border-radius: 6px; background: #e8f8f1; color: #18734c; font: 800 .55rem/1 var(--heading); }
.developer-endpoint-groups li > b.is-post { background: #fff0f6; color: #a52063; }
.developer-endpoint-groups li > b.is-patch { background: #fff7df; color: #8a5c00; }
.developer-endpoint-groups li code { min-width: 0; overflow: hidden; color: var(--plum); font-size: .71rem; text-overflow: ellipsis; white-space: nowrap; }
.developer-docs__open-reference { display: grid; min-width: 0; grid-template-columns: 47px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 17px; padding: 17px; border: 1px solid #ff3d9725; border-radius: 17px; background: linear-gradient(110deg, #fff4f9, #fffafd); color: inherit; }
.developer-docs__open-reference > span { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 13px; background: var(--white); color: var(--pink); box-shadow: 0 5px 16px #40164010; }
.developer-docs__open-reference > div { display: grid; min-width: 0; gap: 4px; }
.developer-docs__open-reference strong { color: var(--ink); font: 750 .88rem/1.25 var(--heading); }
.developer-docs__open-reference small { color: var(--berry); font-size: .75rem; line-height: 1.35; }
.developer-docs__open-reference > b { color: var(--pink); font-size: 1.25rem; }

.developer-docs__conventions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.developer-docs__conventions article { min-width: 0; padding: 22px; border: 1px solid #3f1a4017; border-radius: 18px; background: #fffafd; }
.developer-docs__conventions article > span { color: var(--pink); font: 800 .65rem/1 var(--heading); text-transform: uppercase; letter-spacing: .08em; }
.developer-docs__conventions h3 { margin-top: 9px; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.developer-docs__conventions p { margin-top: 8px; color: var(--berry); font-size: .79rem; line-height: 1.52; }
.developer-docs__conventions p code { padding: 2px 4px; border-radius: 5px; background: var(--mist); color: var(--plum); font-size: .7rem; }
.developer-docs__conventions pre { min-width: 0; margin: 17px 0 0; padding: 12px 13px; overflow: auto; border-radius: 10px; background: #241027; color: #f7eaf3; font-size: .66rem; line-height: 1.5; white-space: pre-wrap; }
.developer-docs__error-card { display: grid; min-width: 0; grid-template-columns: minmax(0, .8fr) minmax(280px, .9fr); gap: 24px; margin-top: 16px; padding: 25px; border-radius: 19px; background: linear-gradient(135deg, #280b2d, #4c1745); color: var(--white); }
.developer-docs__error-card > div > span { color: #ff8fc0; font: 800 .67rem/1 var(--heading); text-transform: uppercase; letter-spacing: .08em; }
.developer-docs__error-card h3 { margin-top: 9px; color: var(--white); font-size: 1.25rem; }
.developer-docs__error-card > div p { margin-top: 9px; color: #dfc5d8; font-size: .79rem; line-height: 1.55; }
.developer-docs__error-card > div code { color: #ffafd2; }
.developer-docs__error-card > pre { min-width: 0; margin: 0; padding: 17px; overflow: auto; border: 1px solid #ffffff13; border-radius: 13px; background: #130416a8; color: #f8edf5; font-size: .66rem; line-height: 1.65; white-space: pre-wrap; }
.developer-docs__error-card > ul { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; border: 1px solid #ffffff16; border-radius: 13px; list-style: none; }
.developer-docs__error-card > ul li { display: grid; gap: 6px; padding: 13px; border-right: 1px solid #ffffff14; }
.developer-docs__error-card > ul li:last-child { border-right: 0; }
.developer-docs__error-card > ul b { color: #ff8fc0; font: 850 .73rem/1 var(--heading); }
.developer-docs__error-card > ul span { color: #d9bfd3; font-size: .64rem; line-height: 1.35; }

.developer-docs__webhook-flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 28px; }
.developer-docs__webhook-flow article { display: grid; min-width: 0; min-height: 125px; grid-template-columns: 34px minmax(0, 1fr); align-items: start; align-content: center; gap: 12px; padding: 18px; border: 1px solid #3f1a4017; border-radius: 17px; background: #fffafd; }
.developer-docs__webhook-flow article > i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--mist); color: var(--pink); font: 800 .7rem/1 var(--heading); font-style: normal; }
.developer-docs__webhook-flow article > div { display: grid; min-width: 0; gap: 6px; }
.developer-docs__webhook-flow strong { color: var(--ink); font: 750 .82rem/1.25 var(--heading); }
.developer-docs__webhook-flow small { color: var(--muted); font-size: .7rem; line-height: 1.42; }
.developer-docs__webhook-flow > b { color: var(--pink); font-size: 1rem; }
.developer-docs__webhook-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.developer-docs__webhook-grid > article { min-width: 0; overflow: hidden; border: 1px solid #3f1a4018; border-radius: 18px; }
.developer-docs__webhook-grid article > header { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 17px; border-bottom: 1px solid #3f1a4014; background: #fff9fc; }
.developer-docs__webhook-grid article > header span { color: var(--ink); font: 750 .8rem/1.2 var(--heading); }
.developer-docs__webhook-grid article > header a, .developer-docs__webhook-grid article > header small { color: var(--pink); font: 750 .67rem/1 var(--heading); }
.developer-docs__webhook-grid dl { margin: 0; }
.developer-docs__webhook-grid dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 17px; border-bottom: 1px solid #3f1a4010; }
.developer-docs__webhook-grid dl div:last-child { border-bottom: 0; }
.developer-docs__webhook-grid dt { overflow: hidden; color: var(--plum); font: 650 .67rem/1.3 ui-monospace, monospace; text-overflow: ellipsis; }
.developer-docs__webhook-grid dd { margin: 0; color: var(--muted); font-size: .68rem; }
.developer-docs__webhook-grid pre { min-width: 0; margin: 0; padding: 19px; overflow: auto; background: #241027; color: #f7eaf3; font-size: .67rem; line-height: 1.65; white-space: pre-wrap; }

.developer-docs__final-cta { display: grid; min-width: 0; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: clamp(25px, 4vw, 38px); overflow: hidden; border-radius: 24px; background: linear-gradient(115deg, #fff0f7, #fffafd); box-shadow: inset 0 0 0 1px #ff3d9722, 0 12px 34px #210b2708; }
.developer-docs__final-cta > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; background: var(--white); color: var(--pink); box-shadow: 0 8px 20px #40164011; }
.developer-docs__final-cta > span svg { width: 26px; height: 26px; }
.developer-docs__final-cta > div { min-width: 0; }
.developer-docs__final-cta small { color: var(--pink); font: 800 .67rem/1 var(--heading); text-transform: uppercase; letter-spacing: .08em; }
.developer-docs__final-cta h2 { margin-top: 7px; color: var(--ink); font-size: 1.45rem; }
.developer-docs__final-cta p { margin-top: 5px; color: var(--berry); font-size: .8rem; line-height: 1.4; }

@media (max-width: 1250px) {
    .developer-docs__layout { grid-template-columns: 1fr; }
    .developer-docs__contents { display: none; }
    .developer-docs__error-card > ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .developer-docs__error-card > ul li { border-bottom: 1px solid #ffffff14; }
}

@media (max-width: 980px) {
    .developer-docs__hero { min-height: 0; grid-template-columns: 1fr; }
    .developer-docs__connection-card { width: 100%; }
    .developer-docs__webhook-flow { grid-template-columns: 1fr; }
    .developer-docs__webhook-flow > b { justify-self: center; transform: rotate(90deg); }
    .developer-docs__webhook-flow article { min-height: 0; }
    .developer-docs__final-cta { grid-template-columns: 58px minmax(0, 1fr); }
    .developer-docs__final-cta > a { width: fit-content; grid-column: 2; }
}

@media (max-width: 760px) {
    .developer-docs { gap: 18px; }
    .developer-docs__hero { gap: 28px; padding: 26px 21px; border-radius: 23px; }
    .developer-docs__hero h1 { font-size: 2.45rem; }
    .developer-docs__hero-copy > p { font-size: .95rem; }
    .developer-docs__hero-actions { display: grid; grid-template-columns: 1fr; }
    .developer-docs__hero-actions .mc-button { width: 100%; justify-content: center; }
    .developer-docs__anchor-nav > span { display: none; }
    .developer-docs__section { padding: 23px 19px; border-radius: 21px; }
    .developer-docs__section-head h2 { font-size: 1.8rem; }
    .developer-docs__steps, .developer-docs__feature-grid, .developer-endpoint-groups, .developer-docs__conventions, .developer-docs__webhook-grid { grid-template-columns: 1fr; }
    .developer-docs__steps li { border-right: 0; border-bottom: 1px solid #3f1a4018; }
    .developer-docs__steps li:last-child { border-bottom: 0; }
    .developer-code-card pre { padding: 20px 17px; font-size: .68rem; }
    .developer-docs__success-response { grid-template-columns: 1fr; }
    .developer-docs__success-response p { grid-column: auto; }
    .developer-docs__error-card { grid-template-columns: 1fr; padding: 21px 18px; }
    .developer-docs__error-card > ul { grid-template-columns: 1fr; }
    .developer-docs__error-card > ul li { grid-template-columns: 38px minmax(0, 1fr); align-items: center; border-right: 0; }
    .developer-docs__final-cta { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
    .developer-docs__final-cta > span { width: 46px; height: 46px; border-radius: 14px; }
    .developer-docs__final-cta h2 { font-size: 1.2rem; }
    .developer-docs__final-cta > a { width: 100%; grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 430px) {
    .developer-docs__connection-card dl { grid-template-columns: 1fr; }
    .developer-docs__connection-card dl div, .developer-docs__connection-card dl div:nth-child(even), .developer-docs__connection-card dl div:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid #ffffff12; }
    .developer-docs__connection-card dl div:last-child { border-bottom: 0; }
    .developer-docs__base-url { padding-right: 20px; }
    .developer-docs__base-url code { padding-right: 70px; }
    .developer-docs__open-reference { grid-template-columns: 43px minmax(0, 1fr); }
    .developer-docs__open-reference > b { grid-column: 2; }
    .developer-docs__webhook-grid dl div { grid-template-columns: 1fr; }
}
.role-page { display: grid; gap: 24px; }
.role-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.role-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.role-hero > * { position: relative; z-index: 1; }
.role-hero__copy { display: grid; max-width: 700px; gap: 8px; }
.role-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.role-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.role-hero p { max-width: 670px; color: #ffffffc9; font-size: 1rem; line-height: 1.5; }
.role-hero__aside { display: flex; min-width: 205px; align-items: stretch; flex-direction: column; gap: 12px; }
.role-hero__aside .mc-button { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.role-hero__aside .mc-button:hover { border-color: var(--white); background: #fff4f9; color: var(--plum); }
.role-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.role-summary__card { --role-card-accent: var(--violet); --role-card-surface: #f7f4ff; position: relative; display: flex; min-width: 0; min-height: 148px; flex-direction: column; gap: 8px; padding: 19px 20px; overflow: hidden; border: 1px solid #3f1a4020; border-radius: 20px; background: linear-gradient(145deg, var(--white), var(--role-card-surface)); }
.role-summary__card::after { position: absolute; right: -42px; bottom: -56px; width: 124px; height: 124px; border: 19px solid color-mix(in srgb, var(--role-card-accent) 8%, transparent); border-radius: 50%; content: ""; pointer-events: none; }
.role-summary__card > * { position: relative; z-index: 1; }
.role-summary__card > span { display: flex; align-items: center; gap: 8px; color: var(--berry); font: 820 .69rem/1.2 var(--heading); letter-spacing: .07em; text-transform: uppercase; }
.role-summary__card > span::before { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--role-card-accent); content: ""; }
.role-summary__card > strong { margin-top: auto; color: var(--ink); font: 900 2rem/1 var(--heading); letter-spacing: -.045em; }
.role-summary__card > small { color: var(--berry); font-size: .75rem; line-height: 1.35; }
.role-summary__card--total { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #6b285f); box-shadow: 0 4px 0 #260e25; }
.role-summary__card--total::after { border-color: #ffffff0b; }
.role-summary__card--total > span, .role-summary__card--total > strong, .role-summary__card--total > small { color: var(--white); }
.role-summary__card--total > span::before { background: var(--white); }
.role-summary__card--custom { --role-card-accent: var(--pink); --role-card-surface: #fff7fb; }
.role-summary__card--assigned { --role-card-accent: #20835a; --role-card-surface: #f0faf5; }
.role-summary__card--unused { --role-card-accent: #b66b0c; --role-card-surface: #fff9ef; }
.role-index-panel { margin-top: 0; overflow: visible; padding: 0; border-width: 1px; border-radius: 24px; box-shadow: 0 12px 32px #210b270b; }
.role-index-panel__head { min-height: 104px; margin: 0; padding: 23px 25px; border-bottom: 1px solid #3f1a4018; border-radius: 23px 23px 0 0; background: linear-gradient(120deg, #fff 0%, #fff7fb 100%); }
.role-index-heading { display: flex; min-width: 0; align-items: center; gap: 14px; }
.role-index-heading > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #ff3d9738; border-radius: 15px; background: var(--mist); color: var(--pink); }
.role-index-heading > span svg, .role-table-identity__mark svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.role-index-heading > div { display: grid; min-width: 0; gap: 3px; }
.role-index-heading small { color: var(--pink); font: 820 .67rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.role-index-heading h2 { color: var(--ink); font-size: 1.4rem; letter-spacing: -.02em; }
.role-index-heading p { color: var(--berry); font-size: .8rem; line-height: 1.4; }
.role-index-panel > .table-shell { width: 100%; margin: 0; border: 0; border-radius: 0 0 23px 23px; }
.role-table-row--protected > td { background: #fffbfd; }
.role-table-identity { display: flex; min-width: 180px; align-items: center; gap: 12px; }
.role-table-identity__mark { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--pink); }
.role-table-identity__mark svg { width: 21px; height: 21px; }
.role-table-identity__mark--protected { background: var(--mist); color: var(--pink); }
.role-table-identity > div { display: grid; min-width: 0; gap: 3px; }
.role-table-identity strong { color: var(--ink); font: 800 .94rem/1.2 var(--heading); }
.role-table-identity small { color: var(--berry); font-size: .72rem; }
.role-table-members { display: flex; min-width: 78px; align-items: baseline; gap: 6px; }
.role-table-members strong { color: var(--ink); font: 900 1.25rem/1 var(--heading); }
.role-table-members span { color: var(--berry); font-size: .78rem; }
.role-table-permissions { display: grid; min-width: 205px; max-width: 390px; gap: 5px; }
.role-table-permissions strong { color: var(--ink); font: 780 .83rem/1.2 var(--heading); }
.role-table-permissions small { overflow: hidden; color: var(--berry); font-size: .72rem; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.role-table-permissions small b { color: var(--pink); font-weight: 850; }
.roles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; }
.permission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 14px; border-radius: 14px; background: var(--mist); }
.role-editor-page { display: grid; min-width: 0; gap: 24px; }
.role-editor-hero { position: relative; display: grid; min-height: 268px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 34px; padding: 36px 38px 78px; overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 83% 15%, #ff74b541 0 7%, transparent 28%), linear-gradient(135deg, #2b0c29 0%, #612055 60%, #962869 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.role-editor-hero::after { position: absolute; right: -112px; bottom: -190px; width: 390px; height: 390px; border: 64px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.role-editor-hero > * { position: relative; z-index: 1; }
.role-editor-hero__copy { display: grid; max-width: 780px; justify-items: start; }
.role-editor-hero__back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 22px; color: #ffd8e9; font: 750 .78rem/1 var(--heading); }
.role-editor-hero__back:hover { color: var(--white); }
.role-editor-hero__back svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.role-editor-hero__eyebrow { color: #ff9cca; font: 850 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.role-editor-hero h1 { margin-top: 9px; color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.85rem); line-height: .98; letter-spacing: -.055em; }
.role-editor-hero__copy > p { max-width: 690px; margin-top: 15px; color: #ffffffc9; font-size: .98rem; line-height: 1.55; }
.role-editor-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 17px; color: #ffffffbd; font-size: .78rem; }
.role-editor-hero__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.role-editor-hero__meta > span + span::before { width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: #ff9cca; content: ""; }
.role-editor-hero__meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }
.role-editor-hero__actions { display: flex; min-width: 210px; align-items: center; justify-content: flex-end; gap: 10px; }
.role-editor-hero__actions .mc-button { white-space: nowrap; }
.dashboard-body .role-editor-hero__actions .mc-button--line:not(.mc-button--sm) { border-color: var(--white); background: #ffffff1b; color: var(--white); box-shadow: none; }
.dashboard-body .role-editor-hero__actions .mc-button--line:not(.mc-button--sm):hover { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.role-editor-hero__actions .page-danger-menu__trigger { border-color: #ffffff52; background: #ffffff0d; color: var(--white); box-shadow: none; }
.role-editor-hero__actions .page-danger-menu__trigger:hover { border-color: var(--white); background: #ffffff18; color: var(--white); }
.role-editor-steps { position: sticky; z-index: 55; top: 84px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: -66px 24px 0; overflow: hidden; border: 1px solid #3f1a4024; border-radius: 21px; background: #fffffff7; box-shadow: 0 16px 38px #21072520; backdrop-filter: blur(14px); }
.role-editor-steps > a { display: grid; min-width: 0; min-height: 92px; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 18px 20px; border-right: 1px solid #3f1a4018; color: inherit; transition: background-color .18s ease, color .18s ease; }
.role-editor-steps > a:last-child { border-right: 0; }
.role-editor-steps > a:hover { background: #fff4f9; }
.role-editor-steps > a > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--plum); color: var(--white); font: 900 .86rem/1 var(--heading); box-shadow: 0 3px 0 #230c25; }
.role-editor-steps > a > span:last-child { display: grid; min-width: 0; gap: 4px; }
.role-editor-steps strong { color: var(--ink); font: 820 .86rem/1.2 var(--heading); }
.role-editor-steps small { overflow: hidden; color: var(--berry); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.role-editor-steps > a.is-active { background: linear-gradient(145deg, #fff0f7, #fffafd); box-shadow: inset 0 -4px 0 var(--pink); }
.role-editor-steps > a.is-active > span:first-child { background: var(--pink); box-shadow: 0 3px 0 var(--plum); }
.role-editor-steps > a.is-active strong { color: var(--plum); }
.role-editor-steps > a.is-active small { color: var(--pink); }
.role-editor { display: grid; min-width: 0; gap: 22px; }
.role-editor__card { min-width: 0; scroll-margin-top: 194px; overflow: hidden; border: 1px solid #3f1a4024; border-radius: 24px; background: var(--white); box-shadow: 0 14px 36px #210b270c; }
.role-editor__section-head, .role-editor__section-title { display: flex; min-width: 0; align-items: flex-start; gap: 15px; }
.role-editor__section-head { padding: 25px 28px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff6fa 100%); }
.role-editor__section-head > span, .role-editor__section-title > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 2px solid var(--plum); border-radius: 15px; background: var(--pink); color: var(--white); font: 900 .92rem/1 var(--heading); box-shadow: 0 3px 0 var(--plum); }
.role-editor__section-head > div, .role-editor__section-title > div { min-width: 0; }
.role-editor__section-head small, .role-editor__section-title small { color: var(--pink); font: 820 .7rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.role-editor__section-head h2, .role-editor__section-title h2 { margin-top: 6px; color: var(--ink); font-size: 1.42rem; }
.role-editor__section-head p, .role-editor__section-title p { max-width: 620px; margin-top: 6px; color: var(--berry); font-size: .88rem; line-height: 1.5; }
.role-editor__identity-body { display: grid; padding: 28px; }
.role-editor__identity-body > div { width: 100%; max-width: 760px; }
.role-editor__identity-body .form-field { margin: 0 !important; }
.role-editor__identity-body .form-label { margin-bottom: 8px; color: var(--ink); font: 760 .82rem/1.2 var(--heading); }
.role-editor__identity-body .form-control { min-height: 52px; padding: 12px 14px; border-width: 1.5px; border-color: #7a1b5c50; border-radius: 14px; background: #fffdfd; font-size: .92rem; }
.role-editor__identity-body .form-control:focus { border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 4px #ff3d9717; }
.role-editor__field-help { margin-top: 7px; color: var(--berry); font-size: .75rem; line-height: 1.45; }
.role-editor__permissions-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); align-items: center; gap: 28px; padding: 25px 28px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff6fa 100%); }
.role-permission-summary { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 15px 16px; border: 1px solid #ff3d9730; border-radius: 17px; background: var(--white); box-shadow: 0 5px 15px #3f1a4009; }
.role-permission-summary__count { display: grid; gap: 4px; }
.role-permission-summary__count small { color: var(--berry); font: 750 .63rem/1 var(--heading); letter-spacing: .07em; text-transform: uppercase; }
.role-permission-summary__count strong { color: var(--plum); font: 850 .95rem/1 var(--heading); }
.role-permission-summary__count strong span { color: var(--pink); font-size: 1.25rem; }
.role-permission-summary__progress { align-self: center; width: 90px; height: 8px; overflow: hidden; border-radius: 999px; background: #f2e4ec; }
.role-permission-summary__progress > span { display: block; width: var(--permission-progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--violet)); transition: width .2s ease; }
.role-permission-summary > p { align-self: center; margin: 0; color: var(--berry); font-size: .7rem; font-weight: 650; }
.role-permission-summary__actions { display: flex; justify-content: flex-end; gap: 6px; }
.role-permission-summary button, .permission-group-card__head button { padding: 7px 10px; border: 1px solid #3f1a401c; border-radius: 9px; background: #fffafd; color: var(--berry); cursor: pointer; font: 700 .7rem/1 var(--heading); transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.role-permission-summary button:hover, .permission-group-card__head button:hover { border-color: #ff3d9735; background: var(--mist); color: var(--plum); }
.role-editor__permissions-error { margin: 18px 28px 0; }
.permission-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 24px 28px 28px; }
.permission-group-card { min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid #3f1a4022; border-radius: 18px; background: #fffafd; transition: border-color .16s ease, box-shadow .16s ease; }
.permission-group-card:has(input:checked) { border-color: #ff3d9738; box-shadow: 0 7px 20px #3f1a4009; }
.permission-group-card__head { display: grid; width: 100%; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 16px; border-bottom: 1px solid #3f1a4017; background: var(--white); }
.permission-group-card__head > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--plum); color: var(--white); font: 800 .66rem/1 var(--heading); box-shadow: 0 2px 0 #260d27; }
.permission-group-card__head > div { min-width: 0; }
.permission-group-card__head strong, .permission-group-card__head small { display: block; }
.permission-group-card__head strong { color: var(--ink); font: 780 .88rem/1.25 var(--heading); }
.permission-group-card__head small { margin-top: 3px; color: var(--berry); font-size: .7rem; line-height: 1.35; }
.permission-group-card__head > b { padding: 6px 8px; border-radius: 8px; background: var(--mist); color: var(--plum); font: 800 .67rem/1 var(--heading); }
.permission-group-card__head button { grid-column: 2 / -1; justify-self: start; }
.permission-group-card__head button[aria-pressed="true"] { border-color: #ff3d9735; background: var(--mist); color: var(--pink); }
.permission-group-card__options { display: grid; gap: 7px; padding: 12px; }
.permission-option { display: flex; min-height: 50px; align-items: center; gap: 11px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: var(--white); cursor: pointer; transition: border-color .16s ease, background-color .16s ease, transform .16s ease; }
.permission-option:hover { border-color: #ff3d9735; transform: translateY(-1px); }
.permission-option:has(input:checked) { border-color: #ff3d9745; background: var(--mist); }
.permission-option span { color: var(--plum); font: 650 .78rem/1.35 var(--heading); }
.permission-option input { width: 21px; height: 21px; flex: 0 0 21px; accent-color: var(--pink); }
.role-editor__actions { position: sticky; z-index: 25; bottom: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: -4px; padding: 13px; border: 1px solid #3f1a4024; border-radius: 17px; background: #fffafded; box-shadow: 0 10px 30px #210b2714; backdrop-filter: blur(16px); }
.role-editor.is-submitting .role-editor__actions .mc-button { pointer-events: none; opacity: .68; }
@media (max-width: 840px) {
    .role-editor-hero { min-height: 0; grid-template-columns: 1fr; align-items: start; padding-bottom: 78px; }
    .role-editor-hero__actions { min-width: 0; justify-content: flex-start; }
    .role-editor__permissions-head { grid-template-columns: 1fr; }
    .role-permission-summary { width: 100%; max-width: 460px; }
}
.role-delete-box { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.role-delete-box p { margin-top: 5px; color: var(--berry); font-size: .8rem; }
.team-inline-form { display: flex; align-items: center; gap: 8px; }
.team-inline-form select { min-height: 40px; border: 1px solid #3f1a4040; border-radius: 10px; background: var(--white); }
.team-page { display: grid; gap: 24px; }
.team-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.team-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.team-hero > * { position: relative; z-index: 1; }
.team-hero__copy { display: grid; max-width: 700px; gap: 8px; }
.team-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.team-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.team-hero p { max-width: 670px; color: #ffffffc5; font-size: 1rem; line-height: 1.5; }
.team-hero__aside { display: flex; min-width: 190px; align-items: stretch; flex-direction: column; gap: 12px; }
.team-hero__aside .mc-button { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.team-hero__aside .mc-button:hover { border-color: var(--white); background: #fff4f9; color: var(--plum); }
.team-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.team-summary__card { --team-card-accent: var(--pink); --team-card-surface: #fff7fb; position: relative; display: flex; min-width: 0; min-height: 148px; flex-direction: column; gap: 8px; padding: 19px 20px; overflow: hidden; border: 1px solid #3f1a4020; border-radius: 20px; background: linear-gradient(145deg, var(--white), var(--team-card-surface)); }
.team-summary__card::after { position: absolute; right: -42px; bottom: -56px; width: 124px; height: 124px; border: 19px solid color-mix(in srgb, var(--team-card-accent) 8%, transparent); border-radius: 50%; content: ""; pointer-events: none; }
.team-summary__card > * { position: relative; z-index: 1; }
.team-summary__card > span { display: flex; align-items: center; gap: 8px; color: var(--berry); font: 820 .69rem/1.2 var(--heading); letter-spacing: .07em; text-transform: uppercase; }
.team-summary__card > span::before { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--team-card-accent); content: ""; }
.team-summary__card > strong { margin-top: auto; color: var(--ink); font: 900 2rem/1 var(--heading); letter-spacing: -.045em; }
.team-summary__card > small { color: var(--berry); font-size: .75rem; line-height: 1.35; }
.team-summary__card--total { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #6b285f); box-shadow: 0 4px 0 #260e25; }
.team-summary__card--total::after { border-color: #ffffff0b; }
.team-summary__card--total > span, .team-summary__card--total > strong, .team-summary__card--total > small { color: var(--white); }
.team-summary__card--total > span::before { background: var(--white); }
.team-summary__card--active { --team-card-accent: #20835a; --team-card-surface: #f0faf5; }
.team-summary__card--blocked { --team-card-accent: #b66b0c; --team-card-surface: #fff9ef; }
.team-summary__card--pending { --team-card-accent: #6953c6; --team-card-surface: #f7f4ff; }
.team-table-panel { margin-top: 0; overflow: visible; padding: 0; border-width: 1px; border-radius: 24px; box-shadow: 0 12px 32px #210b270b; }
.team-section-head { min-height: 104px; margin: 0; padding: 23px 25px; border-bottom: 1px solid #3f1a4018; border-radius: 23px 23px 0 0; background: linear-gradient(120deg, #fff 0%, #fff7fb 100%); }
.team-section-heading { display: flex; min-width: 0; align-items: center; gap: 14px; }
.team-section-heading > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #ff3d9738; border-radius: 15px; background: var(--mist); color: var(--pink); }
.team-section-heading > span svg, .team-invitations-empty-state > span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.team-section-heading > div { display: grid; min-width: 0; gap: 3px; }
.team-section-heading small { color: var(--pink); font: 820 .67rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.team-section-heading h2 { color: var(--ink); font-size: 1.4rem; letter-spacing: -.02em; }
.team-section-heading p { color: var(--berry); font-size: .8rem; line-height: 1.4; }
.team-table-panel > .table-shell { width: 100%; margin: 0; border: 0; border-radius: 0 0 23px 23px; }
.team-invitations-empty-state { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; min-height: 148px; padding: 26px; align-items: center; }
.team-invitations-empty-state > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: var(--mist); color: var(--pink); }
.team-invitations-empty-state > div { display: grid; gap: 5px; }
.team-invitations-empty-state strong { color: var(--ink); font: 800 1rem/1.25 var(--heading); }
.team-invitations-empty-state p { max-width: 650px; color: var(--berry); font-size: .82rem; line-height: 1.5; }
.team-member-cell { display: flex; min-width: 190px; align-items: center; gap: 11px; }
.team-member-cell > span { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--plum); font: 850 .7rem/1 var(--heading); }
.team-member-cell > div { display: grid; min-width: 0; gap: 2px; }
.team-member-cell small { font-size: .67rem; }
.team-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 750 .7rem/1 var(--heading); }
.team-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.team-status--active { background: #e8f7f0; color: #18734c; }
.team-status--suspended { background: #fff1d9; color: #9a5a08; }
.team-status--banned { background: #ffe6ef; color: #a52052; }
.team-status--pending { background: var(--mist); color: var(--plum); }
.team-status--expired { background: #f2eef1; color: #766675; }
.table-icon-action { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid #3f1a4028; border-radius: 11px; background: var(--white); color: var(--plum); transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.table-icon-action:hover { border-color: var(--plum); background: var(--mist); box-shadow: 0 3px 0 var(--plum); transform: translateY(-1px); }
.table-icon-action--danger { color: #a52052; }
.table-icon-action--danger:hover { border-color: #a52052; background: #fff0f5; box-shadow: 0 3px 0 #a52052; }
.table-icon-action svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.team-invitations-panel { margin-top: 0; }
.team-form-page { display: grid; min-width: 0; gap: 24px; }
.team-form-hero { position: relative; display: grid; min-height: 268px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 34px; padding: 36px 38px 78px; overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 83% 15%, #ff74b541 0 7%, transparent 28%), linear-gradient(135deg, #2b0c29 0%, #612055 60%, #962869 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.team-form-hero::after { position: absolute; right: -112px; bottom: -190px; width: 390px; height: 390px; border: 64px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.team-form-hero > * { position: relative; z-index: 1; }
.team-form-hero__copy { display: grid; max-width: 780px; justify-items: start; }
.team-form-hero__eyebrow { color: #ff9cca; font: 850 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.team-form-hero h1 { margin-top: 9px; color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.85rem); line-height: .98; letter-spacing: -.055em; }
.team-form-hero__copy > p { max-width: 690px; margin-top: 15px; color: #ffffffc9; font-size: .98rem; line-height: 1.55; }
.team-form-hero__member { display: flex; max-width: 100%; align-items: center; gap: 11px; margin-top: 18px; }
.team-form-hero__member > span { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 2px solid #ffffff9c; border-radius: 13px; background: #ffffff19; color: var(--white); font: 850 .72rem/1 var(--heading); }
.team-form-hero__member > div { display: grid; min-width: 0; gap: 3px; }
.team-form-hero__member strong, .team-form-hero__member small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-form-hero__member strong { color: var(--white); font: 800 .88rem/1.2 var(--heading); }
.team-form-hero__member small { color: #ffffffba; font-size: .74rem; }
.team-form-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 15px; color: #ffffffbd; font-size: .78rem; }
.team-form-hero__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.team-form-hero__meta > span + span::before { width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: #ff9cca; content: ""; }
.team-form-hero__actions { display: flex; min-width: 210px; align-items: center; justify-content: flex-end; gap: 10px; }
.team-form-hero__actions .mc-button { white-space: nowrap; }
.dashboard-body .team-form-hero__actions .mc-button--line:not(.mc-button--sm) { border-color: var(--white); background: #ffffff1b; color: var(--white); box-shadow: none; }
.dashboard-body .team-form-hero__actions .mc-button--line:not(.mc-button--sm):hover { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.team-form-hero__actions .page-danger-menu__trigger { border-color: #ffffff52; background: #ffffff0d; color: var(--white); box-shadow: none; }
.team-form-hero__actions .page-danger-menu__trigger:hover { border-color: var(--white); background: #ffffff18; color: var(--white); }
.team-form-hero__actions .dropup .page-danger-menu__menu { margin-top: 0 !important; margin-bottom: 8px !important; }
.team-form-steps { position: sticky; z-index: 55; top: 84px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: -66px 24px 0; overflow: hidden; border: 1px solid #3f1a4024; border-radius: 21px; background: #fffffff7; box-shadow: 0 16px 38px #21072520; backdrop-filter: blur(14px); }
.team-form-steps > a { display: grid; min-width: 0; min-height: 92px; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; padding: 18px 20px; border-right: 1px solid #3f1a4018; color: inherit; transition: background-color .18s ease, color .18s ease; }
.team-form-steps > a:last-child { border-right: 0; }
.team-form-steps > a:hover { background: #fff4f9; }
.team-form-steps > a > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--plum); color: var(--white); font: 900 .86rem/1 var(--heading); box-shadow: 0 3px 0 #230c25; }
.team-form-steps > a > span:last-child { display: grid; min-width: 0; gap: 4px; }
.team-form-steps strong { color: var(--ink); font: 820 .86rem/1.2 var(--heading); }
.team-form-steps small { overflow: hidden; color: var(--berry); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.team-form-steps > a.is-active { background: linear-gradient(145deg, #fff0f7, #fffafd); box-shadow: inset 0 -4px 0 var(--pink); }
.team-form-steps > a.is-active > span:first-child { background: var(--pink); box-shadow: 0 3px 0 var(--plum); }
.team-form-steps > a.is-active strong { color: var(--plum); }
.team-form-steps > a.is-active small { color: var(--pink); }
.team-form-layout { display: grid; min-width: 0; align-items: start; }
.team-form-layout--invitation { grid-template-columns: minmax(0, 1fr) minmax(250px, .36fr); gap: 22px; }
.team-form { display: grid; min-width: 0; gap: 22px; }
.team-form__main { display: grid; min-width: 0; gap: 22px; }
.team-form__card { position: relative; min-width: 0; scroll-margin-top: 194px; overflow: hidden; border: 1px solid #3f1a4024; border-radius: 24px; background: var(--white); box-shadow: 0 14px 36px #210b270c; }
.team-form__card:has([data-searchable-select]) { overflow: visible; }
.team-form__card:has(.searchable-select.is-open) { z-index: 65; }
.team-form__card:has([data-searchable-select]) .team-form__section-head { border-radius: 23px 23px 0 0; }
.team-form__section-head { display: flex; min-width: 0; align-items: flex-start; gap: 15px; padding: 25px 28px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff6fa 100%); }
.team-form__section-head > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 2px solid var(--plum); border-radius: 15px; background: var(--pink); color: var(--white); font: 900 .92rem/1 var(--heading); box-shadow: 0 3px 0 var(--plum); }
.team-form__section-head > div { min-width: 0; }
.team-form__section-head small { color: var(--pink); font: 820 .7rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.team-form__section-head h2 { margin-top: 6px; color: var(--ink); font-size: 1.42rem; }
.team-form__section-head p { max-width: 650px; margin-top: 6px; color: var(--berry); font-size: .88rem; line-height: 1.5; }
.team-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 28px; }
.team-form__fields--single { grid-template-columns: minmax(0, 1fr); }
.team-form__fields .form-field { margin: 0 !important; }
.team-form__fields .form-label { margin-bottom: 8px; color: var(--ink); font: 760 .82rem/1.2 var(--heading); }
.team-form__fields .form-control, .team-form__fields .form-select { min-height: 52px; padding: 12px 14px; border-width: 1.5px; border-color: #7a1b5c50; border-radius: 14px; background: #fffdfd; font-size: .92rem; }
.team-form__fields .form-control:focus, .team-form__fields .form-select:focus { border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 4px #ff3d9717; }
.team-form .searchable-select__control { min-height: 52px; padding: 9px 11px 9px 14px; border-width: 1.5px; border-color: #7a1b5c52; border-radius: 14px; background: var(--white); }
.team-form .searchable-select__value { font-size: .9rem; }
.team-form .searchable-select__chevron { width: 32px; height: 32px; flex-basis: 32px; background: #fff0f8; color: var(--berry); }
.team-form .field-help { margin-top: 7px; color: var(--berry); font-size: .75rem; line-height: 1.45; }
.team-form__actions { position: sticky; z-index: 25; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: -4px; padding: 13px; border: 1px solid #3f1a4024; border-radius: 17px; background: #fffafded; box-shadow: 0 10px 30px #210b2714; backdrop-filter: blur(16px); }
.team-form__actions > p { margin: 0 0 0 4px; color: var(--berry); font-size: .74rem; line-height: 1.4; }
.team-form__actions > div { display: flex; gap: 9px; margin-left: auto; }
.team-form.is-submitting .team-form__actions .mc-button { pointer-events: none; opacity: .68; }
.team-status-selector { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin: 0; padding: 28px; border: 0; }
.team-status-selector label { display: flex; min-height: 78px; align-items: center; gap: 13px; padding: 14px 17px; border: 1px solid #3f1a4028; border-radius: 14px; background: #fffafd; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.team-status-selector label:hover { border-color: #ff3d9740; transform: translateY(-1px); }
.team-status-selector label:has(input:checked) { border-color: var(--pink); background: var(--mist); box-shadow: inset 0 0 0 1px var(--pink); }
.team-status-selector input { width: 21px; height: 21px; flex: 0 0 21px; accent-color: var(--pink); }
.team-status-selector label > span { display: grid; gap: 3px; }
.team-status-selector strong { color: var(--ink); font: 800 .86rem/1.2 var(--heading); }
.team-status-selector small { color: var(--berry); font-size: .74rem; line-height: 1.45; }
.team-status-selector > .field-error { grid-column: 1 / -1; }
.team-remove-dialog > p { color: var(--berry); line-height: 1.55; }
.team-invitation-revoke-dialog form { display: grid; gap: 18px; }
.team-invitation-revoke-dialog form > p { margin: 0; color: var(--berry); font-size: .88rem; line-height: 1.55; }
.team-invitation-revoke-dialog__person { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid #3f1a4022; border-radius: 15px; background: var(--mist); }
.team-invitation-revoke-dialog__person small { color: var(--berry); font: 750 .68rem/1.2 var(--heading); letter-spacing: .055em; text-transform: uppercase; }
.team-invitation-revoke-dialog__person strong { color: var(--ink); font: 800 1rem/1.25 var(--heading); }
.team-invitation-revoke-dialog__person span { overflow-wrap: anywhere; color: var(--berry); font-size: .82rem; }
.team-invitation-guide { position: sticky; top: 194px; display: grid; gap: 18px; padding: 23px; border: 1px solid #3f1a4024; border-radius: 22px; background: linear-gradient(150deg, var(--white), #fff3f9); box-shadow: 0 12px 32px #210b270d; }
.team-invitation-guide > header { display: grid; gap: 5px; padding-bottom: 17px; border-bottom: 1px solid #3f1a4018; }
.team-invitation-guide > header small { color: var(--pink); font: 800 .66rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.team-invitation-guide > header strong { color: var(--ink); font: 850 1rem/1.25 var(--heading); }
.team-invitation-guide__step { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 12px; }
.team-invitation-guide__step > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--plum); color: var(--white); font: 800 .7rem/1 var(--heading); }
.team-invitation-guide__step > div { padding-top: 2px; }
.team-invitation-guide__step strong { color: var(--ink); font: 800 .82rem/1.2 var(--heading); }
.team-invitation-guide__step p { margin-top: 4px; color: var(--berry); font-size: .72rem; line-height: 1.45; }
.team-invitation-empty { display: grid; max-width: 850px; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: -66px auto 0; padding: 28px; border: 1px solid #3f1a4024; border-radius: 24px; background: var(--white); box-shadow: 0 14px 36px #210b270c; }
.team-invitation-empty > span { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 18px; background: var(--mist); color: var(--plum); }
.team-invitation-empty svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.team-invitation-empty > div { display: grid; gap: 5px; }
.team-invitation-empty small { color: var(--pink); font: 800 .67rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.team-invitation-empty h2 { color: var(--ink); font-size: 1.2rem; }
.team-invitation-empty p { max-width: 560px; color: var(--berry); font-size: .8rem; line-height: 1.5; }
@media (max-width: 840px) {
    .team-form-hero { min-height: 0; grid-template-columns: 1fr; align-items: start; padding-bottom: 78px; }
    .team-form-hero__actions { min-width: 0; justify-content: flex-start; }
}
.invitation-accept-card__eyebrow { display: inline-flex; width: fit-content; margin-bottom: 18px; padding: 7px 11px; border: 1px solid #ff3d9740; border-radius: 999px; background: var(--mist); color: var(--plum); font: 800 .66rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.invitation-accept-card__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 22px 0; padding: 13px; border: 1px solid #3f1a4022; border-radius: 15px; background: #fffafd; }
.invitation-accept-card__details span { display: grid; gap: 3px; color: var(--berry); font-size: .68rem; }
.invitation-accept-card__details span:last-child { grid-column: 1 / -1; }
.invitation-accept-card__details strong { overflow: hidden; color: var(--ink); font: 750 .78rem/1.25 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-form { display: flex; flex-direction: row; gap: 10px; align-items: end; }
.filter-form .form-field { flex: 1; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.program-page { display: grid; gap: 24px; }
.program-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.program-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.program-hero > * { position: relative; z-index: 1; }
.program-hero__copy { display: grid; max-width: 700px; gap: 8px; }
.program-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.program-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.program-hero p { max-width: 670px; color: #ffffffc9; font-size: 1rem; line-height: 1.5; }
.program-hero__aside { display: flex; min-width: 190px; align-items: stretch; flex-direction: column; gap: 12px; }
.program-hero__aside .mc-button { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.program-hero__aside .mc-button:hover { border-color: var(--white); background: #fff4f9; color: var(--plum); }
.program-page .program-wallet-browser { margin-top: 0; }
.program-editor-page { display: grid; min-width: 0; }
.program-editor-hero { position: relative; display: grid; min-height: 260px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 34px; padding: 36px 38px; overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 83% 15%, #ff74b541 0 7%, transparent 28%), linear-gradient(135deg, #2b0c29 0%, #612055 60%, #962869 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.program-editor-hero::after { position: absolute; right: -112px; bottom: -190px; width: 390px; height: 390px; border: 64px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.program-editor-hero > * { position: relative; z-index: 1; }
.program-editor-hero__copy { display: grid; max-width: 780px; justify-items: start; }
.program-editor-hero__eyebrow { color: #ff9cca; font: 850 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.program-editor-hero h1 { margin-top: 9px; color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.85rem); line-height: .98; letter-spacing: -.055em; }
.program-editor-hero__copy > p { max-width: 690px; margin-top: 15px; color: #ffffffc9; font-size: .98rem; line-height: 1.55; }
.program-editor-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 17px; color: #ffffffbd; font-size: .78rem; }
.program-editor-hero__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.program-editor-hero__meta > span + span::before { width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: #ff9cca; content: ""; }
.program-editor-hero__status { padding: 6px 9px; border-radius: 999px; background: #ffffff18; color: var(--white); font-weight: 800; }
.program-editor-hero__actions { display: flex; min-width: 210px; align-items: center; justify-content: flex-end; gap: 10px; }
.program-editor-hero__actions .mc-button { white-space: nowrap; }
.dashboard-body .program-editor-hero__actions .mc-button--line:not(.mc-button--sm) { border-color: var(--white); background: #ffffff1b; color: var(--white); box-shadow: none; }
.dashboard-body .program-editor-hero__actions .mc-button--line:not(.mc-button--sm):hover { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.program-editor-hero__actions .page-danger-menu__trigger { border-color: #ffffff52; background: #ffffff0d; color: var(--white); box-shadow: none; }
.program-editor-hero__actions .page-danger-menu__trigger:hover { border-color: var(--white); background: #ffffff18; color: var(--white); }
.program-editor-hero__actions .dropup .page-danger-menu__menu { margin-top: 0 !important; margin-bottom: 8px !important; }
@media (max-width: 840px) {
    .program-editor-hero { min-height: 0; grid-template-columns: 1fr; align-items: start; }
    .program-editor-hero__actions { min-width: 0; justify-content: flex-start; }
}
.program-tabs { position: sticky; top: 16px; z-index: 20; display: flex; max-width: 100%; flex-wrap: nowrap; gap: 5px; margin-top: 26px; padding: 6px; overflow-x: auto; border: 1px solid #3f1a4026; border-radius: 18px; background: #fffffff2; box-shadow: 0 10px 30px #210b2712; backdrop-filter: blur(18px); scrollbar-width: none; }
.program-tabs::-webkit-scrollbar { display: none; }
.program-tabs button { min-height: 42px; flex: 1 0 max-content; padding: 10px 17px; border: 0; border-radius: 12px; background: transparent; color: var(--berry); cursor: pointer; font: 700 .87rem/1 var(--heading); transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.program-tabs button:hover { background: var(--mist); color: var(--plum); }
.program-tabs button.is-active { background: var(--plum); color: var(--white); box-shadow: 0 3px 0 var(--pink); }
.program-tabs button:focus-visible { outline: 3px solid #ff3d9740; outline-offset: 1px; }
.program-tabs--numbered { counter-reset: programme-step; }
.program-tabs--numbered button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.program-tabs--numbered button::before { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 50%; background: #3f1a4012; content: counter(programme-step); counter-increment: programme-step; font: 850 .68rem/1 var(--heading); }
.program-tabs--numbered button.is-active::before { background: #ffffff20; }
.program-tabs--wizard button.is-complete::before { background: #dff7ec; color: #13704d; content: "✓"; }
.program-tabs--wizard button[aria-disabled="true"] { color: #8d7a87; cursor: default; opacity: .68; }
.program-editor-form { gap: 16px; margin-top: 16px; }
.program-editor-panel { min-width: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid #3f1a4026; border-radius: 26px; background: var(--white); box-shadow: 0 8px 28px #210b270c; }
.program-editor-panel[hidden], .program-editor-actions[hidden], .program-archive[hidden] { display: none; }
.program-editor-panel__head { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid #3f1a401a; }
.program-editor-panel__head > div { display: flex; gap: 14px; align-items: flex-start; }
.program-editor-panel__head > div > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--berry); font: 900 .76rem/1 var(--heading); }
.program-editor-panel__head h2 { color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.65rem); }
.program-editor-panel__head p { max-width: 680px; margin-top: 5px; color: var(--berry); font-size: .9rem; line-height: 1.45; }
.program-editor-section { display: grid; gap: 16px; }
.program-editor-section + .program-editor-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid #3f1a4014; }
.program-editor-section h3, .editor-control-group__head h3 { color: var(--ink); font-size: 1rem; }
.program-editor__capitalized-input { text-transform: capitalize; }
.program-editor-section--compact { max-width: 620px; }
.program-editor-section--compact .check-row { width: fit-content; }
.program-expiry-toggle { align-items: center; }
.program-expiry-toggle input { margin-top: 0; }
.expiry-field { max-width: 230px; margin: 2px 0 0 36px; }
.expiry-field[hidden] { display: none; }
.program-editor-actions { position: sticky; bottom: 14px; z-index: 15; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 14px 16px 14px 20px; border: 1px solid #3f1a4030; border-radius: 20px; background: #fffffff2; box-shadow: 0 12px 35px #210b2724; backdrop-filter: blur(18px); }
.program-editor-actions p { max-width: 630px; color: var(--berry); font-size: .8rem; line-height: 1.35; }
.program-editor-actions .mc-button { min-width: 220px; }
.program-editor-actions__buttons { display: flex; flex: 0 0 auto; gap: 10px; }
.program-editor-actions__buttons .mc-button { min-width: 150px; }
.program-editor-actions__buttons .mc-button:disabled { border-color: #cfc5cc; background: #ece8eb; color: #81747d; box-shadow: 0 3px 0 #c7bdc4; cursor: not-allowed; filter: saturate(.25); opacity: 1; pointer-events: auto; transform: none; }
.program-projection { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: stretch; }
.program-projection__controls { display: grid; align-content: start; gap: 12px; padding: 10px 0; }
.program-projection__controls h3 { color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.program-projection__controls > p { max-width: 590px; color: var(--berry); font-size: .96rem; line-height: 1.6; }
.program-projection__controls .form-field { max-width: 440px; margin-top: 12px; }
.program-projection__field-label { position: relative; display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 7px; }
.field-info-tooltip { display: inline-grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #e3f3ff; color: #0869ad; cursor: help; font: 850 .68rem/1 var(--heading); }
.field-info-tooltip:focus-visible { outline: 3px solid #1686d438; outline-offset: 2px; }
.field-info-tooltip__content { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 30; width: max-content; max-width: min(300px, calc(100vw - 44px)); padding: 10px 12px; visibility: hidden; border: 1px solid #afd8f4; border-radius: 11px; background: #f5fbff; color: #174663; box-shadow: 0 10px 28px #0a45651f; font: 650 .76rem/1.45 var(--body); opacity: 0; pointer-events: none; text-align: left; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.field-info-tooltip:hover .field-info-tooltip__content, .field-info-tooltip:focus-visible .field-info-tooltip__content { visibility: visible; opacity: 1; transform: translateY(0); }
.program-projection__money-input { display: grid; min-height: 56px; grid-template-columns: 52px minmax(0, 1fr); overflow: hidden; border: 2px solid #7a1b5c66; border-radius: 17px; background: #fffafd; transition: border-color .18s ease, box-shadow .18s ease; }
.program-projection__money-input:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d971c; }
.program-projection__money-input > span { display: grid; place-items: center; border-right: 1px solid #3f1a401c; background: var(--mist); color: var(--berry); font: 850 1rem/1 var(--heading); }
.form-field .program-projection__money-input input.form-control { width: 100%; min-width: 0; height: 100%; min-height: 52px; padding: 12px 17px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 1.05rem; }
.form-field .program-projection__money-input input.form-control:hover,
.form-field .program-projection__money-input input.form-control:focus,
.form-field .program-projection__money-input input.form-control:focus-visible { border: 0; outline: 0; background: transparent; box-shadow: none; }
.program-projection__money-input:has(input[aria-invalid="true"]) { border-color: var(--danger); }
.program-projection__explanation { display: grid; gap: 4px; margin-top: 8px; padding: 15px 17px; border-left: 4px solid var(--pink); border-radius: 0 14px 14px 0; background: #fff4f9; }
.program-projection__explanation strong { color: var(--ink); font-size: .86rem; }
.program-projection__explanation span { color: var(--berry); font-size: .8rem; }
.program-projection__preview { position: relative; display: flex; min-height: 470px; flex-direction: column; overflow: hidden; padding: clamp(24px, 4vw, 42px); border: 2px solid var(--plum); border-radius: 26px; background: linear-gradient(145deg, var(--plum), #7a1b5c); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.program-projection__preview::after { position: absolute; right: -70px; bottom: -90px; width: 260px; height: 260px; border: 42px solid #ffffff0b; border-radius: 50%; content: ""; }
.program-projection__preview > * { position: relative; z-index: 1; }
.program-projection__preview > span { color: #ff97c8; font: 850 .72rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.program-projection__preview > h3 { margin-top: 10px; color: var(--white); font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.program-projection__formula { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 34px; }
.program-projection__formula > div { display: grid; gap: 6px; padding: 16px; border: 1px solid #ffffff24; border-radius: 16px; background: #ffffff0c; }
.program-projection__formula small, .program-projection__result small { color: #ffffffb8; font-size: .73rem; }
.program-projection__formula strong { color: var(--white); font: 900 1.45rem/1 var(--heading); }
.program-projection__formula > b { color: #ff97c8; font-size: 1.45rem; }
.program-projection__result { display: grid; gap: 8px; margin-top: 16px; padding: 19px; border-radius: 18px; background: var(--pink); }
.program-projection__result strong { color: var(--white); font: 900 clamp(2.1rem, 4vw, 3rem)/1 var(--heading); letter-spacing: -.04em; }
.program-projection__profit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 11px; }
.program-projection__profit > div { display: grid; min-width: 0; gap: 5px; padding: 12px; border: 1px solid #ffffff22; border-radius: 13px; background: #ffffff0b; }
.program-projection__profit small { color: #ffffffb8; font-size: .66rem; line-height: 1.3; }
.program-projection__profit strong { overflow: hidden; color: var(--white); font: 850 .95rem/1.1 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.program-projection__preview > p { max-width: 570px; margin-top: auto; padding-top: 24px; color: #ffffffb8; font-size: .78rem; line-height: 1.5; }
.program-history { margin-top: 16px; }
.program-archive { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-top: 16px; padding: 20px 22px; border-radius: 20px; }
.program-archive p { color: var(--danger); font-size: .86rem; }
.archive-program-dialog { width: min(100% - 32px, 610px); padding: 0; overflow: hidden; }
.archive-program-dialog .mc-modal__header { padding: 21px 23px 16px; border-bottom: 1px solid #3f1a4017; }
.archive-program-dialog .mc-modal__header h2 { color: var(--ink); font-size: 1.2rem; }
.archive-program-dialog .mc-modal__header button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #3f1a4028; border-radius: 11px; background: var(--mist); color: var(--plum); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.archive-program-dialog__body { display: grid; gap: 18px; padding: 21px 23px 18px; }
.archive-program-dialog__body > p { color: var(--berry); font-size: .82rem; line-height: 1.55; }
.archive-program-dialog__body > p strong { color: var(--ink); }
.archive-program-impact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.archive-program-impact__item { display: grid; gap: 3px; padding: 15px; border: 1px solid #3f1a4026; border-radius: 16px; background: #fffafd; }
.archive-program-impact__item.has-impact { border-color: #a5205252; background: #fff3f6; }
.archive-program-impact__item > strong { color: var(--ink); font: 900 1.55rem/1 var(--heading); }
.archive-program-impact__item > span { color: var(--ink); font: 800 .78rem/1.25 var(--heading); }
.archive-program-impact__item > small { margin-top: 3px; color: var(--berry); font-size: .68rem; line-height: 1.4; }
.archive-program-dialog__preserved { padding: 11px 13px; border-left: 3px solid var(--plum); border-radius: 0 11px 11px 0; background: var(--mist); }
.archive-program-confirmation { gap: 7px; }
.archive-program-confirmation label { color: var(--ink); font-size: .78rem; }
.archive-program-confirmation input { min-height: 50px; border-width: 2px; font: 850 .9rem/1 var(--heading); letter-spacing: .08em; }
.archive-program-confirmation input:focus { border-color: #a52052; outline: 3px solid #a520521c; }
.archive-program-dialog__actions { display: grid; gap: 13px; padding: 0 23px 23px; text-align: center; }
.archive-program-dialog__actions .mc-button { width: 100%; }
.archive-program-submit { width: fit-content; margin: 0 auto; }
.archive-program-submit:disabled { color: #bba8b3; }
.settings-checks { display: grid; max-width: 680px; gap: 18px; }
.settings-checks .check-row { align-items: center; }
.settings-checks .check-row input { margin-top: 0; }
.program-location-access { display: grid; max-width: 820px; gap: 15px; }
.program-location-access__head { display: grid; gap: 5px; }
.program-location-access__head p { max-width: 680px; color: var(--berry); font-size: .86rem; line-height: 1.5; }
.program-location-access__all { width: fit-content; align-items: center; }
.program-location-access__all input { margin-top: 0; }
.program-location-access__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.program-location-access__list[hidden] { display: none; }
.program-location-option { min-width: 0; align-items: flex-start; padding: 14px 15px; border: 1px solid #3f1a4024; border-radius: 15px; background: #fffafd; cursor: pointer; }
.program-location-option:has(input:checked) { border-color: #ff3d9766; background: #fff3f9; box-shadow: 0 0 0 3px #ff3d970d; }
.program-location-option input { flex: 0 0 auto; }
.program-location-option span, .program-location-option strong, .program-location-option small { min-width: 0; }
.program-location-option strong, .program-location-option small { overflow-wrap: anywhere; }
.program-location-access__empty { color: var(--berry); font-size: .86rem; line-height: 1.5; }
@media (max-width: 720px) {
    .program-location-access__list { grid-template-columns: 1fr; }
}
.editor-control-group { padding: 18px; border: 1px solid #3f1a401c; border-radius: 20px; background: #fffafd; }
.editor-control-group + .editor-control-group { margin-top: 14px; }
.editor-control-group__head { margin-bottom: 14px; }
.editor-control-group__head p { margin-top: 4px; color: var(--berry); font-size: .78rem; line-height: 1.4; }
.color-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card-designer { display: grid; min-width: 0; gap: 18px; padding: 0; border: 0; }
.card-designer legend { margin-bottom: 6px; color: var(--ink); font: 800 1.15rem var(--heading); }
.design-template-picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: 24px; align-items: center; padding: 17px 18px; border: 1px solid #3f1a4024; border-radius: 18px; background: linear-gradient(120deg, #f7f2ff, #fffafd); }
.design-template-picker > div:first-child { display: grid; gap: 3px; }
.design-template-picker > div:first-child strong { color: var(--ink); font-size: .92rem; }
.design-template-picker > div:first-child span { max-width: 590px; color: var(--berry); font-size: .78rem; line-height: 1.4; }
.design-template-picker .form-field { gap: 5px; }
.design-template-picker .form-field label { font-size: .78rem; }
.design-template-picker select { min-height: 46px; background-color: var(--white); }
.design-template-picker small { min-height: 1.1em; color: var(--berry); font-size: .72rem; font-weight: 600; }
.card-randomizer { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 15px 17px; border: 1px solid #3f1a4024; border-radius: 18px; background: linear-gradient(120deg, #fffafd, #f8eef5); }
.card-randomizer > div:first-child { display: grid; gap: 2px; }
.card-randomizer strong { color: var(--ink); font-size: .9rem; }
.card-randomizer > div:first-child span { color: var(--berry); font-size: .76rem; line-height: 1.35; }
.card-randomizer__actions { display: flex; flex: 0 0 auto; gap: 9px; align-items: center; }
.card-randomizer__history-button { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; padding: 0; border: 2px solid var(--plum); border-radius: 50%; background: var(--white); color: var(--plum); box-shadow: 0 4px 0 var(--plum); cursor: pointer; transition: background .18s ease, box-shadow .18s ease, color .18s ease, opacity .18s ease, transform .18s ease; }
.card-randomizer__history-button:hover:not(:disabled) { background: #fff1f8; color: var(--pink); transform: translateY(-1px); box-shadow: 0 5px 0 var(--plum); }
.card-randomizer__history-button:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 var(--plum); }
.card-randomizer__history-button:disabled { border-color: #3f1a4038; background: #f3edf1; color: #7a687580; box-shadow: 0 3px 0 #3f1a4024; cursor: not-allowed; opacity: .72; }
.card-randomizer__history-button:focus-visible { outline: 3px solid #ff3d9745; outline-offset: 3px; }
.card-randomizer__history-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.card-randomizer__button { display: inline-flex; min-height: 44px; flex: 0 0 auto; gap: 8px; align-items: center; justify-content: center; padding: 9px 16px; border: 2px solid var(--plum); border-radius: 999px; background: var(--pink); color: var(--white); box-shadow: 0 4px 0 var(--plum); cursor: pointer; font: 800 .82rem var(--body); transition: box-shadow .18s ease, transform .18s ease; }
.card-randomizer__button:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--plum); }
.card-randomizer__button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--plum); }
.card-randomizer__button:focus-visible { outline: 3px solid #ff3d9745; outline-offset: 3px; }
.card-randomizer__button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.card-designer__intro, .card-designer__hint { color: var(--berry); }
.card-designer__intro { margin-top: -12px; }
.card-designer__hint { margin-top: 10px; font-size: .82rem; text-align: center; }
.card-designer__layout { display: grid; grid-template-columns: minmax(320px, .88fr) minmax(360px, 1.12fr); gap: clamp(24px, 4vw, 50px); align-items: start; }
.card-designer__controls { min-width: 0; }
.card-preview-shell { position: sticky; top: 96px; min-width: 0; padding: 22px; border-radius: 24px; background: linear-gradient(145deg, #fffafd, #f8eef5); }
.card-style-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card-style-option { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; align-items: center; min-height: 76px; padding: 10px; border: 2px solid #3f1a4024; border-radius: 16px; background: var(--white); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.card-style-option:hover { transform: translateY(-2px); border-color: #3f1a4060; }
.card-style-option:has(input:checked) { border-color: var(--pink); box-shadow: 0 3px 0 var(--plum); }
.card-style-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.card-style-option strong, .card-style-option small { display: block; }
.card-style-option strong { color: var(--ink); font-size: .9rem; }
.card-style-option small { margin-top: 2px; color: var(--berry); font-size: .7rem; line-height: 1.25; }
.card-style-option__sample { position: relative; display: grid; width: 54px; aspect-ratio: 1.58; place-items: center; overflow: hidden; border-radius: 8px; background: var(--plum); color: var(--white); }
.card-style-option__sample span { position: relative; z-index: 2; font: 900 .84rem var(--heading); letter-spacing: 0; }
.card-style-option__sample--monogram span { transform: scale(1.7); opacity: .46; }
.card-style-option__sample--waves::before, .card-style-option__sample--waves::after { position: absolute; width: 46px; height: 46px; border: 8px solid #ff3d9790; border-radius: 50%; content: ""; }
.card-style-option__sample--waves::before { right: -18px; top: -20px; }
.card-style-option__sample--waves::after { bottom: -29px; left: -15px; }
.card-style-option__sample--spotlight { background: radial-gradient(circle at 20% 20%, #ff3d97 0, transparent 40%), radial-gradient(circle at 85% 75%, #9b6bff 0, transparent 42%), var(--plum); }
.card-style-option__sample--minimal span { font-size: .7rem; opacity: .8; }
.card-style-option__sample--diagonal { background: linear-gradient(116deg, var(--plum) 0 43%, #ff3d97 44% 57%, var(--plum) 58%); }
.card-style-option__sample--orbit::before { position: absolute; width: 46px; height: 22px; border: 4px solid #ff3d97ad; border-radius: 50%; content: ""; transform: rotate(-18deg); }
.card-style-option__sample--confetti { background: radial-gradient(circle at 18% 24%, #ff3d97 0 3px, transparent 4px), radial-gradient(circle at 76% 20%, #9b6bff 0 4px, transparent 5px), radial-gradient(circle at 68% 76%, #ff3d97 0 3px, transparent 4px), radial-gradient(circle at 27% 72%, #9b6bff 0 2px, transparent 3px), var(--plum); }
.card-style-option__sample--grid { background: repeating-linear-gradient(0deg, transparent 0 11px, #ff3d9742 12px 13px), repeating-linear-gradient(90deg, transparent 0 11px, #ff3d9742 12px 13px), var(--plum); }
.card-style-option__sample--halo { background: radial-gradient(circle, transparent 0 12px, #ff3d9799 13px 17px, transparent 18px), var(--plum); }
.card-style-option__sample--horizon { background: radial-gradient(ellipse at 50% 115%, #ff3d97 0 38%, transparent 39%), var(--plum); }
.card-style-option__sample--frame { box-shadow: inset 0 0 0 4px var(--plum), inset 0 0 0 6px #ff3d97; }
.card-style-option__sample--pulse { background: repeating-radial-gradient(circle at 100% 50%, transparent 0 8px, #ff3d9752 9px 12px), var(--plum); }
.card-style-option__sample--aurora { background: radial-gradient(ellipse at 15% 25%, #45c4d8b8 0 20%, transparent 48%), radial-gradient(ellipse at 86% 78%, #ff3d97b8 0 19%, transparent 46%), var(--plum); }
.card-style-option__sample--stripes { background: repeating-linear-gradient(112deg, var(--plum) 0 9px, #ff3d9770 10px 14px); }
.card-style-option__sample--checker { background: conic-gradient(from 90deg, #ff3d9760 25%, var(--plum) 0 50%, #ff3d9760 0 75%, var(--plum) 0) 0 0 / 18px 18px; }
.card-style-option__sample--corner { background: linear-gradient(145deg, #ff3d97 0 30%, transparent 31%), var(--plum); }
.card-style-option__sample--split { background: linear-gradient(90deg, var(--plum) 0 50%, #ff3d97 50%); }
.card-style-option__sample--arch { background: radial-gradient(ellipse at 50% 112%, transparent 0 30%, #ff3d9790 31% 47%, transparent 48%), var(--plum); }
.card-style-option__sample--diamonds { background: linear-gradient(45deg, #ff3d9754 25%, transparent 25%) 0 0 / 18px 18px, linear-gradient(-45deg, #ff3d9754 25%, transparent 25%) 0 0 / 18px 18px, var(--plum); }
.card-style-option__sample--sunburst { background: repeating-conic-gradient(from 20deg at 82% 50%, #ff3d9770 0 12deg, transparent 12deg 28deg), var(--plum); }
.card-style-option__sample--steps { background: linear-gradient(135deg, transparent 0 50%, #ff3d9752 50% 62%, transparent 62% 70%, #ff3d9738 70% 82%, transparent 82%), var(--plum); }
.card-style-option__sample--capsule::before { position: absolute; width: 44px; height: 18px; border-radius: 999px; background: #ff3d978a; content: ""; transform: rotate(-18deg); }
.card-style-option__sample--duo { background: radial-gradient(circle at 36% 50%, #ff3d978a 0 13px, transparent 14px), radial-gradient(circle at 65% 50%, #9b6bff8a 0 13px, transparent 14px), var(--plum); }
.card-style-option__sample--topography { background: repeating-radial-gradient(ellipse at 75% 65%, transparent 0 7px, #ff3d9748 8px 9px), var(--plum); }
.card-style-option__sample--breeze { background: radial-gradient(ellipse at -10% 30%, transparent 0 36%, #ff3d9772 38% 45%, transparent 47%), radial-gradient(ellipse at 110% 75%, transparent 0 35%, #9b6bff62 37% 44%, transparent 46%), var(--plum); }
.card-style-option__sample--petals { background: radial-gradient(ellipse at 50% 24%, #ff3d9780 0 18%, transparent 20%), radial-gradient(ellipse at 76% 50%, #ff3d9780 0 18%, transparent 20%), radial-gradient(ellipse at 50% 76%, #9b6bff80 0 18%, transparent 20%), radial-gradient(ellipse at 24% 50%, #9b6bff80 0 18%, transparent 20%), var(--plum); }
.card-style-option__sample--circuit { background: linear-gradient(90deg, transparent 46%, #ff3d9766 47% 51%, transparent 52%), linear-gradient(0deg, transparent 46%, #ff3d9766 47% 51%, transparent 52%), var(--plum); }
.card-style-option__sample--skyline { background: linear-gradient(to top, #ff3d9768 0 34%, transparent 35%) 0 100% / 12px 75% repeat-x, var(--plum); }
.card-style-option__sample--eclipse { background: radial-gradient(circle at 78% 36%, #ff3d9794 0 27%, transparent 29%), var(--plum); }
.card-style-option__sample--facets { background: conic-gradient(from 32deg at 58% 52%, #ff3d9780, transparent 22%, #9b6bff75 40%, transparent 63%, #ff3d9752 82%, transparent), var(--plum); }
.card-style-option__sample--terrazzo { background: radial-gradient(ellipse at 15% 20%, #ff3d97 0 4px, transparent 5px), radial-gradient(ellipse at 75% 25%, #9b6bff 0 5px, transparent 6px), radial-gradient(ellipse at 35% 76%, #45c4d8 0 4px, transparent 5px), radial-gradient(ellipse at 86% 72%, #ff3d97 0 3px, transparent 4px), var(--plum); }
.card-style-option__sample--cross { background: linear-gradient(90deg, transparent 37%, #ff3d9780 38% 62%, transparent 63%), linear-gradient(0deg, transparent 33%, #ff3d9780 34% 66%, transparent 67%), var(--plum); }
.card-style-option__sample--mesh { background: repeating-linear-gradient(45deg, transparent 0 9px, #ff3d9748 10px 11px), repeating-linear-gradient(-45deg, transparent 0 9px, #9b6bff48 10px 11px), var(--plum); }
.card-style-option__sample--blocks { background: conic-gradient(from 90deg at 50% 50%, #ff3d9780 25%, transparent 0 50%, #9b6bff70 0 75%, transparent 0), var(--plum); }
.card-style-option__sample--portal { background: radial-gradient(ellipse at 50% 105%, transparent 0 23%, #ff3d9785 25% 36%, transparent 38% 48%, #9b6bff65 50% 58%, transparent 60%), var(--plum); }
.card-style-option__sample--comet { background: radial-gradient(circle at 72% 28%, #fff 0 3px, #ff3d97 4px 7px, transparent 8px), linear-gradient(145deg, transparent 0 48%, #ff3d9770 49% 53%, transparent 54%), var(--plum); }
.card-style-option__sample--chevrons { background: linear-gradient(135deg, transparent 41%, #ff3d9768 42% 50%, transparent 51%) 0 0 / 22px 22px, linear-gradient(45deg, transparent 41%, #ff3d9768 42% 50%, transparent 51%) 0 11px / 22px 22px, var(--plum); }
.card-style-option__sample--bubbles { background: radial-gradient(circle at 24% 26%, #ff3d9775 0 7px, transparent 8px), radial-gradient(circle at 72% 28%, #9b6bff70 0 10px, transparent 11px), radial-gradient(circle at 48% 76%, #ff3d9758 0 12px, transparent 13px), var(--plum); }
.card-style-option__sample--zigzag { background: linear-gradient(135deg, #ff3d9760 25%, transparent 25%) -9px 0 / 18px 18px, linear-gradient(225deg, #ff3d9760 25%, transparent 25%) -9px 0 / 18px 18px, var(--plum); }
.card-style-option__sample--marble { background: radial-gradient(ellipse at 12% 82%, transparent 0 38%, #ff3d9762 40% 44%, transparent 46%), radial-gradient(ellipse at 92% 10%, transparent 0 35%, #9b6bff55 37% 41%, transparent 43%), var(--plum); }
.card-style-option__sample--window { background: linear-gradient(#ff3d9770, #ff3d9770) 50% 0 / 3px 100% no-repeat, linear-gradient(90deg, #ff3d9770, #ff3d9770) 0 50% / 100% 3px no-repeat, var(--plum); box-shadow: inset 0 0 0 5px var(--plum), inset 0 0 0 7px #ff3d97; }
.card-style-option__sample--beam { background: linear-gradient(122deg, transparent 0 39%, #ff3d9790 40% 60%, transparent 61%), var(--plum); }
.card-style-option__sample--badge { background: radial-gradient(circle, #ff3d9790 0 15px, transparent 16px 19px, #ff3d9745 20px 22px, transparent 23px), var(--plum); }
.card-style-option__sample--slices { background: conic-gradient(from 20deg at 50% 50%, #ff3d9785 0 22%, transparent 22% 46%, #9b6bff75 46% 68%, transparent 68%), var(--plum); }
.card-style-option__sample--clouds { background: radial-gradient(ellipse at 20% 65%, #ff3d9762 0 14px, transparent 15px), radial-gradient(ellipse at 44% 55%, #ff3d9762 0 17px, transparent 18px), radial-gradient(ellipse at 72% 66%, #9b6bff58 0 15px, transparent 16px), var(--plum); }
.card-style-option__sample--pebbles { background: radial-gradient(ellipse at 22% 24%, #ff3d9768 0 9px, transparent 10px), radial-gradient(ellipse at 72% 28%, #9b6bff62 0 12px, transparent 13px), radial-gradient(ellipse at 28% 76%, #9b6bff55 0 11px, transparent 12px), radial-gradient(ellipse at 78% 72%, #ff3d975d 0 8px, transparent 9px), var(--plum); }
.card-style-option__sample--fan { background: repeating-conic-gradient(from 210deg at 15% 100%, #ff3d9762 0 8deg, transparent 8deg 20deg), var(--plum); }
.card-style-option__sample--spiral { background: repeating-radial-gradient(circle at 55% 52%, transparent 0 6px, #ff3d974f 7px 9px), var(--plum); }
.card-style-option__sample--rings { background: repeating-radial-gradient(circle at 72% 48%, transparent 0 6px, #ff3d975a 7px 9px), var(--plum); }
.card-style-option__sample--constellation { background: radial-gradient(circle at 18% 24%, #fff 0 2px, transparent 3px), radial-gradient(circle at 46% 66%, #ff3d97 0 2px, transparent 3px), radial-gradient(circle at 76% 27%, #fff 0 2px, transparent 3px), linear-gradient(32deg, transparent 0 46%, #ff3d9760 47% 49%, transparent 50%), var(--plum); }
.card-style-option__sample--ribbon { background: linear-gradient(155deg, transparent 0 35%, #ff3d9785 36% 50%, #9b6bff75 51% 62%, transparent 63%), var(--plum); }
.card-style-option__sample--tiles { background: linear-gradient(45deg, transparent 45%, #ff3d9760 46% 54%, transparent 55%) 0 0 / 17px 17px, linear-gradient(-45deg, transparent 45%, #ff3d9740 46% 54%, transparent 55%) 8px 8px / 17px 17px, var(--plum); }
.card-style-option__sample--sunrise { background: repeating-conic-gradient(from 245deg at 50% 110%, #ff3d9768 0 8deg, transparent 8deg 18deg), radial-gradient(circle at 50% 110%, #ff3d97 0 28%, transparent 29%), var(--plum); }
.card-style-option__sample--dunes { background: radial-gradient(ellipse at 15% 110%, #ff3d9768 0 48%, transparent 49%), radial-gradient(ellipse at 90% 115%, #9b6bff60 0 55%, transparent 56%), var(--plum); }
.card-style-option__sample--raindrops { background: radial-gradient(ellipse at 18% 24%, #ff3d9780 0 4px, transparent 5px), radial-gradient(ellipse at 54% 62%, #9b6bff70 0 5px, transparent 6px), radial-gradient(ellipse at 82% 26%, #ff3d9768 0 4px, transparent 5px), var(--plum); }
.card-style-option__sample--prism { background: conic-gradient(from 25deg at 50% 50%, #ff3d9780, transparent 28%, #9b6bff72 29% 54%, transparent 55% 76%, #45c4d862 77%), var(--plum); }
.card-style-option__sample--weave { background: repeating-linear-gradient(0deg, transparent 0 8px, #ff3d974c 9px 13px), repeating-linear-gradient(90deg, transparent 0 10px, #9b6bff45 11px 15px), var(--plum); }
.card-style-option__sample--scallops { background: radial-gradient(circle at 0 100%, transparent 0 8px, #ff3d976a 9px 13px, transparent 14px) 0 0 / 22px 18px, var(--plum); }
.card-style-option__sample--hourglass { background: conic-gradient(from 45deg at 50% 50%, transparent 0 25%, #ff3d9775 25% 50%, transparent 50% 75%, #9b6bff65 75%), var(--plum); }
.card-style-option__sample--domino { background: radial-gradient(circle at 28% 32%, #ff3d97 0 4px, transparent 5px), radial-gradient(circle at 72% 68%, #9b6bff 0 4px, transparent 5px), linear-gradient(145deg, transparent 47%, #ffffff55 48% 52%, transparent 53%), var(--plum); }
.card-style-option__sample--starfield { background: radial-gradient(circle at 12% 22%, #fff 0 2px, transparent 3px), radial-gradient(circle at 38% 72%, #ff3d97 0 3px, transparent 4px), radial-gradient(circle at 67% 29%, #fff 0 2px, transparent 3px), radial-gradient(circle at 86% 73%, #9b6bff 0 2px, transparent 3px), var(--plum); }
.card-style-option__sample--cascade { background: linear-gradient(135deg, transparent 0 25%, #ff3d9780 26% 38%, transparent 39% 48%, #9b6bff68 49% 62%, transparent 63% 72%, #ff3d9750 73% 85%, transparent 86%), var(--plum); }
.card-style-option__sample--mosaic { background: conic-gradient(from 15deg at 35% 45%, #ff3d9780 0 25%, transparent 0 50%, #9b6bff65 0 75%, transparent 0), conic-gradient(from 45deg at 75% 68%, #45c4d86a 0 25%, transparent 0 50%, #ff3d974f 0 75%, transparent 0), var(--plum); }
.card-style-option__sample--lattice { background: repeating-linear-gradient(62deg, transparent 0 10px, #ff3d974f 11px 13px), repeating-linear-gradient(-62deg, transparent 0 10px, #9b6bff4a 11px 13px), var(--plum); }
.card-style-option__sample--honeycomb { background: linear-gradient(30deg, transparent 24%, #ff3d9755 25% 27%, transparent 28% 74%, #ff3d9755 75% 77%, transparent 78%) 0 0 / 30px 18px, linear-gradient(150deg, transparent 24%, #9b6bff4f 25% 27%, transparent 28% 74%, #9b6bff4f 75% 77%, transparent 78%) 0 0 / 30px 18px, var(--plum); }
.card-style-option__sample--mountains { background: linear-gradient(135deg, transparent 0 50%, #ff3d9775 51% 72%, transparent 73%) 0 100% / 46px 42px repeat-x, linear-gradient(45deg, transparent 0 50%, #9b6bff60 51% 72%, transparent 73%) 23px 100% / 46px 42px repeat-x, var(--plum); }
.card-style-option__sample--soundwave { background: radial-gradient(ellipse at 50% 50%, transparent 0 17%, #ff3d9770 18% 21%, transparent 22% 31%, #9b6bff62 32% 35%, transparent 36% 45%, #ff3d974a 46% 49%, transparent 50%), var(--plum); }
.card-style-option__sample--radar { background: repeating-radial-gradient(circle at 68% 48%, transparent 0 8px, #ff3d974f 9px 10px), linear-gradient(90deg, transparent 67%, #9b6bff66 68% 69%, transparent 70%), var(--plum); }
.card-style-option__sample--braid { background: repeating-linear-gradient(38deg, transparent 0 12px, #ff3d9765 13px 18px, transparent 19px 30px), repeating-linear-gradient(-38deg, transparent 0 12px, #9b6bff52 13px 18px, transparent 19px 30px), var(--plum); }
.card-style-option__sample--shards { background: conic-gradient(from 12deg at 55% 48%, #ff3d9780 0 8%, transparent 8% 25%, #9b6bff70 25% 34%, transparent 34% 61%, #45c4d865 61% 70%, transparent 70%), var(--plum); }
.card-style-option__sample--lanes { background: repeating-linear-gradient(0deg, transparent 0 9px, #ff3d9760 10px 14px, transparent 15px 20px, #9b6bff45 21px 23px), var(--plum); }
.card-style-option__sample--spheres { background: radial-gradient(circle at 18% 30%, #ff3d9770 0 10px, transparent 11px), radial-gradient(circle at 58% 66%, #9b6bff65 0 15px, transparent 16px), radial-gradient(circle at 88% 22%, #45c4d85c 0 8px, transparent 9px), var(--plum); }
.card-style-option__sample--leaves { background: radial-gradient(ellipse at 24% 28%, #ff3d9768 0 10px, transparent 11px), radial-gradient(ellipse at 72% 30%, #9b6bff62 0 12px, transparent 13px), radial-gradient(ellipse at 48% 76%, #ff3d9750 0 13px, transparent 14px), var(--plum); }
.card-style-option__sample--sprinkles { background: linear-gradient(24deg, transparent 45%, #ff3d97 46% 54%, transparent 55%) 0 0 / 25px 21px, linear-gradient(-32deg, transparent 45%, #9b6bff 46% 54%, transparent 55%) 12px 10px / 29px 25px, var(--plum); }
.card-style-option__sample--infinity { background: radial-gradient(circle at 39% 50%, transparent 0 12px, #ff3d9770 13px 17px, transparent 18px), radial-gradient(circle at 61% 50%, transparent 0 12px, #9b6bff70 13px 17px, transparent 18px), var(--plum); }
.card-style-option__sample--pinstripes { background: repeating-linear-gradient(90deg, transparent 0 8px, #ff3d9748 9px 10px, transparent 11px 17px, #9b6bff38 18px 19px), var(--plum); }
.card-style-option__sample--terraces { background: repeating-radial-gradient(ellipse at 50% 112%, transparent 0 10px, #ff3d9752 11px 14px), var(--plum); }
.card-style-option__sample--compass { background: radial-gradient(circle, transparent 0 15px, #ff3d9766 16px 18px, transparent 19px), conic-gradient(from 45deg, transparent 0 22%, #9b6bff70 23% 27%, transparent 28% 47%, #ff3d9770 48% 52%, transparent 53%), var(--plum); }
.card-style-option__sample--equalizer { background: linear-gradient(to top, #ff3d9770 0 62%, transparent 63%) 9px 100% / 7px 70% no-repeat, linear-gradient(to top, #9b6bff70 0 82%, transparent 83%) 27px 100% / 7px 70% no-repeat, linear-gradient(to top, #ff3d9758 0 42%, transparent 43%) 45px 100% / 7px 70% no-repeat, linear-gradient(to top, #9b6bff58 0 70%, transparent 71%) 63px 100% / 7px 70% no-repeat, var(--plum); }
.card-style-option__sample--snowfall { background: radial-gradient(circle at 12% 18%, #fff 0 2px, transparent 3px), radial-gradient(circle at 35% 72%, #ff3d97 0 3px, transparent 4px), radial-gradient(circle at 59% 34%, #fff 0 2px, transparent 3px), radial-gradient(circle at 84% 78%, #9b6bff 0 3px, transparent 4px), radial-gradient(circle at 91% 17%, #fff 0 2px, transparent 3px), var(--plum); }
.card-style-option__sample--flame { background: radial-gradient(ellipse at 50% 74%, #ff3d9785 0 15%, transparent 16%), radial-gradient(ellipse at 58% 55%, #9b6bff70 0 10%, transparent 11%), radial-gradient(ellipse at 44% 39%, #ff3d975c 0 8%, transparent 9%), var(--plum); }
.card-style-option__sample--links { background: radial-gradient(ellipse at 37% 50%, transparent 0 13px, #ff3d9770 14px 18px, transparent 19px), radial-gradient(ellipse at 63% 50%, transparent 0 13px, #9b6bff70 14px 18px, transparent 19px), var(--plum); }
.card-style-option__sample--origami { background: conic-gradient(from 45deg at 50% 50%, #ff3d9780 0 12%, transparent 12% 25%, #9b6bff70 25% 37%, transparent 37% 50%, #45c4d860 50% 62%, transparent 62% 75%, #ff3d9750 75% 87%, transparent 87%), var(--plum); }
.card-style-option__sample--barcode { background: repeating-linear-gradient(90deg, transparent 0 4px, #ff3d9780 5px 7px, transparent 8px 11px, #9b6bff65 12px 16px, transparent 17px 20px), var(--plum); }
.card-option-scroll { max-height: 268px; padding: 2px 8px 5px 2px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: var(--pink) #f2e7ee; scrollbar-gutter: stable; scrollbar-width: thin; }
.card-option-scroll--palettes { max-height: 232px; }
.card-option-scroll::-webkit-scrollbar { width: 8px; }
.card-option-scroll::-webkit-scrollbar-track { border-radius: 999px; background: #f2e7ee; }
.card-option-scroll::-webkit-scrollbar-thumb { border: 2px solid #f2e7ee; border-radius: 999px; background: var(--pink); }
.card-option-scroll:focus-visible { border-radius: 14px; outline: 3px solid #ff3d9740; outline-offset: 3px; }
.card-palette-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.card-palette-option { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); min-height: 64px; gap: 10px; align-items: center; padding: 9px 10px; border: 2px solid #3f1a4020; border-radius: 15px; background: var(--white); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.card-palette-option:hover { transform: translateY(-2px); border-color: #3f1a4052; }
.card-palette-option:has(input:checked) { border-color: var(--pink); box-shadow: 0 3px 0 var(--plum); }
.card-palette-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.card-palette-option strong, .card-palette-option small { display: block; }
.card-palette-option strong { color: var(--ink); font-size: .82rem; }
.card-palette-option small { margin-top: 2px; color: var(--berry); font-size: .66rem; line-height: 1.2; }
.card-palette-option__swatches { position: relative; display: flex; width: 48px; height: 34px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #3f1a4026; border-radius: 10px; background: var(--palette-background); }
.card-palette-option__swatches i:first-child { position: absolute; inset: 0 42% 0 0; background: var(--palette-background); }
.card-palette-option__swatches i:last-child { position: absolute; inset: 0 0 0 58%; background: var(--palette-accent); }
.card-palette-option__custom-icon { position: relative; display: grid; width: 48px; height: 34px; place-items: center; border: 1px dashed #7a1b5c80; border-radius: 10px; background: #fffafd; }
.card-palette-option__custom-icon::before { width: 19px; height: 19px; border-radius: 50%; background: conic-gradient(#ff3d97, #8c66ee, #45c4d8, #a7d96b, #f1b84b, #ff3d97); content: ""; }
.card-palette-option__custom-icon i { position: absolute; width: 7px; height: 7px; border: 2px solid var(--white); border-radius: 50%; background: var(--plum); }
.card-palette-option--custom { width: 100%; margin-top: 10px; }
.card-custom-colors { margin-top: 14px; padding-top: 14px; border-top: 1px solid #3f1a401a; }
.card-custom-colors[hidden] { display: none; }
.card-text-designer .check-row { align-items: center; }
.card-text-designer .check-row span { display: grid; gap: 2px; }
.card-text-designer .check-row small { color: var(--berry); font-size: .75rem; font-weight: 500; line-height: 1.3; }
.card-text-color-controls { margin-top: 16px; padding-top: 16px; border-top: 1px solid #3f1a401a; }
.card-text-color-controls[hidden] { display: none; }
.color-field-grid--card-text { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-design-preview { --card-background: #3f1a40; --card-accent: #ff3d97; --card-progress: 20%; position: relative; display: flex; width: min(100%, 500px); aspect-ratio: 1.58; margin: 0 auto; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 16px; border: 1.25px solid #ffffff38; border-radius: 24px; background: var(--card-background); color: var(--white); box-shadow: 0 14px 28px #210b2730; isolation: isolate; }
.card-design-preview.is-light { color: var(--deep); }
.card-design-preview::before, .card-design-preview::after { position: absolute; z-index: -1; pointer-events: none; content: ""; }
.card-design-preview[data-pattern="monogram"] .card-design-preview__art span { display: block; opacity: .16; transform: rotate(-8deg); font-size: clamp(7rem, 15vw, 10rem); }
.card-design-preview[data-pattern="waves"]::before, .card-design-preview[data-pattern="waves"]::after { width: 260px; height: 260px; border: 48px solid color-mix(in srgb, var(--card-accent) 38%, transparent); border-radius: 50%; }
.card-design-preview[data-pattern="waves"]::before { top: -190px; right: -70px; }
.card-design-preview[data-pattern="waves"]::after { bottom: -210px; left: -85px; }
.card-design-preview[data-pattern="waves"] .card-design-preview__art span { display: none; }
.card-design-preview[data-pattern="spotlight"] { background: radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--card-accent) 36%, var(--card-background)) 0, transparent 42%), radial-gradient(circle at 90% 85%, color-mix(in srgb, var(--card-accent) 24%, transparent) 0, transparent 46%), var(--card-background); }
.card-design-preview[data-pattern="spotlight"] .card-design-preview__art span { display: block; opacity: .09; transform: rotate(-8deg); font-size: clamp(7rem, 15vw, 10rem); }
.card-design-preview[data-pattern="minimal"] .card-design-preview__art { display: none; }
.card-design-preview[data-pattern="diagonal"] { background: linear-gradient(116deg, transparent 0 47%, color-mix(in srgb, var(--card-accent) 82%, transparent) 47.5% 57%, transparent 57.5%), var(--card-background); }
.card-design-preview[data-pattern="diagonal"]::after { inset: 0 auto 0 63%; width: 11%; background: color-mix(in srgb, var(--card-accent) 19%, transparent); transform: skewX(-26deg); }
.card-design-preview[data-pattern="orbit"]::before, .card-design-preview[data-pattern="orbit"]::after { border: 18px solid color-mix(in srgb, var(--card-accent) 38%, transparent); border-radius: 50%; transform: rotate(-16deg); }
.card-design-preview[data-pattern="orbit"]::before { top: -38px; right: -72px; width: 250px; height: 124px; }
.card-design-preview[data-pattern="orbit"]::after { bottom: -58px; left: -72px; width: 210px; height: 104px; opacity: .68; }
.card-design-preview[data-pattern="confetti"] { background: radial-gradient(circle at 12% 22%, var(--card-accent) 0 5px, transparent 6px), radial-gradient(circle at 83% 18%, color-mix(in srgb, var(--card-accent) 65%, white) 0 7px, transparent 8px), radial-gradient(circle at 72% 75%, var(--card-accent) 0 4px, transparent 5px), radial-gradient(circle at 22% 82%, color-mix(in srgb, var(--card-accent) 58%, white) 0 6px, transparent 7px), radial-gradient(circle at 92% 52%, var(--card-accent) 0 3px, transparent 4px), var(--card-background); }
.card-design-preview[data-pattern="grid"] { background: repeating-linear-gradient(0deg, transparent 0 38px, color-mix(in srgb, var(--card-accent) 18%, transparent) 39px 40px), repeating-linear-gradient(90deg, transparent 0 38px, color-mix(in srgb, var(--card-accent) 18%, transparent) 39px 40px), var(--card-background); }
.card-design-preview[data-pattern="halo"] { background: radial-gradient(circle at 52% 48%, transparent 0 26%, color-mix(in srgb, var(--card-accent) 42%, transparent) 26.5% 34%, transparent 34.5%), var(--card-background); }
.card-design-preview[data-pattern="horizon"] { background: radial-gradient(ellipse at 50% 125%, color-mix(in srgb, var(--card-accent) 76%, var(--card-background)) 0 45%, transparent 45.5%), var(--card-background); }
.card-design-preview[data-pattern="frame"]::before { inset: 13px; border: 2px solid color-mix(in srgb, var(--card-accent) 62%, transparent); border-radius: 15px; }
.card-design-preview[data-pattern="frame"]::after { inset: 18px; border: 1px solid color-mix(in srgb, var(--card-accent) 24%, transparent); border-radius: 11px; }
.card-design-preview[data-pattern="pulse"] { background: repeating-radial-gradient(circle at 103% 50%, transparent 0 34px, color-mix(in srgb, var(--card-accent) 24%, transparent) 35px 49px), var(--card-background); }
.card-design-preview[data-pattern="aurora"] { background: radial-gradient(ellipse at 12% 18%, color-mix(in srgb, var(--card-accent) 60%, transparent) 0 8%, transparent 46%), radial-gradient(ellipse at 86% 84%, color-mix(in srgb, var(--card-accent) 42%, white) 0 7%, transparent 44%), var(--card-background); }
.card-design-preview[data-pattern="stripes"] { background: repeating-linear-gradient(112deg, transparent 0 42px, color-mix(in srgb, var(--card-accent) 24%, transparent) 43px 58px), var(--card-background); }
.card-design-preview[data-pattern="checker"] { background: conic-gradient(from 90deg, color-mix(in srgb, var(--card-accent) 17%, transparent) 25%, transparent 0 50%, color-mix(in srgb, var(--card-accent) 17%, transparent) 0 75%, transparent 0) 0 0 / 72px 72px, var(--card-background); }
.card-design-preview[data-pattern="corner"] { background: linear-gradient(145deg, color-mix(in srgb, var(--card-accent) 78%, transparent) 0 27%, transparent 27.5%), var(--card-background); }
.card-design-preview[data-pattern="split"] { background: linear-gradient(90deg, var(--card-background) 0 55%, color-mix(in srgb, var(--card-accent) 68%, var(--card-background)) 55%); }
.card-design-preview[data-pattern="arch"] { background: radial-gradient(ellipse at 50% 119%, transparent 0 40%, color-mix(in srgb, var(--card-accent) 42%, transparent) 40.5% 53%, transparent 53.5%), var(--card-background); }
.card-design-preview[data-pattern="diamonds"] { background: linear-gradient(45deg, color-mix(in srgb, var(--card-accent) 16%, transparent) 25%, transparent 25%) 0 0 / 62px 62px, linear-gradient(-45deg, color-mix(in srgb, var(--card-accent) 16%, transparent) 25%, transparent 25%) 0 0 / 62px 62px, var(--card-background); }
.card-design-preview[data-pattern="sunburst"] { background: repeating-conic-gradient(from 20deg at 88% 54%, color-mix(in srgb, var(--card-accent) 26%, transparent) 0 10deg, transparent 10deg 25deg), var(--card-background); }
.card-design-preview[data-pattern="steps"] { background: linear-gradient(135deg, transparent 0 53%, color-mix(in srgb, var(--card-accent) 29%, transparent) 53% 63%, transparent 63% 70%, color-mix(in srgb, var(--card-accent) 18%, transparent) 70% 80%, transparent 80%), var(--card-background); }
.card-design-preview[data-pattern="capsule"]::before { top: 18%; right: -10%; width: 68%; height: 38%; border-radius: 999px; background: color-mix(in srgb, var(--card-accent) 35%, transparent); transform: rotate(-17deg); }
.card-design-preview[data-pattern="duo"] { background: radial-gradient(circle at 37% 51%, color-mix(in srgb, var(--card-accent) 34%, transparent) 0 22%, transparent 22.5%), radial-gradient(circle at 67% 51%, color-mix(in srgb, var(--card-accent) 20%, white) 0 22%, transparent 22.5%), var(--card-background); }
.card-design-preview[data-pattern="topography"] { background: repeating-radial-gradient(ellipse at 78% 65%, transparent 0 24px, color-mix(in srgb, var(--card-accent) 18%, transparent) 25px 28px), var(--card-background); }
.card-design-preview[data-pattern="breeze"] { background: radial-gradient(ellipse at -8% 28%, transparent 0 34%, color-mix(in srgb, var(--card-accent) 32%, transparent) 35% 43%, transparent 44%), radial-gradient(ellipse at 108% 78%, transparent 0 34%, color-mix(in srgb, var(--card-accent) 21%, transparent) 35% 43%, transparent 44%), var(--card-background); }
.card-design-preview[data-pattern="petals"] { background: radial-gradient(ellipse at 50% 18%, color-mix(in srgb, var(--card-accent) 30%, transparent) 0 17%, transparent 17.5%), radial-gradient(ellipse at 77% 50%, color-mix(in srgb, var(--card-accent) 26%, transparent) 0 17%, transparent 17.5%), radial-gradient(ellipse at 50% 82%, color-mix(in srgb, var(--card-accent) 20%, transparent) 0 17%, transparent 17.5%), radial-gradient(ellipse at 23% 50%, color-mix(in srgb, var(--card-accent) 24%, transparent) 0 17%, transparent 17.5%), var(--card-background); }
.card-design-preview[data-pattern="circuit"] { background: linear-gradient(90deg, transparent 48%, color-mix(in srgb, var(--card-accent) 24%, transparent) 48.5% 49%, transparent 49.5%), linear-gradient(0deg, transparent 48%, color-mix(in srgb, var(--card-accent) 24%, transparent) 48.5% 49%, transparent 49.5%), radial-gradient(circle at 49% 49%, var(--card-accent) 0 5px, transparent 6px), var(--card-background); }
.card-design-preview[data-pattern="skyline"] { background: linear-gradient(to top, color-mix(in srgb, var(--card-accent) 20%, transparent) 0 31%, transparent 31.5%) 0 100% / 54px 83% repeat-x, var(--card-background); }
.card-design-preview[data-pattern="eclipse"] { background: radial-gradient(circle at 82% 38%, color-mix(in srgb, var(--card-accent) 48%, transparent) 0 25%, transparent 25.5%), var(--card-background); }
.card-design-preview[data-pattern="facets"] { background: conic-gradient(from 34deg at 62% 53%, color-mix(in srgb, var(--card-accent) 33%, transparent), transparent 22%, color-mix(in srgb, var(--card-accent) 21%, white) 40%, transparent 62%, color-mix(in srgb, var(--card-accent) 18%, transparent) 82%, transparent), var(--card-background); }
.card-design-preview[data-pattern="terrazzo"] { background: radial-gradient(ellipse at 12% 18%, var(--card-accent) 0 6px, transparent 7px), radial-gradient(ellipse at 78% 20%, color-mix(in srgb, var(--card-accent) 65%, white) 0 8px, transparent 9px), radial-gradient(ellipse at 32% 78%, var(--card-accent) 0 7px, transparent 8px), radial-gradient(ellipse at 88% 72%, color-mix(in srgb, var(--card-accent) 55%, white) 0 5px, transparent 6px), radial-gradient(ellipse at 58% 42%, color-mix(in srgb, var(--card-accent) 36%, transparent) 0 4px, transparent 5px), var(--card-background); }
.card-design-preview[data-pattern="cross"] { background: linear-gradient(90deg, transparent 41%, color-mix(in srgb, var(--card-accent) 27%, transparent) 41.5% 58%, transparent 58.5%), linear-gradient(0deg, transparent 38%, color-mix(in srgb, var(--card-accent) 27%, transparent) 38.5% 62%, transparent 62.5%), var(--card-background); }
.card-design-preview[data-pattern="mesh"] { background: repeating-linear-gradient(45deg, transparent 0 33px, color-mix(in srgb, var(--card-accent) 14%, transparent) 34px 36px), repeating-linear-gradient(-45deg, transparent 0 33px, color-mix(in srgb, var(--card-accent) 14%, transparent) 34px 36px), var(--card-background); }
.card-design-preview[data-pattern="blocks"] { background: conic-gradient(from 90deg at 55% 50%, color-mix(in srgb, var(--card-accent) 29%, transparent) 25%, transparent 0 50%, color-mix(in srgb, var(--card-accent) 18%, white) 0 75%, transparent 0), var(--card-background); }
.card-design-preview[data-pattern="portal"] { background: radial-gradient(ellipse at 50% 112%, transparent 0 27%, color-mix(in srgb, var(--card-accent) 38%, transparent) 27.5% 37%, transparent 37.5% 47%, color-mix(in srgb, var(--card-accent) 20%, transparent) 47.5% 54%, transparent 54.5%), var(--card-background); }
.card-design-preview[data-pattern="comet"] { background: radial-gradient(circle at 76% 27%, white 0 4px, var(--card-accent) 5px 11px, transparent 12px), linear-gradient(145deg, transparent 0 52%, color-mix(in srgb, var(--card-accent) 28%, transparent) 52.5% 55%, transparent 55.5%), var(--card-background); }
.card-design-preview[data-pattern="chevrons"] { background: linear-gradient(135deg, transparent 42%, color-mix(in srgb, var(--card-accent) 20%, transparent) 42.5% 49%, transparent 49.5%) 0 0 / 72px 72px, linear-gradient(45deg, transparent 42%, color-mix(in srgb, var(--card-accent) 20%, transparent) 42.5% 49%, transparent 49.5%) 0 36px / 72px 72px, var(--card-background); }
.card-design-preview[data-pattern="bubbles"] { background: radial-gradient(circle at 18% 22%, color-mix(in srgb, var(--card-accent) 27%, transparent) 0 25px, transparent 26px), radial-gradient(circle at 76% 24%, color-mix(in srgb, var(--card-accent) 20%, white) 0 38px, transparent 39px), radial-gradient(circle at 48% 78%, color-mix(in srgb, var(--card-accent) 18%, transparent) 0 48px, transparent 49px), var(--card-background); }
.card-design-preview[data-pattern="zigzag"] { background: linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 18%, transparent) 25%, transparent 25%) -28px 0 / 56px 56px, linear-gradient(225deg, color-mix(in srgb, var(--card-accent) 18%, transparent) 25%, transparent 25%) -28px 0 / 56px 56px, var(--card-background); }
.card-design-preview[data-pattern="marble"] { background: radial-gradient(ellipse at 10% 85%, transparent 0 38%, color-mix(in srgb, var(--card-accent) 25%, transparent) 39% 43%, transparent 44%), radial-gradient(ellipse at 90% 8%, transparent 0 36%, color-mix(in srgb, var(--card-accent) 17%, white) 37% 41%, transparent 42%), var(--card-background); }
.card-design-preview[data-pattern="window"] { background: linear-gradient(color-mix(in srgb, var(--card-accent) 28%, transparent), color-mix(in srgb, var(--card-accent) 28%, transparent)) 50% 0 / 2px 100% no-repeat, linear-gradient(90deg, color-mix(in srgb, var(--card-accent) 28%, transparent), color-mix(in srgb, var(--card-accent) 28%, transparent)) 0 50% / 100% 2px no-repeat, var(--card-background); }
.card-design-preview[data-pattern="window"]::before { inset: 14px; border: 2px solid color-mix(in srgb, var(--card-accent) 45%, transparent); border-radius: 15px; }
.card-design-preview[data-pattern="beam"] { background: linear-gradient(122deg, transparent 0 39%, color-mix(in srgb, var(--card-accent) 48%, transparent) 39.5% 59%, transparent 59.5%), var(--card-background); }
.card-design-preview[data-pattern="badge"] { background: radial-gradient(circle at 52% 50%, color-mix(in srgb, var(--card-accent) 39%, transparent) 0 60px, transparent 61px 75px, color-mix(in srgb, var(--card-accent) 16%, transparent) 76px 81px, transparent 82px), var(--card-background); }
.card-design-preview[data-pattern="slices"] { background: conic-gradient(from 20deg at 55% 50%, color-mix(in srgb, var(--card-accent) 31%, transparent) 0 22%, transparent 22% 46%, color-mix(in srgb, var(--card-accent) 19%, white) 46% 68%, transparent 68%), var(--card-background); }
.card-design-preview[data-pattern="clouds"] { background: radial-gradient(ellipse at 16% 72%, color-mix(in srgb, var(--card-accent) 20%, transparent) 0 55px, transparent 56px), radial-gradient(ellipse at 42% 61%, color-mix(in srgb, var(--card-accent) 25%, transparent) 0 72px, transparent 73px), radial-gradient(ellipse at 76% 72%, color-mix(in srgb, var(--card-accent) 17%, white) 0 62px, transparent 63px), var(--card-background); }
.card-design-preview[data-pattern="pebbles"] { background: radial-gradient(ellipse at 18% 20%, color-mix(in srgb, var(--card-accent) 25%, transparent) 0 31px, transparent 32px), radial-gradient(ellipse at 74% 22%, color-mix(in srgb, var(--card-accent) 19%, white) 0 42px, transparent 43px), radial-gradient(ellipse at 26% 78%, color-mix(in srgb, var(--card-accent) 17%, white) 0 38px, transparent 39px), radial-gradient(ellipse at 82% 76%, color-mix(in srgb, var(--card-accent) 23%, transparent) 0 29px, transparent 30px), var(--card-background); }
.card-design-preview[data-pattern="fan"] { background: repeating-conic-gradient(from 210deg at 12% 108%, color-mix(in srgb, var(--card-accent) 24%, transparent) 0 7deg, transparent 7deg 18deg), var(--card-background); }
.card-design-preview[data-pattern="spiral"] { background: repeating-radial-gradient(circle at 58% 51%, transparent 0 23px, color-mix(in srgb, var(--card-accent) 16%, transparent) 24px 29px), var(--card-background); }
.card-design-preview[data-pattern="rings"] { background: repeating-radial-gradient(circle at 74% 48%, transparent 0 25px, color-mix(in srgb, var(--card-accent) 19%, transparent) 26px 31px), var(--card-background); }
.card-design-preview[data-pattern="constellation"] { background: radial-gradient(circle at 14% 22%, white 0 3px, transparent 4px), radial-gradient(circle at 44% 68%, var(--card-accent) 0 4px, transparent 5px), radial-gradient(circle at 76% 25%, white 0 3px, transparent 4px), radial-gradient(circle at 88% 72%, var(--card-accent) 0 3px, transparent 4px), linear-gradient(32deg, transparent 0 48%, color-mix(in srgb, var(--card-accent) 24%, transparent) 48.5% 49.5%, transparent 50%), var(--card-background); }
.card-design-preview[data-pattern="ribbon"] { background: linear-gradient(155deg, transparent 0 34%, color-mix(in srgb, var(--card-accent) 42%, transparent) 34.5% 48%, color-mix(in srgb, var(--card-accent) 24%, white) 48.5% 59%, transparent 59.5%), var(--card-background); }
.card-design-preview[data-pattern="tiles"] { background: linear-gradient(45deg, transparent 46%, color-mix(in srgb, var(--card-accent) 22%, transparent) 46.5% 53.5%, transparent 54%) 0 0 / 58px 58px, linear-gradient(-45deg, transparent 46%, color-mix(in srgb, var(--card-accent) 14%, transparent) 46.5% 53.5%, transparent 54%) 29px 29px / 58px 58px, var(--card-background); }
.card-design-preview[data-pattern="sunrise"] { background: repeating-conic-gradient(from 245deg at 50% 112%, color-mix(in srgb, var(--card-accent) 23%, transparent) 0 6deg, transparent 6deg 15deg), radial-gradient(circle at 50% 112%, color-mix(in srgb, var(--card-accent) 62%, transparent) 0 29%, transparent 29.5%), var(--card-background); }
.card-design-preview[data-pattern="dunes"] { background: radial-gradient(ellipse at 14% 118%, color-mix(in srgb, var(--card-accent) 30%, transparent) 0 51%, transparent 51.5%), radial-gradient(ellipse at 92% 122%, color-mix(in srgb, var(--card-accent) 20%, white) 0 56%, transparent 56.5%), var(--card-background); }
.card-design-preview[data-pattern="raindrops"] { background: radial-gradient(ellipse at 14% 22%, color-mix(in srgb, var(--card-accent) 40%, transparent) 0 10px, transparent 11px), radial-gradient(ellipse at 38% 72%, color-mix(in srgb, var(--card-accent) 24%, white) 0 15px, transparent 16px), radial-gradient(ellipse at 68% 28%, color-mix(in srgb, var(--card-accent) 34%, transparent) 0 12px, transparent 13px), radial-gradient(ellipse at 88% 72%, color-mix(in srgb, var(--card-accent) 25%, transparent) 0 9px, transparent 10px), var(--card-background); }
.card-design-preview[data-pattern="prism"] { background: conic-gradient(from 25deg at 54% 50%, color-mix(in srgb, var(--card-accent) 38%, transparent), transparent 28%, color-mix(in srgb, var(--card-accent) 22%, white) 29% 54%, transparent 55% 76%, color-mix(in srgb, var(--card-accent) 18%, transparent) 77%), var(--card-background); }
.card-design-preview[data-pattern="weave"] { background: repeating-linear-gradient(0deg, transparent 0 38px, color-mix(in srgb, var(--card-accent) 15%, transparent) 39px 52px), repeating-linear-gradient(90deg, transparent 0 48px, color-mix(in srgb, var(--card-accent) 12%, white) 49px 62px), var(--card-background); }
.card-design-preview[data-pattern="scallops"] { background: radial-gradient(circle at 0 100%, transparent 0 26px, color-mix(in srgb, var(--card-accent) 25%, transparent) 27px 38px, transparent 39px) 0 0 / 76px 62px, var(--card-background); }
.card-design-preview[data-pattern="hourglass"] { background: conic-gradient(from 45deg at 50% 50%, transparent 0 25%, color-mix(in srgb, var(--card-accent) 30%, transparent) 25% 50%, transparent 50% 75%, color-mix(in srgb, var(--card-accent) 20%, white) 75%), var(--card-background); }
.card-design-preview[data-pattern="domino"] { background: radial-gradient(circle at 27% 30%, var(--card-accent) 0 18px, transparent 19px), radial-gradient(circle at 73% 70%, color-mix(in srgb, var(--card-accent) 65%, white) 0 18px, transparent 19px), linear-gradient(145deg, transparent 0 48%, color-mix(in srgb, white 24%, transparent) 48.5% 51.5%, transparent 52%), var(--card-background); }
.card-design-preview[data-pattern="starfield"] { background: radial-gradient(circle at 10% 22%, white 0 3px, transparent 4px), radial-gradient(circle at 34% 72%, var(--card-accent) 0 5px, transparent 6px), radial-gradient(circle at 64% 28%, white 0 4px, transparent 5px), radial-gradient(circle at 86% 72%, color-mix(in srgb, var(--card-accent) 70%, white) 0 4px, transparent 5px), radial-gradient(circle at 48% 47%, var(--card-accent) 0 2px, transparent 3px), var(--card-background); }
.card-design-preview[data-pattern="cascade"] { background: linear-gradient(135deg, transparent 0 23%, color-mix(in srgb, var(--card-accent) 36%, transparent) 23.5% 35%, transparent 35.5% 46%, color-mix(in srgb, var(--card-accent) 25%, white) 46.5% 58%, transparent 58.5% 69%, color-mix(in srgb, var(--card-accent) 18%, transparent) 69.5% 81%, transparent 81.5%), var(--card-background); }
.card-design-preview[data-pattern="mosaic"] { background: conic-gradient(from 15deg at 32% 42%, color-mix(in srgb, var(--card-accent) 35%, transparent) 0 25%, transparent 0 50%, color-mix(in srgb, var(--card-accent) 20%, white) 0 75%, transparent 0), conic-gradient(from 45deg at 76% 70%, color-mix(in srgb, var(--card-accent) 28%, transparent) 0 25%, transparent 0 50%, color-mix(in srgb, var(--card-accent) 17%, white) 0 75%, transparent 0), var(--card-background); }
.card-design-preview[data-pattern="lattice"] { background: repeating-linear-gradient(62deg, transparent 0 38px, color-mix(in srgb, var(--card-accent) 16%, transparent) 39px 43px), repeating-linear-gradient(-62deg, transparent 0 38px, color-mix(in srgb, var(--card-accent) 13%, white) 39px 43px), var(--card-background); }
.card-design-preview[data-pattern="honeycomb"] { background: linear-gradient(30deg, transparent 24%, color-mix(in srgb, var(--card-accent) 18%, transparent) 25% 27%, transparent 28% 74%, color-mix(in srgb, var(--card-accent) 18%, transparent) 75% 77%, transparent 78%) 0 0 / 72px 42px, linear-gradient(150deg, transparent 24%, color-mix(in srgb, var(--card-accent) 14%, white) 25% 27%, transparent 28% 74%, color-mix(in srgb, var(--card-accent) 14%, white) 75% 77%, transparent 78%) 0 0 / 72px 42px, var(--card-background); }
.card-design-preview[data-pattern="mountains"] { background: linear-gradient(135deg, transparent 0 50%, color-mix(in srgb, var(--card-accent) 36%, transparent) 50.5% 72%, transparent 72.5%) 0 100% / 142px 132px repeat-x, linear-gradient(45deg, transparent 0 50%, color-mix(in srgb, var(--card-accent) 23%, white) 50.5% 72%, transparent 72.5%) 71px 100% / 142px 132px repeat-x, var(--card-background); }
.card-design-preview[data-pattern="soundwave"] { background: radial-gradient(ellipse at 50% 50%, transparent 0 16%, color-mix(in srgb, var(--card-accent) 32%, transparent) 16.5% 19%, transparent 19.5% 28%, color-mix(in srgb, var(--card-accent) 24%, white) 28.5% 31%, transparent 31.5% 40%, color-mix(in srgb, var(--card-accent) 18%, transparent) 40.5% 43%, transparent 43.5%), var(--card-background); }
.card-design-preview[data-pattern="radar"] { background: repeating-radial-gradient(circle at 69% 49%, transparent 0 25px, color-mix(in srgb, var(--card-accent) 18%, transparent) 26px 29px), linear-gradient(90deg, transparent 68.5%, color-mix(in srgb, var(--card-accent) 32%, transparent) 69% 69.5%, transparent 70%), linear-gradient(0deg, transparent 48.5%, color-mix(in srgb, var(--card-accent) 24%, transparent) 49% 49.5%, transparent 50%), var(--card-background); }
.card-design-preview[data-pattern="braid"] { background: repeating-linear-gradient(38deg, transparent 0 42px, color-mix(in srgb, var(--card-accent) 22%, transparent) 43px 59px, transparent 60px 92px), repeating-linear-gradient(-38deg, transparent 0 42px, color-mix(in srgb, var(--card-accent) 16%, white) 43px 59px, transparent 60px 92px), var(--card-background); }
.card-design-preview[data-pattern="shards"] { background: conic-gradient(from 12deg at 56% 49%, color-mix(in srgb, var(--card-accent) 38%, transparent) 0 8%, transparent 8% 25%, color-mix(in srgb, var(--card-accent) 23%, white) 25% 34%, transparent 34% 61%, color-mix(in srgb, var(--card-accent) 18%, transparent) 61% 70%, transparent 70%), var(--card-background); }
.card-design-preview[data-pattern="lanes"] { background: repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--card-accent) 23%, transparent) 32px 47px, transparent 48px 65px, color-mix(in srgb, var(--card-accent) 14%, white) 66px 73px), var(--card-background); }
.card-design-preview[data-pattern="spheres"] { background: radial-gradient(circle at 14% 26%, color-mix(in srgb, var(--card-accent) 30%, transparent) 0 34px, transparent 35px), radial-gradient(circle at 58% 70%, color-mix(in srgb, var(--card-accent) 22%, white) 0 54px, transparent 55px), radial-gradient(circle at 90% 20%, color-mix(in srgb, var(--card-accent) 18%, transparent) 0 27px, transparent 28px), var(--card-background); }
.card-design-preview[data-pattern="leaves"] { background: radial-gradient(ellipse at 18% 24%, color-mix(in srgb, var(--card-accent) 27%, transparent) 0 36px, transparent 37px), radial-gradient(ellipse at 74% 26%, color-mix(in srgb, var(--card-accent) 21%, white) 0 43px, transparent 44px), radial-gradient(ellipse at 48% 78%, color-mix(in srgb, var(--card-accent) 18%, transparent) 0 48px, transparent 49px), var(--card-background); }
.card-design-preview[data-pattern="sprinkles"] { background: linear-gradient(24deg, transparent 45%, var(--card-accent) 46% 54%, transparent 55%) 0 0 / 78px 62px, linear-gradient(-32deg, transparent 45%, color-mix(in srgb, var(--card-accent) 68%, white) 46% 54%, transparent 55%) 39px 31px / 92px 74px, var(--card-background); }
.card-design-preview[data-pattern="infinity"] { background: radial-gradient(circle at 40% 50%, transparent 0 55px, color-mix(in srgb, var(--card-accent) 34%, transparent) 56px 68px, transparent 69px), radial-gradient(circle at 60% 50%, transparent 0 55px, color-mix(in srgb, var(--card-accent) 23%, white) 56px 68px, transparent 69px), var(--card-background); }
.card-design-preview[data-pattern="pinstripes"] { background: repeating-linear-gradient(90deg, transparent 0 27px, color-mix(in srgb, var(--card-accent) 18%, transparent) 28px 30px, transparent 31px 55px, color-mix(in srgb, var(--card-accent) 11%, white) 56px 58px), var(--card-background); }
.card-design-preview[data-pattern="terraces"] { background: repeating-radial-gradient(ellipse at 50% 116%, transparent 0 34px, color-mix(in srgb, var(--card-accent) 18%, transparent) 35px 43px), var(--card-background); }
.card-design-preview[data-pattern="compass"] { background: radial-gradient(circle at 50% 50%, transparent 0 54px, color-mix(in srgb, var(--card-accent) 27%, transparent) 55px 61px, transparent 62px), conic-gradient(from 45deg at 50% 50%, transparent 0 22%, color-mix(in srgb, var(--card-accent) 31%, transparent) 22.5% 27%, transparent 27.5% 47%, color-mix(in srgb, var(--card-accent) 20%, white) 47.5% 52%, transparent 52.5%), var(--card-background); }
.card-design-preview[data-pattern="equalizer"] { background: linear-gradient(to top, color-mix(in srgb, var(--card-accent) 34%, transparent) 0 62%, transparent 62.5%) 11% 100% / 7% 72% no-repeat, linear-gradient(to top, color-mix(in srgb, var(--card-accent) 25%, white) 0 84%, transparent 84.5%) 31% 100% / 7% 72% no-repeat, linear-gradient(to top, color-mix(in srgb, var(--card-accent) 28%, transparent) 0 44%, transparent 44.5%) 51% 100% / 7% 72% no-repeat, linear-gradient(to top, color-mix(in srgb, var(--card-accent) 20%, white) 0 72%, transparent 72.5%) 71% 100% / 7% 72% no-repeat, linear-gradient(to top, color-mix(in srgb, var(--card-accent) 25%, transparent) 0 54%, transparent 54.5%) 91% 100% / 7% 72% no-repeat, var(--card-background); }
.card-design-preview[data-pattern="snowfall"] { background: radial-gradient(circle at 10% 20%, white 0 3px, transparent 4px), radial-gradient(circle at 31% 76%, var(--card-accent) 0 5px, transparent 6px), radial-gradient(circle at 56% 33%, white 0 4px, transparent 5px), radial-gradient(circle at 80% 78%, color-mix(in srgb, var(--card-accent) 68%, white) 0 5px, transparent 6px), radial-gradient(circle at 93% 16%, white 0 3px, transparent 4px), radial-gradient(circle at 45% 58%, var(--card-accent) 0 2px, transparent 3px), var(--card-background); }
.card-design-preview[data-pattern="flame"] { background: radial-gradient(ellipse at 50% 75%, color-mix(in srgb, var(--card-accent) 42%, transparent) 0 18%, transparent 18.5%), radial-gradient(ellipse at 58% 55%, color-mix(in srgb, var(--card-accent) 30%, white) 0 13%, transparent 13.5%), radial-gradient(ellipse at 44% 36%, color-mix(in srgb, var(--card-accent) 21%, transparent) 0 10%, transparent 10.5%), var(--card-background); }
.card-design-preview[data-pattern="links"] { background: radial-gradient(ellipse at 38% 50%, transparent 0 55px, color-mix(in srgb, var(--card-accent) 34%, transparent) 56px 70px, transparent 71px), radial-gradient(ellipse at 62% 50%, transparent 0 55px, color-mix(in srgb, var(--card-accent) 24%, white) 56px 70px, transparent 71px), var(--card-background); }
.card-design-preview[data-pattern="origami"] { background: conic-gradient(from 45deg at 50% 50%, color-mix(in srgb, var(--card-accent) 35%, transparent) 0 12%, transparent 12% 25%, color-mix(in srgb, var(--card-accent) 24%, white) 25% 37%, transparent 37% 50%, color-mix(in srgb, var(--card-accent) 19%, transparent) 50% 62%, transparent 62% 75%, color-mix(in srgb, var(--card-accent) 15%, white) 75% 87%, transparent 87%), var(--card-background); }
.card-design-preview[data-pattern="barcode"] { background: repeating-linear-gradient(90deg, transparent 0 15px, color-mix(in srgb, var(--card-accent) 34%, transparent) 16px 22px, transparent 23px 34px, color-mix(in srgb, var(--card-accent) 21%, white) 35px 48px, transparent 49px 61px), var(--card-background); }
.card-design-preview.is-randomizing { animation: card-randomize-pop .34s ease; }
@keyframes card-randomize-pop { 50% { transform: scale(.975) rotate(-.4deg); filter: saturate(1.16); } }
.card-design-preview__art { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center end; pointer-events: none; }
.card-design-preview__art span { display: none; font: 900 8rem/1 var(--heading); letter-spacing: -.02em; }
.card-design-preview__header, .card-design-preview__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-design-preview__identity { display: flex; min-width: 0; gap: 10px; align-items: center; }
.card-design-preview__logo { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; border: 1.5px solid color-mix(in srgb, var(--card-company-name-color) 30%, transparent); border-radius: 11px; background: color-mix(in srgb, var(--card-company-name-color) 16%, transparent); color: var(--card-company-name-color); font: 900 .82rem/1 var(--heading); letter-spacing: -.03em; }
.card-design-preview__logo.has-image { border: 0; background: transparent; }
.card-design-preview__logo img { width: 100%; height: 100%; object-fit: contain; }
.card-design-preview__header strong { overflow: hidden; color: var(--card-company-name-color); font: 800 .875rem var(--heading); letter-spacing: .1px; text-overflow: ellipsis; white-space: nowrap; }
.card-design-preview__header > span { letter-spacing: 2px; }
.card-design-preview__reward small, .card-design-preview__reward strong { display: block; }
.card-design-preview__reward { padding-right: 40px; }
.card-design-preview__reward small { margin-bottom: 2px; color: var(--card-reward-name-color); opacity: .72; font-size: .625rem; font-weight: 800; letter-spacing: 1.15px; }
.card-design-preview__reward strong { display: -webkit-box; overflow: hidden; color: var(--card-reward-name-color); font: 900 1.5rem/1.125 var(--heading); letter-spacing: -.5px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-design-preview__footer { gap: 16px; font-size: .8125rem; font-weight: 800; }
.card-design-preview__footer > span { color: var(--card-progress-text-color); }
.card-design-preview__footer i { width: 48%; height: 7px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--card-progress-text-color) 16%, transparent); }
.card-design-preview__footer i::after { display: block; width: var(--card-progress); height: 100%; border-radius: inherit; background: var(--card-accent); content: ""; }
.program-wallet-browser { margin-top: 26px; }
.program-wallet-toolbar { display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px; border: 1px solid #3f1a401f; border-radius: 20px; background: #ffffffd9; box-shadow: 0 12px 28px #210b270d; backdrop-filter: blur(14px); }
.program-wallet-search { position: relative; display: flex; min-width: 0; min-height: 46px; align-items: center; gap: 10px; padding: 0 12px; border: 1.5px solid #3f1a402c; border-radius: 14px; background: #fffafd; color: var(--berry); transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.program-wallet-search:focus-within { border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 3px #ff3d9718; }
.program-wallet-search svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.9; }
.program-wallet-search input { width: 100%; min-width: 0; padding: 11px 34px 11px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 .82rem/1.2 var(--body); }
.program-wallet-search input::placeholder { color: #755b74a6; }
.program-wallet-search input::-webkit-search-cancel-button { display: none; }
.program-wallet-search button { position: absolute; right: 7px; display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 50%; background: var(--mist); color: var(--plum); cursor: pointer; font: 700 1.15rem/1 var(--heading); }
.program-wallet-search button[hidden] { display: none; }
.program-wallet-filters { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: #f7edf4; }
.program-wallet-filters button { display: flex; min-height: 38px; align-items: center; gap: 7px; padding: 8px 11px; border: 0; border-radius: 10px; background: transparent; color: var(--berry); cursor: pointer; font: 750 .74rem/1 var(--body); transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
.program-wallet-filters button:hover { color: var(--plum); transform: translateY(-1px); }
.program-wallet-filters button[aria-pressed="true"] { background: var(--white); color: var(--plum); box-shadow: 0 4px 12px #210b2712; }
.program-wallet-filters button:focus-visible { outline: 3px solid #ff3d9738; outline-offset: 1px; }
.program-wallet-filters span { display: grid; min-width: 21px; height: 21px; place-items: center; padding-inline: 5px; border-radius: 999px; background: #3f1a4010; font-size: .63rem; }
.program-wallet-filters button[aria-pressed="true"] span { background: var(--mist); color: var(--plum); }
.program-wallet-results { min-width: 78px; color: var(--berry); font-size: .72rem; font-weight: 700; text-align: right; }
.program-wallet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; align-items: start; }
.program-wallet-link { display: block; min-width: 0; border-radius: 20px; color: inherit; text-decoration: none; transition: transform .2s ease; }
.program-wallet-link[hidden] { display: none; }
a.program-wallet-link:hover { transform: translateY(-4px); }
a.program-wallet-link:focus-visible { outline: 4px solid #ff3d9740; outline-offset: 5px; }
.program-wallet-card { width: 100%; margin: 0; cursor: pointer; transition: box-shadow .2s ease, filter .2s ease; }
a.program-wallet-link:hover .program-wallet-card { box-shadow: 0 22px 38px #210b2742; filter: saturate(1.04); }
.program-wallet-card-meta { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 5px 0; }
.program-wallet-card-meta > div { display: grid; min-width: 0; gap: 2px; }
.program-wallet-card-meta strong { overflow: hidden; color: var(--ink); font: 800 .76rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.program-wallet-card-meta > div span { color: var(--berry); font-size: .65rem; font-weight: 600; }
.program-wallet-card-meta__status { min-width: max-content; padding: 5px 8px; border-radius: 999px; font-size: .62rem; font-weight: 800; }
.program-wallet-card-meta__status.is-active { background: #e6f7ef; color: #147452; }
.program-wallet-card-meta__status.is-archived { background: #f1e9ef; color: var(--berry); }
.program-wallet-empty { display: grid; min-height: 270px; margin-top: 20px; place-items: center; align-content: center; gap: 6px; padding: 28px; border: 1.5px dashed #3f1a4036; border-radius: 20px; background: #fffafd; text-align: center; }
.program-wallet-empty[hidden] { display: none; }
.program-wallet-empty > span { display: grid; width: 48px; height: 48px; margin-bottom: 5px; place-items: center; border-radius: 15px; background: var(--mist); color: var(--pink); font: 800 1.45rem/1 var(--heading); }
.program-wallet-empty strong { color: var(--ink); font: 800 1rem var(--heading); }
.program-wallet-empty p { color: var(--berry); font-size: .8rem; }
.program-wallet-empty button { margin-top: 8px; padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--plum); cursor: pointer; font: 750 .78rem var(--body); }
.drawer-designer { display: grid; min-width: 0; gap: 20px; padding: 0; border: 0; }
.drawer-designer legend { color: var(--ink); font: 800 1.15rem var(--heading); }
.drawer-designer__layout { display: grid; grid-template-columns: minmax(420px, 1.15fr) minmax(330px, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.drawer-designer__controls { display: grid; gap: 16px; }
.drawer-designer__group, .drawer-color-controls section { padding: 18px; border: 1px solid #3f1a401c; border-radius: 20px; background: #fffafd; }
.drawer-designer__group > div:first-child > strong, .drawer-color-controls h3 { color: var(--ink); font: 800 .98rem var(--heading); }
.drawer-designer__group > div:first-child > p { margin-top: 3px; color: var(--berry); font-size: .8rem; }
.drawer-designer__automatic { padding-block: 13px; }
.drawer-designer__automatic .check-row { align-items: center; }
.drawer-designer__automatic .check-row span { display: grid; gap: 2px; }
.drawer-designer__automatic .check-row small { color: var(--berry); font-size: .75rem; font-weight: 500; line-height: 1.3; }
.stamp-icon-browser { display: grid; gap: 13px; margin-top: 15px; }
.stamp-icon-search { position: relative; display: flex; min-height: 46px; align-items: center; border: 1.5px solid #3f1a4030; border-radius: 14px; background: var(--white); color: var(--berry); transition: border-color .18s ease, box-shadow .18s ease; }
.stamp-icon-search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px #ff3d9718; }
.stamp-icon-search:focus-within, .stamp-icon-search input:focus { background: var(--white); }
.stamp-icon-search > span { display: grid; width: 44px; flex: 0 0 44px; place-items: center; }
.stamp-icon-search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.9; }
.stamp-icon-search input { width: 100%; min-width: 0; padding: 11px 40px 11px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 600 .84rem/1.3 var(--body); box-shadow: none; }
.stamp-icon-search input:focus { border: 0; outline: 0; box-shadow: none; }
.stamp-icon-search input::placeholder { color: #755b7499; }
.stamp-icon-search button { position: absolute; right: 7px; display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 50%; background: var(--mist); color: var(--plum); cursor: pointer; font: 700 1.15rem/1 var(--heading); }
.stamp-icon-search button[hidden] { display: none; }
.stamp-icon-recommendations { display: grid; gap: 9px; padding: 12px; border: 1px solid #ff3d9720; border-radius: 16px; background: linear-gradient(135deg, #fff 0%, #fff6fb 100%); }
.stamp-icon-recommendations > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.stamp-icon-recommendations > div:first-child strong { color: var(--ink); font: 800 .78rem var(--heading); }
.stamp-icon-recommendations > div:first-child small { color: var(--berry); font-size: .68rem; }
.stamp-icon-recommendations__list { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-color: #3f1a4036 transparent; scrollbar-width: thin; }
:is(.stamp-icon-browser--programme, .stamp-icon-browser--compact) .stamp-icon-recommendations__list { flex-wrap: wrap; overflow: visible; padding-bottom: 1px; }
.stamp-icon-recommendations__list button { display: flex; min-width: max-content; min-height: 38px; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1px solid #3f1a4024; border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.stamp-icon-recommendations__list button:hover { transform: translateY(-1px); border-color: var(--pink); }
.stamp-icon-recommendations__list button.is-selected { border-color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.stamp-icon-recommendations__list button:focus-visible { outline: 3px solid #ff3d9738; outline-offset: 1px; }
.stamp-icon-recommendations__list span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--plum); }
.stamp-icon-recommendations__list svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.stamp-icon-recommendations__list strong { font-size: .68rem; }
.stamp-icon-categories { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-color: #3f1a4036 transparent; scrollbar-width: thin; }
:is(.stamp-icon-browser--programme, .stamp-icon-browser--compact) .stamp-icon-categories { flex-wrap: wrap; overflow: visible; padding-bottom: 1px; }
.stamp-icon-categories button { min-width: max-content; min-height: 34px; padding: 7px 11px; border: 1px solid #3f1a4030; border-radius: 999px; background: var(--white); color: var(--berry); cursor: pointer; font: 700 .7rem/1 var(--body); transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.stamp-icon-categories button:hover { border-color: #3f1a4066; color: var(--plum); }
.stamp-icon-categories button[aria-pressed="true"] { border-color: var(--plum); background: var(--plum); color: var(--white); }
.stamp-icon-categories button:focus-visible { outline: 3px solid #ff3d9738; outline-offset: 1px; }
.stamp-icon-results { display: flex; min-height: 24px; align-items: center; justify-content: space-between; gap: 12px; }
.stamp-icon-results span { color: var(--berry); font-size: .71rem; font-weight: 700; }
.stamp-icon-results button { padding: 2px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--berry); cursor: pointer; font: 700 .7rem var(--body); }
.stamp-icon-results button[hidden] { display: none; }
.stamp-icon-options { display: grid; grid-template-columns: repeat(5, minmax(72px, 1fr)); gap: 8px; }
.stamp-option-scroll { max-height: 342px; padding: 2px 8px 5px 2px; }
.stamp-icon-options--programme { padding: 2px; overflow: visible; }
.stamp-icon-options--compact { padding: 2px; overflow: visible; }
.stamp-icon-option { position: relative; display: grid; min-height: 78px; place-items: center; padding: 9px 5px; border: 2px solid #3f1a4020; border-radius: 15px; background: var(--white); cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.stamp-icon-option[hidden] { display: none; }
.stamp-icon-option:hover { transform: translateY(-2px); border-color: #3f1a4052; }
.stamp-icon-option:has(input:checked) { border-color: var(--pink); box-shadow: 0 3px 0 var(--plum); }
.stamp-icon-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.stamp-icon-option span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--plum); }
.stamp-icon-option svg { width: 21px; height: 21px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.stamp-icon-option strong { color: var(--ink); font-size: .72rem; }
.stamp-icon-show-more { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1.5px solid #3f1a4030; border-radius: 13px; background: #fff; color: var(--plum); cursor: pointer; font: 800 .76rem/1 var(--heading); transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.stamp-icon-show-more:hover { border-color: var(--pink); background: #fff4fa; transform: translateY(-1px); }
.stamp-icon-show-more:focus-visible { outline: 3px solid #ff3d9738; outline-offset: 2px; }
.stamp-icon-show-more small { color: var(--berry); font: 600 .66rem/1 var(--body); }
.stamp-icon-show-more[hidden] { display: none !important; }
.stamp-icon-empty { display: grid; min-height: 160px; place-items: center; align-content: center; gap: 4px; padding: 22px; border: 1px dashed #3f1a4038; border-radius: 16px; background: #fffafd; text-align: center; }
.stamp-icon-empty[hidden] { display: none; }
.stamp-icon-empty > span { display: grid; width: 42px; height: 42px; margin-bottom: 5px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--plum); font: 700 1.4rem var(--heading); }
.stamp-icon-empty strong { color: var(--ink); font: 800 .85rem var(--heading); }
.stamp-icon-empty p { color: var(--berry); font-size: .72rem; }
.drawer-color-controls { display: grid; gap: 12px; }
.drawer-color-controls[hidden] { display: none; }
.drawer-color-controls section { display: grid; gap: 13px; }
.drawer-color-controls .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drawer-color-controls .form-field label { font-size: .76rem; line-height: 1.2; }
.color-field-grid--drawer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.drawer-preview-shell { position: sticky; top: 96px; min-width: 0; padding: 20px; border-radius: 24px; background: linear-gradient(145deg, #fffafd, #f8eef5); }
.drawer-design-preview { --drawer-background-color: #fbf7fa; --drawer-company-name-color: #755b74; --drawer-title-color: #3f1a40; --drawer-description-color: #755b74; --drawer-stamp-border-color: #ff3d97; --drawer-stamp-background-color: #fff; --drawer-stamp-fill-color: #ff3d97; --drawer-stamp-icon-color: #fff; --drawer-button-background-color: #3f1a40; --drawer-button-border-color: #250f25; --drawer-button-text-color: #fff; --drawer-close-background-color: #f5dfec; --drawer-close-icon-color: #3f1a40; --drawer-logo-background: #ff3d97; --drawer-logo-color: #fff; position: relative; display: flex; width: min(100%, 390px); min-height: 565px; margin: 0 auto; align-items: center; flex-direction: column; padding: 18px 25px 24px; overflow: hidden; border: 1px solid #3f1a4026; border-radius: 32px 32px 20px 20px; background: var(--drawer-background-color); box-shadow: 0 18px 38px #210b2724; }
.drawer-design-preview__handle { width: 44px; height: 5px; border-radius: 999px; background: color-mix(in srgb, var(--drawer-title-color) 20%, transparent); }
.drawer-design-preview__close { position: absolute; top: 17px; right: 17px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--drawer-close-background-color); color: var(--drawer-close-icon-color); font: 500 1.55rem/1 var(--heading); }
.drawer-design-preview__logo { display: grid; width: 92px; height: 92px; margin-top: 29px; place-items: center; overflow: hidden; border-radius: 19px; background: var(--drawer-logo-background); color: var(--drawer-logo-color); font: 900 2rem/1 var(--heading); }
.drawer-design-preview__logo.has-image { background: transparent; }
.drawer-design-preview__logo img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.drawer-design-preview__company { margin-top: 17px; color: var(--drawer-company-name-color); font-size: .78rem; font-weight: 700; text-align: center; }
.drawer-design-preview h3 { margin-top: 7px; color: var(--drawer-title-color); font: 900 1.5rem/1.08 var(--heading); text-align: center; }
.drawer-design-preview__description { max-width: 300px; margin-top: 10px; color: var(--drawer-description-color); font-size: .78rem; line-height: 1.45; text-align: center; }
.drawer-design-preview__stamps { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 25px; }
.drawer-design-preview__stamps > span { position: relative; display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid var(--drawer-stamp-border-color); border-radius: 50%; background: var(--drawer-stamp-background-color); color: var(--drawer-stamp-border-color); }
.drawer-design-preview__stamps > span.is-received::before { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: var(--drawer-stamp-fill-color); content: ""; }
.drawer-design-preview__stamps i { position: relative; z-index: 1; display: grid; width: 22px; height: 22px; place-items: center; color: var(--drawer-stamp-icon-color); }
.drawer-design-preview__stamps i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.drawer-design-preview__stamps small { font-size: .7rem; font-weight: 800; }
.drawer-design-preview__button { display: grid; width: 100%; min-height: 48px; margin-top: auto; place-items: center; border: 2px solid var(--drawer-button-border-color); border-radius: 999px; background: var(--drawer-button-background-color); color: var(--drawer-button-text-color); font-weight: 800; box-shadow: 0 4px 0 var(--drawer-button-border-color); }
.loyalty-card-preview { padding: 22px; border: 2px solid var(--plum); border-radius: 22px; color: var(--white); box-shadow: 0 5px 0 var(--plum); }
.loyalty-card-preview h3 { color: inherit; }
.loyalty-card-preview__progress { display: grid; grid-template-columns: repeat(10, minmax(28px, 1fr)); gap: 7px; margin-top: 18px; }
.loyalty-card-preview__progress span { display: grid; min-height: 34px; place-items: center; border: 2px solid #ffffff80; border-radius: 50%; font-size: .78rem; font-weight: 800; }
.loyalty-card-preview__progress span.is-filled { border-color: var(--stamp-accent, #ff3d97); background: var(--stamp-accent, #ff3d97); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 20px; align-items: start; }
.stack { display: grid; gap: 16px; }
.inline-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--berry); font-size: .9rem; }
.danger-box { margin-top: 16px; padding: 16px; border: 2px solid #a52052; border-radius: 14px; background: #fff0f5; }
.dashboard-top__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.page-danger-menu { flex: 0 0 auto; }
.page-danger-menu__trigger { display: grid; width: 47px; height: 47px; place-items: center; border: 2px solid #3f1a4045; border-radius: 14px; background: var(--white); color: var(--plum); box-shadow: none; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease; }
.page-danger-menu__trigger:hover, .page-danger-menu__trigger:focus-visible, .page-danger-menu__trigger[aria-expanded="true"] { border-color: #a52052; background: #fff1f6; color: #a52052; outline: 0; }
.page-danger-menu__trigger:active { transform: translateY(1px); }
.page-danger-menu__trigger svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-danger-menu__menu { min-width: 190px; margin-top: 8px !important; padding: 7px; overflow: hidden; border: 1px solid #3f1a4028; border-radius: 14px; background: var(--white); box-shadow: 0 16px 34px #210b2724; }
.page-danger-menu__action { display: flex; min-height: 43px; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; color: #a52052; font: 800 .8rem/1.2 var(--heading); }
.page-danger-menu__action:hover, .page-danger-menu__action:focus { background: #fff0f5; color: #84143f; }
.page-danger-menu__action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-danger-menu--compact .page-danger-menu__trigger { width: 43px; height: 43px; border-width: 1.5px; border-radius: 12px; }
.destructive-confirm-button { border-color: #8d153f !important; background: #a52052 !important; color: var(--white) !important; box-shadow: 0 4px 0 #5e1232 !important; }
.destructive-confirm-button:hover, .destructive-confirm-button:focus-visible { border-color: #6f1033 !important; background: #84143f !important; }
.role-delete-dialog > form > p, .location-archive-dialog > form > p, .campaign-cancel-dialog > form > p { margin-top: 16px; color: var(--berry); font-size: .95rem; line-height: 1.55; }
.form-field textarea { width: 100%; min-height: 110px; padding: 12px 15px; resize: vertical; border: 2px solid #7a1b5c66; border-radius: 14px; background: #fffafd; color: var(--ink); }
.company-settings-hero, .security-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.company-settings-hero::after, .security-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.company-settings-hero > *, .security-hero > * { position: relative; z-index: 1; }
.company-settings-hero__copy, .security-hero__copy { display: grid; max-width: 700px; gap: 8px; }
.company-settings-hero__copy > span, .security-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.company-settings-hero h1, .security-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.company-settings-hero p, .security-hero p { max-width: 670px; color: #ffffffc9; font-size: 1rem; line-height: 1.5; }
.security-hero__actions { display: flex; min-width: 190px; align-items: stretch; flex-direction: column; }
.security-hero__actions .mc-button { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.security-hero__actions .mc-button:hover { border-color: var(--white); background: #fff4f9; color: var(--plum); }
.company-settings-form { --company-settings-control-height: 52px; display: grid; gap: 22px; margin-top: 25px; }
.company-settings-layout { display: grid; grid-template-columns: minmax(245px, .48fr) minmax(0, 1.52fr); gap: 22px; align-items: start; }
.company-settings-sidebar { position: sticky; top: 92px; display: grid; gap: 12px; padding: 12px; overflow: hidden; border: 1px solid #3f1a4026; border-radius: 24px; background: #fffdfef2; box-shadow: 0 12px 34px #210b270b; backdrop-filter: blur(18px); }
.company-settings-sidebar__intro { position: relative; display: grid; gap: 7px; padding: 22px 20px; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, var(--plum), #69205b); color: var(--white); }
.company-settings-sidebar__intro::after { position: absolute; right: -34px; bottom: -48px; width: 112px; height: 112px; border: 18px solid #ffffff12; border-radius: 50%; content: ""; }
.company-settings-sidebar__intro > * { position: relative; z-index: 1; }
.company-settings-sidebar__intro > span { color: #ff9ccb; font: 800 .64rem/1 var(--heading); letter-spacing: .11em; text-transform: uppercase; }
.company-settings-sidebar__intro strong { max-width: 190px; font: 800 1rem/1.25 var(--heading); letter-spacing: -.02em; }
.company-settings-sidebar__intro p { color: #ffffffb8; font-size: .72rem; line-height: 1.45; }
.company-settings-nav { display: grid; gap: 5px; }
.company-settings-nav a { display: grid; min-width: 0; min-height: 62px; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 9px 11px; border: 1px solid transparent; border-radius: 14px; color: var(--berry); transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease; }
.company-settings-nav a > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--plum); transition: background-color .18s ease, color .18s ease; }
.company-settings-nav a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.company-settings-nav a > div { display: grid; min-width: 0; gap: 2px; }
.company-settings-nav a strong { color: var(--ink); font: 800 .78rem/1.2 var(--heading); }
.company-settings-nav a small { overflow: hidden; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.company-settings-nav a b { color: #a77b9d; font: 800 .6rem/1 var(--heading); letter-spacing: .06em; }
.company-settings-nav a:hover { border-color: #3f1a401d; background: #fff7fb; color: var(--plum); transform: translateX(2px); }
.company-settings-nav a.is-active { border-color: #ff3d9730; background: linear-gradient(90deg, #ffeff7 0%, #fffafd 100%); color: var(--plum); }
.company-settings-nav a.is-active > span { background: var(--pink); color: var(--white); }
.company-settings-nav a.is-active b { color: var(--pink); }
.company-settings-content { display: grid; min-width: 0; gap: 18px; }
.company-settings-section { padding: clamp(23px, 3vw, 30px); border: 1px solid #3f1a4026; border-radius: 24px; background: var(--white); box-shadow: 0 12px 34px #210b270b; transition: border-color .2s ease; }
.company-settings-section:target { border-color: #ff3d9759; }
.company-settings-section__head { display: flex; align-items: flex-start; gap: 15px; padding-bottom: 21px; border-bottom: 1px solid #3f1a4017; }
.company-settings-section__number { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 15px; background: var(--mist); color: var(--plum); font: 850 .75rem/1 var(--heading); }
.company-settings-section__head > div:last-child { display: grid; gap: 3px; }
.company-settings-section__head > div:last-child > span { color: var(--pink); font: 800 .62rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.company-settings-section__head h2 { color: var(--ink); font-size: 1.18rem; letter-spacing: -.025em; }
.company-settings-section__head p { color: var(--berry); font-size: .78rem; line-height: 1.45; }
.company-settings-section__head svg, .company-settings-location-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.company-logo-editor { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 22px 0; border-bottom: 1px solid #3f1a4017; }
.company-logo-editor__visual { display: grid; width: 76px; height: 76px; place-items: center; overflow: hidden; border: 1px solid #3f1a4028; border-radius: 19px; background: var(--mist); color: var(--plum); }
.company-logo-editor__visual img { width: 100%; height: 100%; object-fit: contain; }
.company-logo-editor__visual span { font: 900 1.35rem/1 var(--heading); letter-spacing: -.05em; }
.company-logo-editor__copy { display: grid; gap: 4px; }
.company-logo-editor__copy strong { color: var(--ink); font: 800 .88rem/1.2 var(--heading); }
.company-logo-editor__copy p { max-width: 510px; color: var(--berry); font-size: .74rem; line-height: 1.45; }
.company-logo-editor__copy > span { color: var(--plum); font-size: .72rem; font-weight: 750; }
.company-logo-editor__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.company-logo-editor__actions .mc-button { height: var(--company-settings-control-height); min-height: var(--company-settings-control-height); cursor: pointer; }
.company-logo-remove { padding: 6px 2px; border: 0; background: transparent; color: #a52052; cursor: pointer; font: 750 .75rem/1 var(--heading); }
.company-logo-remove:hover { color: #7d143d; text-decoration: underline; text-underline-offset: 3px; }
.company-settings-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 22px; }
.company-settings-fields .form-field:last-child:nth-child(odd) { grid-column: 1 / -1; }
.company-settings-section .form-field input:not([type="checkbox"], [type="radio"], [type="color"]), .company-settings-section .form-field select, .company-settings-section .searchable-select__control { height: var(--company-settings-control-height); min-height: var(--company-settings-control-height); }
.company-settings-operation { display: grid; grid-template-columns: minmax(0, .75fr) minmax(260px, 1fr); gap: 18px; padding-top: 22px; align-items: end; }
.company-settings-location-link { display: flex; height: var(--company-settings-control-height); min-height: var(--company-settings-control-height); align-items: center; gap: 11px; padding: 5px 12px; border: 1px solid #3f1a4026; border-radius: 14px; background: #fffafd; color: var(--ink); transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.company-settings-location-link:hover { border-color: var(--plum); box-shadow: 0 4px 0 var(--plum); transform: translateY(-2px); }
.company-settings-location-link > span { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 11px; background: var(--mist); color: var(--plum); }
.company-settings-location-link > div { display: grid; min-width: 0; flex: 1; gap: 2px; }
.company-settings-location-link strong { font: 800 .82rem/1.2 var(--heading); }
.company-settings-location-link small { overflow: hidden; color: var(--berry); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.company-settings-location-link > svg { width: 17px; color: var(--berry); transform: rotate(-90deg); }
.company-settings-security-link { margin-top: 22px; }
.company-settings-actions { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 18px; padding: 13px 14px; border: 1px solid #3f1a4030; border-radius: 19px; background: #fffdfef2; box-shadow: 0 15px 38px #210b2721; backdrop-filter: blur(18px); }
.company-settings-actions .mc-button { height: var(--company-settings-control-height); min-height: var(--company-settings-control-height); }
.company-settings-section { scroll-margin-top: 94px; }
.template-table-panel .dashboard-panel__head h2 { color: var(--ink); font-size: 1.18rem; }
.template-table-panel .dashboard-panel__head p { margin-top: 3px; color: var(--berry); font-size: .76rem; }
.template-table__reason { max-width: 560px; color: var(--berry); line-height: 1.4; }
.template-editor { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr); gap: 22px; margin-top: 28px; align-items: start; }
.template-editor__form, .template-editor__guide { padding: clamp(22px, 3vw, 30px); border: 1px solid #3f1a4026; border-radius: 24px; background: var(--white); box-shadow: 0 12px 36px #210b270b; }
.template-editor__head { display: flex; gap: 15px; padding-bottom: 23px; border-bottom: 1px solid #3f1a4019; }
.template-editor__head > span { display: grid; width: 52px; height: 52px; flex: 0 0 52px; place-items: center; border: 2px solid var(--plum); border-radius: 17px; background: var(--pink); color: var(--white); box-shadow: 0 3px 0 var(--plum); }
.template-editor__head svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.template-editor__head small, .template-detail-hero small { color: var(--pink); font: 800 .64rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.template-editor__head h2 { margin-top: 4px; color: var(--ink); font-size: 1.25rem; }
.template-editor__head p { max-width: 650px; margin-top: 4px; color: var(--berry); font-size: .78rem; line-height: 1.45; }
.template-editor__fields { display: grid; gap: 20px; padding-top: 24px; }
.template-editor__field-help { display: flex; justify-content: space-between; gap: 14px; margin-top: 7px; color: var(--berry); font-size: .67rem; }
.template-editor__guide { position: sticky; top: 94px; display: grid; gap: 15px; background: linear-gradient(145deg, #fff 0%, #fff6fa 100%); }
.template-editor__guide-number { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--pink); font: 850 .73rem/1 var(--heading); }
.template-editor__guide h2 { color: var(--ink); font-size: 1.1rem; }
.template-editor__guide ul { display: grid; gap: 11px; margin: 0; padding-left: 18px; color: var(--berry); font-size: .78rem; line-height: 1.45; }
.template-editor__guide > div { padding-top: 16px; border-top: 1px solid #3f1a4018; }
.template-editor__guide strong { color: var(--ink); font: 800 .78rem/1.2 var(--heading); }
.template-editor__guide p { margin-top: 4px; color: var(--berry); font-size: .72rem; line-height: 1.4; }
.template-editor__actions { position: sticky; bottom: 12px; z-index: 20; display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 10px; padding: 13px; border: 1px solid #3f1a4028; border-radius: 18px; background: #fffdfef0; box-shadow: 0 12px 34px #210b271c; backdrop-filter: blur(16px); }
.template-detail__top-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.template-detail-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; margin-top: 28px; padding: 24px 26px; overflow: hidden; align-items: center; border: 2px solid var(--plum); border-radius: 24px; background: linear-gradient(120deg, #fff 0%, #fff4f9 70%, #f5d9e9 100%); box-shadow: 0 5px 0 var(--plum); }
.template-detail-hero::after { position: absolute; right: -65px; width: 190px; height: 190px; border: 26px solid #ff3d9720; border-radius: 999px; content: ""; }
.template-detail-hero__mark { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid var(--plum); border-radius: 18px; background: var(--pink); color: white; box-shadow: 0 3px 0 var(--plum); }
.template-detail-hero__mark svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.template-detail-hero > div:nth-child(2), .template-detail-hero > .mc-badge { position: relative; z-index: 1; }
.template-detail-hero h2 { margin-top: 4px; color: var(--ink); font-size: 1.3rem; }
.template-detail-hero p { margin-top: 3px; color: var(--berry); font-size: .78rem; }
.template-detail-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 20px; margin-top: 24px; align-items: start; }
.template-detail-reason, .template-detail-meta { padding: clamp(22px, 3vw, 28px); border: 1px solid #3f1a4024; border-radius: 22px; background: var(--white); box-shadow: 0 10px 30px #210b270a; }
.template-detail-reason header { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid #3f1a4018; }
.template-detail-reason header span { color: var(--ink); font: 800 1rem/1.2 var(--heading); }
.template-detail-reason header small { color: var(--berry); font-size: .72rem; }
.template-detail-reason blockquote { margin: 22px 0 0; padding: 20px 22px; border-left: 4px solid var(--pink); border-radius: 0 16px 16px 0; background: #fff6fa; color: var(--ink); font-size: .95rem; line-height: 1.65; white-space: pre-wrap; }
.template-detail-meta h2 { padding-bottom: 17px; border-bottom: 1px solid #3f1a4018; color: var(--ink); font-size: 1rem; }
.template-detail-meta dl { margin: 0; }
.template-detail-meta dl > div { padding: 15px 0; border-bottom: 1px solid #3f1a4014; }
.template-detail-meta dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.template-detail-meta dt { color: var(--berry); font: 750 .64rem/1.2 var(--heading); letter-spacing: .04em; text-transform: uppercase; }
.template-detail-meta dd { margin: 5px 0 0; color: var(--ink); font-size: .79rem; }
.template-delete-box { margin-top: 22px; }
.template-delete-dialog p { color: var(--berry); font-size: .82rem; line-height: 1.5; }
.template-delete-dialog .mc-modal__actions { margin-top: 22px; }
.stamp-page, .stamp-detail-page { min-width: 0; }
.stamp-page-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.stamp-page-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.stamp-page-hero > * { position: relative; z-index: 1; }
.stamp-page-hero__copy { display: grid; max-width: 700px; gap: 8px; }
.stamp-page-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.stamp-page-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.stamp-page-hero p { max-width: 670px; color: #ffffffc9; font-size: 1rem; line-height: 1.5; }
.stamp-detail-header { position: relative; display: grid; min-height: 260px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 34px; padding: 36px 38px; overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 83% 15%, #ff74b541 0 7%, transparent 28%), linear-gradient(135deg, #2b0c29 0%, #612055 60%, #962869 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.stamp-detail-header::after { position: absolute; right: -112px; bottom: -190px; width: 390px; height: 390px; border: 64px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.stamp-detail-header > * { position: relative; z-index: 1; }
.stamp-detail-header__copy { display: grid; max-width: 820px; justify-items: start; }
.stamp-detail-header__eyebrow { color: #ff9cca; font: 850 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.stamp-detail-header h1 { margin-top: 9px; color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.85rem); line-height: .98; letter-spacing: -.055em; }
.stamp-detail-header__copy > p { max-width: 690px; margin-top: 15px; color: #ffffffc9; font-size: .98rem; line-height: 1.55; }
.stamp-detail-header__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 17px; color: #ffffffbd; font-size: .78rem; }
.stamp-detail-header__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.stamp-detail-header__meta > span + span::before { width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: #ff9cca; content: ""; }
.stamp-detail-header__status { padding: 6px 9px; border-radius: 999px; color: var(--white); font-weight: 800; }
.stamp-detail-header__status.is-valid { background: #23845f; }
.stamp-detail-header__status.is-void { background: #a52052; }
.stamp-detail-header__actions { display: flex; min-width: 240px; align-items: center; justify-content: flex-end; gap: 10px; }
.stamp-detail-header__actions .mc-button { white-space: nowrap; }
.dashboard-body .stamp-detail-header__actions .mc-button--line:not(.mc-button--sm) { border-color: var(--white); background: #ffffff1b; color: var(--white); box-shadow: none; }
.dashboard-body .stamp-detail-header__actions .mc-button--line:not(.mc-button--sm):hover { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.stamp-detail-header__actions .page-danger-menu__trigger { border-color: #ffffff52; background: #ffffff0d; color: var(--white); box-shadow: none; }
.stamp-detail-header__actions .page-danger-menu__trigger:hover { border-color: var(--white); background: #ffffff18; color: var(--white); }
.stamp-detail-header__actions .dropup .page-danger-menu__menu { margin-top: 0 !important; margin-bottom: 8px !important; }
@media (max-width: 840px) {
    .stamp-detail-header { min-height: 0; grid-template-columns: 1fr; align-items: start; }
    .stamp-detail-header__actions { min-width: 0; justify-content: flex-start; }
}
.stamp-table-filters { display: grid; gap: 17px; margin-bottom: 24px; }
.stamp-table-filters.has-active-filters .stamp-table-filters__head strong { color: var(--pink); }
.stamp-portfolio-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.stamp-portfolio-stats button { position: relative; display: grid; min-width: 0; min-height: 106px; align-content: space-between; gap: 6px; padding: 14px 15px; overflow: hidden; border: 1px solid #3f1a4020; border-radius: 16px; background: var(--white); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease; }
.stamp-portfolio-stats button::after { position: absolute; right: -34px; bottom: -43px; width: 92px; height: 92px; border: 15px solid #ff3d970b; border-radius: 50%; content: ""; }
.stamp-portfolio-stats button:hover { border-color: #ff3d9760; transform: translateY(-2px); }
.stamp-portfolio-stats button.is-active { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #6c275d); color: var(--white); }
.stamp-portfolio-stats button > span { position: relative; z-index: 1; color: var(--berry); font: 800 .66rem/1.2 var(--heading); letter-spacing: .055em; text-transform: uppercase; }
.stamp-portfolio-stats button > strong { position: relative; z-index: 1; color: var(--ink); font: 900 1.5rem/1 var(--heading); }
.stamp-portfolio-stats button > small { position: relative; z-index: 1; color: var(--berry); font-size: .67rem; line-height: 1.3; }
.stamp-portfolio-stats button.is-active > * { color: var(--white); }
.stamp-table-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid #3f1a4017; }
.stamp-table-filters__head > div { display: grid; gap: 3px; }
.stamp-table-filters__head strong { color: var(--ink); font: 800 .88rem/1.2 var(--heading); }
.stamp-table-filters__head span { color: var(--berry); font-size: .7rem; }
.stamp-table-filters__head button { flex: 0 0 auto; padding: 6px 2px; border: 0; background: transparent; color: var(--pink); cursor: pointer; font: 750 .7rem/1 var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.stamp-table-filters__head button:disabled { cursor: default; opacity: .38; text-decoration: none; }
.stamp-table-filters__grid { display: grid; grid-template-columns: repeat(3, minmax(135px, 1fr)) repeat(2, minmax(125px, .72fr)); gap: 13px; }
.stamp-table-filters .form-field { min-width: 0; margin: 0 !important; }
.stamp-table-filters .form-label { margin-bottom: 6px; color: var(--berry); font-size: .67rem; }
.stamp-table-filters .form-control, .stamp-table-filters .form-select { min-height: 50px; border-width: 1.5px; border-radius: 14px; background-color: var(--white); font-size: .9rem; }
.stamp-table-filters .searchable-select__control { min-height: 50px; padding: 9px 11px 9px 14px; border-width: 1.5px; border-color: #7a1b5c52; border-radius: 14px; background: var(--white); }
.stamp-table-filters .searchable-select__value { font-size: .9rem; }
.stamp-table-filters .searchable-select__chevron { width: 30px; height: 30px; flex-basis: 30px; background: #fff0f8; color: var(--berry); }
.stamp-table-filters .searchable-select__panel { min-width: min(300px, calc(100vw - 34px)); }
.stamp-date-picker { position: relative; min-width: 0; }
.stamp-date-picker__native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; border: 0 !important; white-space: nowrap !important; }
.stamp-date-picker__control { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 9px 9px 14px; border: 1.5px solid #7a1b5c52; border-radius: 14px; background: var(--white); color: #806079; cursor: pointer; text-align: left; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.stamp-date-picker__control:hover { border-color: #7a1b5c82; background: #fff; }
.stamp-date-picker__control:focus-visible, .stamp-date-picker.is-open .stamp-date-picker__control { border-color: var(--pink); outline: 0; background: #fff; box-shadow: 0 0 0 4px #ff3d971c; }
.stamp-date-picker.has-value .stamp-date-picker__control { color: var(--ink); }
.stamp-date-picker__control > span { min-width: 0; overflow: hidden; font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.stamp-date-picker__control svg { width: 30px; height: 30px; flex: 0 0 30px; padding: 7px; border-radius: 10px; background: #fff0f8; fill: none; stroke: var(--berry); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stamp-date-picker.is-open .stamp-date-picker__control svg { background: var(--pink); stroke: var(--white); }
.stamp-date-picker__popover { position: absolute; z-index: 120; top: calc(100% + 9px); left: 0; width: min(320px, calc(100vw - 34px)); padding: 14px; border: 1.5px solid #7a1b5c38; border-radius: 19px; background: var(--white); box-shadow: 0 18px 55px #2408242b, 0 5px 0 #3f1a4017; }
.stamp-date-picker__popover[hidden] { display: none !important; }
.stamp-date-picker__header { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; align-items: center; margin-bottom: 12px; }
.stamp-date-picker__month-label { min-height: 36px; padding: 7px 9px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; font: 800 .9rem/1.2 var(--heading); text-align: center; transition: background-color .16s ease, color .16s ease; }
.stamp-date-picker__month-label::after { display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; content: ""; transform: rotate(45deg); }
.stamp-date-picker__month-label:hover, .stamp-date-picker__month-label:focus-visible { outline: 0; background: #fff0f8; color: var(--pink); }
.stamp-date-picker__month-button { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 11px; background: #fff0f8; color: var(--berry); cursor: pointer; font: 800 1.35rem/1 var(--heading); transition: background-color .16s ease, color .16s ease, transform .16s ease; }
.stamp-date-picker__month-button:hover, .stamp-date-picker__month-button:focus-visible { outline: 0; background: var(--pink); color: var(--white); }
.stamp-date-picker__month-button:active { transform: scale(.94); }
.stamp-date-picker__month-button:disabled { background: #f7f0f4; color: #bca9b6; cursor: default; opacity: .55; transform: none; }
.stamp-date-picker__weekdays, .stamp-date-picker__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.stamp-date-picker__weekdays { margin-bottom: 5px; }
.stamp-date-picker__weekdays span { color: #96718b; font: 750 .61rem/1 var(--heading); text-align: center; }
.stamp-date-picker__grid > span, .stamp-date-picker__grid > button { aspect-ratio: 1; }
.stamp-date-picker__grid > button { display: grid; min-width: 0; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; font: 700 .75rem/1 var(--heading); transition: background-color .14s ease, color .14s ease, transform .14s ease; }
.stamp-date-picker__grid > button:hover, .stamp-date-picker__grid > button:focus-visible { outline: 0; background: #fff0f8; color: var(--berry); }
.stamp-date-picker__grid > button:focus-visible { box-shadow: inset 0 0 0 2px var(--pink); }
.stamp-date-picker__grid > button.is-today { box-shadow: inset 0 0 0 1.5px #ff3d9766; color: var(--pink); }
.stamp-date-picker__grid > button.is-selected { background: var(--pink); color: var(--white); box-shadow: 0 3px 0 var(--plum); }
.stamp-date-picker__grid > button:disabled { background: transparent; color: #bca9b6; cursor: default; opacity: .46; box-shadow: none; }
.stamp-date-picker__year-chooser[hidden] { display: none !important; }
.stamp-date-picker__year-header { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; align-items: center; margin-bottom: 14px; }
.stamp-date-picker__year-header strong { color: var(--ink); font: 800 .9rem/1.2 var(--heading); text-align: center; }
.stamp-date-picker__year-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.stamp-date-picker__year-grid button { min-height: 46px; border: 0; border-radius: 11px; background: #fff8fc; color: var(--ink); cursor: pointer; font: 750 .78rem/1 var(--heading); transition: background-color .14s ease, color .14s ease, transform .14s ease; }
.stamp-date-picker__year-grid button:hover, .stamp-date-picker__year-grid button:focus-visible { outline: 0; background: #fff0f8; color: var(--berry); box-shadow: inset 0 0 0 2px var(--pink); }
.stamp-date-picker__year-grid button.is-current { color: var(--pink); box-shadow: inset 0 0 0 1.5px #ff3d9766; }
.stamp-date-picker__year-grid button.is-selected { background: var(--pink); color: var(--white); box-shadow: 0 3px 0 var(--plum); }
.stamp-date-picker__year-grid button.is-outside-decade:not(.is-selected) { color: #aa91a2; opacity: .68; }
.stamp-date-picker__year-grid button:disabled { background: #f8f3f6; color: #bca9b6; cursor: default; opacity: .4; box-shadow: none; }
.stamp-date-picker__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; padding-top: 11px; border-top: 1px solid #3f1a4017; }
.stamp-date-picker__footer button { padding: 7px 9px; border: 0; border-radius: 9px; background: transparent; color: var(--berry); cursor: pointer; font: 750 .69rem/1 var(--heading); }
.stamp-date-picker__footer button:last-child { background: #fff0f8; color: var(--pink); }
.stamp-date-picker__footer button:hover, .stamp-date-picker__footer button:focus-visible { outline: 0; background: var(--pink); color: var(--white); }
.stamp-date-picker__footer button:disabled { cursor: default; opacity: .35; }
.stamp-table-filters__grid .form-field:last-child .stamp-date-picker__popover { right: 0; left: auto; }
.table-shell .dt-processing { position: absolute; top: 94px; left: 50%; z-index: 12; min-width: 150px; padding: 11px 16px; border: 1px solid #3f1a4028; border-radius: 13px; background: #fffdfef2; color: var(--plum); box-shadow: 0 10px 28px #210b271d; font: 750 .75rem/1 var(--heading); transform: translateX(-50%); backdrop-filter: blur(14px); }
.stamp-table-date { color: var(--ink); font-weight: 650; white-space: nowrap; }
.table-shell .stamp-table-date-cell { text-align: left !important; }
.stamp-table-state-cell { white-space: nowrap; }
.stamp-table-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; font: 750 .7rem/1 var(--heading); white-space: nowrap; }
.stamp-table-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.stamp-table-status--valid { background: #e7f7ef; color: #167349; }
.stamp-table-status--void { background: #f1ebf0; color: #6c5365; }
.stamp-table-row--void td:not(:last-child):not(.stamp-table-state-cell) { opacity: .62; }
.stamp-table-row--void .stamp-table-status { opacity: 1; }
.customer-page, .customer-detail-page { min-width: 0; }
.customer-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.customer-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.customer-hero > * { position: relative; z-index: 1; }
.customer-hero__copy { display: grid; max-width: 700px; gap: 8px; }
.customer-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.customer-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.customer-hero p { max-width: 670px; color: #ffffffc9; font-size: 1rem; line-height: 1.5; }
.customer-detail-hero { position: relative; display: grid; min-height: 260px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 34px; padding: 36px 38px; overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 83% 15%, #ff74b541 0 7%, transparent 28%), linear-gradient(135deg, #2b0c29 0%, #612055 60%, #962869 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.customer-detail-hero::after { position: absolute; right: -112px; bottom: -190px; width: 390px; height: 390px; border: 64px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.customer-detail-hero > * { position: relative; z-index: 1; }
.customer-detail-hero__copy { display: grid; max-width: 780px; justify-items: start; }
.customer-detail-hero__eyebrow { color: #ff9cca; font: 850 .72rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.customer-detail-hero h1 { margin-top: 9px; color: var(--white); font-size: clamp(2.4rem, 4.5vw, 3.85rem); line-height: .98; letter-spacing: -.055em; }
.customer-detail-hero__copy > p { max-width: 690px; margin-top: 15px; color: #ffffffc9; font-size: .98rem; line-height: 1.55; }
.customer-detail-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 17px; color: #ffffffbd; font-size: .78rem; }
.customer-detail-hero__meta > span { display: inline-flex; align-items: center; gap: 7px; }
.customer-detail-hero__meta > span + span::before { width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: #ff9cca; content: ""; }
.customer-detail-hero__status { padding: 6px 9px; border-radius: 999px; color: var(--white); font-weight: 800; }
.customer-detail-hero__status--active { background: #23845f; }
.customer-detail-hero__status--suspended { background: #a9620b; }
.customer-detail-hero__status--banned { background: #a52052; }
.customer-detail-hero__actions { display: flex; min-width: 210px; align-items: center; justify-content: flex-end; }
.customer-detail-hero__actions .mc-button { white-space: nowrap; }
.dashboard-body .customer-detail-hero__actions .mc-button--line:not(.mc-button--sm) { border-color: var(--white); background: #ffffff1b; color: var(--white); box-shadow: none; }
.dashboard-body .customer-detail-hero__actions .mc-button--line:not(.mc-button--sm):hover { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
@media (max-width: 840px) {
    .customer-detail-hero { min-height: 0; grid-template-columns: 1fr; align-items: start; }
    .customer-detail-hero__actions { min-width: 0; justify-content: flex-start; }
}
.customer-index-panel__head { align-items: center; }
.customer-index-heading { display: flex; align-items: center; gap: 13px; }
.customer-index-heading__mark { display: grid; width: 47px; height: 47px; flex: 0 0 47px; place-items: center; border: 1px solid #ff3d9738; border-radius: 15px; background: var(--mist); color: var(--pink); }
.customer-index-heading__mark svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.customer-index-heading > div { display: grid; gap: 2px; }
.customer-index-heading small { color: var(--pink); font: 800 .61rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.customer-index-heading h2 { line-height: 1.1; }
.customer-index-heading p { color: var(--berry); font-size: .77rem; }
.customer-table-filters { display: grid; gap: 17px; margin-bottom: 24px; }
.customer-table-filters.has-active-filters .customer-table-filters__head strong { color: var(--pink); }
.customer-portfolio-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.customer-portfolio-stats button { --portfolio-accent: var(--pink); --portfolio-surface: #fff7fb; position: relative; display: grid; min-width: 0; min-height: 108px; align-content: space-between; gap: 6px; padding: 14px 15px; overflow: hidden; border: 1px solid #3f1a4020; border-radius: 16px; background: linear-gradient(145deg, var(--white), var(--portfolio-surface)); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.customer-portfolio-stats button:nth-child(2) { --portfolio-accent: #25845a; --portfolio-surface: #f1fbf6; }
.customer-portfolio-stats button:nth-child(3) { --portfolio-accent: #6251b8; --portfolio-surface: #f6f4ff; }
.customer-portfolio-stats button:nth-child(4) { --portfolio-accent: #af6708; --portfolio-surface: #fff8ed; }
.customer-portfolio-stats button:nth-child(5) { --portfolio-accent: #6d5d69; --portfolio-surface: #f7f5f7; }
.customer-portfolio-stats button:nth-child(6) { --portfolio-accent: #3571ad; --portfolio-surface: #f1f7fd; }
.customer-portfolio-stats button::after { position: absolute; right: -35px; bottom: -44px; width: 94px; height: 94px; border: 15px solid color-mix(in srgb, var(--portfolio-accent) 8%, transparent); border-radius: 50%; content: ""; }
.customer-portfolio-stats button:hover { border-color: color-mix(in srgb, var(--portfolio-accent) 52%, transparent); box-shadow: 0 9px 20px #210b2709; transform: translateY(-2px); }
.customer-portfolio-stats button.is-active { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #6c275d); box-shadow: 0 3px 0 #250f25; }
.customer-portfolio-stats button > span { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; color: var(--berry); font: 800 .65rem/1.2 var(--heading); letter-spacing: .05em; text-transform: uppercase; }
.customer-portfolio-stats button > span::before { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--portfolio-accent); content: ""; }
.customer-portfolio-stats button > strong { position: relative; z-index: 1; color: var(--ink); font: 900 1.5rem/1 var(--heading); }
.customer-portfolio-stats button > small { position: relative; z-index: 1; color: var(--berry); font-size: .67rem; line-height: 1.3; }
.customer-portfolio-stats button.is-active > *, .customer-portfolio-stats button.is-active > span::before { color: var(--white); }
.customer-portfolio-stats button.is-active > span::before { background: var(--white); }
.customer-table-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid #3f1a4017; }
.customer-table-filters__head > div { display: grid; gap: 3px; }
.customer-table-filters__head strong { color: var(--ink); font: 800 .88rem/1.2 var(--heading); }
.customer-table-filters__head span { color: var(--berry); font-size: .7rem; }
.customer-table-filters__head button { flex: 0 0 auto; padding: 6px 2px; border: 0; background: transparent; color: var(--pink); cursor: pointer; font: 750 .7rem/1 var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.customer-table-filters__head button:disabled { cursor: default; opacity: .38; text-decoration: none; }
.customer-table-filters__grid { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 13px; }
.customer-table-filters .form-field { min-width: 0; margin: 0 !important; }
.customer-table-filters .form-label { margin-bottom: 6px; color: var(--berry); font-size: .67rem; }
.customer-table-filters .form-select { min-height: 50px; border-width: 1.5px; border-radius: 14px; background-color: var(--white); font-size: .9rem; }
.customer-table-filters .searchable-select__control { min-height: 50px; padding: 9px 11px 9px 14px; border-width: 1.5px; border-color: #7a1b5c52; border-radius: 14px; background: var(--white); }
.customer-table-filters .searchable-select__value { font-size: .9rem; }
.customer-table-filters .searchable-select__chevron { width: 30px; height: 30px; flex-basis: 30px; background: #fff0f8; color: var(--berry); }
.customer-table-filters .searchable-select__panel { min-width: min(300px, calc(100vw - 34px)); }
.customer-table-person { display: flex; min-width: 195px; align-items: center; gap: 11px; }
.customer-table-person > span { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--plum); font: 850 .68rem/1 var(--heading); }
.customer-table-person > div, .customer-table-person small, .customer-table-person strong, .table-shell time { display: block; min-width: 0; }
.customer-table-person small { max-width: 235px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-membership-number { color: var(--plum); font: 750 .76rem/1 var(--heading); letter-spacing: .06em; }
.table-shell time strong, .table-shell time small { display: block; }
.table-shell time strong { color: var(--ink); font-size: .78rem; }
.table-shell time small { margin-top: 3px; white-space: nowrap; }
.customer-table-tags { display: flex; flex-wrap: wrap; gap: 5px; min-width: 130px; }
.customer-table-empty, .customer-no-visit { color: var(--berry); font-size: .72rem; }
.customer-health-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 750 .66rem/1 var(--heading); white-space: nowrap; }
.customer-health-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.customer-health-status--active { background: #e8f7f0; color: #18734c; }
.customer-health-status--new { background: #eef1ff; color: #4b57a8; }
.customer-health-status--at-risk { background: #fff0d9; color: #9a5a08; }
.customer-health-status--dormant { background: #f0ecef; color: #665561; }
.customer-health-status--no-activity { background: var(--mist); color: var(--berry); }
.customer-profile-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; margin-top: 28px; padding: 26px 28px; overflow: hidden; align-items: center; border: 2px solid var(--plum); border-radius: 25px; background: linear-gradient(120deg, #fff 0%, #fff4f9 70%, #f2d8e8 100%); box-shadow: 0 5px 0 var(--plum); }
.customer-profile-hero::after { position: absolute; right: -78px; width: 225px; height: 225px; border: 30px solid #ff3d9721; border-radius: 50%; content: ""; }
.customer-profile-hero__avatar { position: relative; z-index: 1; display: grid; width: 68px; height: 68px; place-items: center; border: 2px solid var(--plum); border-radius: 21px; background: var(--pink); color: var(--white); box-shadow: 0 4px 0 var(--plum); font: 900 1rem/1 var(--heading); }
.customer-profile-hero__avatar.has-photo { overflow: hidden; border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
.customer-profile-hero__avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.customer-profile-hero__identity { position: relative; z-index: 1; min-width: 0; }
.customer-profile-hero__identity > span { color: var(--pink); font: 800 .64rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.customer-profile-hero__identity h2 { margin-top: 6px; overflow-wrap: anywhere; color: var(--ink); font-size: 1.55rem; }
.customer-profile-hero__meta, .customer-profile-hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; margin-top: 8px; color: var(--berry); font-size: .75rem; }
.customer-profile-hero__tags { gap: 6px; }
.customer-metrics-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.customer-metric { display: grid; min-width: 0; min-height: 132px; align-content: space-between; gap: 8px; padding: 18px; border: 1px solid #3f1a4022; border-radius: 19px; background: var(--white); box-shadow: 0 9px 25px #210b2709; }
.customer-metric--featured { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #6f2860); box-shadow: 0 4px 0 #250f25; }
.customer-metric > span { color: var(--berry); font: 750 .64rem/1.25 var(--heading); letter-spacing: .04em; text-transform: uppercase; }
.customer-metric strong { color: var(--ink); font: 900 1.65rem/1 var(--heading); }
.customer-metric small { color: var(--berry); font-size: .66rem; line-height: 1.4; }
.customer-metric--featured > * { color: var(--white) !important; }
.customer-analytics-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .5fr); gap: 20px; margin-top: 22px; align-items: start; }
.customer-analytics-main, .customer-analytics-aside { display: grid; min-width: 0; gap: 18px; }
.customer-analytics-aside { position: sticky; top: 90px; }
.customer-analytics-card { min-width: 0; padding: clamp(21px, 3vw, 27px); border: 1px solid #3f1a4022; border-radius: 22px; background: var(--white); box-shadow: 0 10px 30px #210b2709; }
.customer-analytics-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 19px; border-bottom: 1px solid #3f1a4017; }
.customer-analytics-card__head span { color: var(--pink); font: 800 .61rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.customer-analytics-card__head h2 { margin-top: 5px; color: var(--ink); font-size: 1.08rem; }
.customer-analytics-card__head p { margin-top: 4px; color: var(--berry); font-size: .72rem; line-height: 1.4; }
.customer-chart-legend { display: flex; flex: 0 0 auto; gap: 12px; }
.customer-chart-legend span { display: flex; align-items: center; gap: 5px; color: var(--berry); font-size: .61rem; letter-spacing: 0; text-transform: none; }
.customer-chart-legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--pink); }
.customer-chart-legend span:last-child i { background: #b8a4b1; }
.customer-column-chart { display: grid; height: 225px; grid-template-columns: repeat(12, minmax(22px, 1fr)); gap: 9px; padding-top: 24px; }
.customer-column-chart__item { display: grid; min-width: 0; grid-template-rows: 17px 1fr 18px; gap: 6px; text-align: center; }
.customer-column-chart__value { color: var(--berry); font-size: .61rem; }
.customer-column-chart__track { display: flex; height: 100%; align-items: flex-end; justify-content: center; gap: 2px; border-bottom: 1px solid #3f1a4025; background: repeating-linear-gradient(to top, transparent 0, transparent 32px, #3f1a400d 33px); }
.customer-column-chart__track i { width: min(10px, 42%); min-height: 0; border-radius: 5px 5px 1px 1px; background: var(--pink); }
.customer-column-chart__track i.is-void { background: #b8a4b1; }
.customer-column-chart__item small { overflow: hidden; color: var(--berry); font-size: .6rem; text-overflow: ellipsis; text-transform: capitalize; }
.customer-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.customer-weekday-chart, .customer-program-chart { display: grid; gap: 13px; padding-top: 20px; }
.customer-weekday-chart > div { display: grid; grid-template-columns: 30px minmax(0, 1fr) 25px; gap: 9px; align-items: center; }
.customer-weekday-chart span, .customer-weekday-chart strong { color: var(--berry); font-size: .65rem; }
.customer-weekday-chart strong { color: var(--ink); text-align: right; }
.customer-weekday-chart i, .customer-program-chart i { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: var(--mist); }
.customer-weekday-chart b, .customer-program-chart b { display: block; height: 100%; min-width: 0; border-radius: inherit; background: var(--pink); }
.customer-program-chart > div { display: grid; gap: 7px; }
.customer-program-chart > div > div { display: flex; justify-content: space-between; gap: 12px; }
.customer-program-chart strong { overflow: hidden; color: var(--ink); font: 750 .7rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.customer-program-chart span { flex: 0 0 auto; color: var(--berry); font-size: .62rem; }
.customer-chart-empty { color: var(--berry); font-size: .74rem; line-height: 1.5; }
.customer-activity-list { display: grid; padding-top: 7px; }
.customer-activity-list article { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; margin-left: 8px; padding: 16px 0 16px 23px; align-items: center; border-left: 2px solid #3f1a401d; }
.customer-activity-list article:last-child { border-left-color: transparent; }
.customer-activity-list__dot { position: absolute; top: 22px; left: -7px; width: 12px; height: 12px; border: 3px solid var(--white); border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px #ff3d9740; }
.customer-activity-list article.is-void .customer-activity-list__dot { background: var(--berry); box-shadow: 0 0 0 2px #7a1b5c38; }
.customer-activity-list article > div { display: grid; min-width: 0; gap: 3px; }
.customer-activity-list article > div:nth-of-type(2) { justify-items: end; }
.customer-activity-list strong { overflow: hidden; color: var(--ink); font: 800 .76rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.customer-activity-list small, .customer-activity-list time { color: var(--berry); font-size: .65rem; }
.customer-activity-list article > a { color: var(--pink); font: 750 .68rem/1 var(--heading); }
.customer-health-card { position: relative; padding: 23px; overflow: hidden; border: 2px solid var(--plum); border-radius: 22px; background: linear-gradient(145deg, var(--plum), #6c275d); color: var(--white); box-shadow: 0 4px 0 #250f25; }
.customer-health-card::after { position: absolute; top: -70px; right: -65px; width: 160px; height: 160px; border: 22px solid #ffffff12; border-radius: 50%; content: ""; }
.customer-health-card--at_risk { background: linear-gradient(145deg, #8b3159, #5a183c); }
.customer-health-card--dormant, .customer-health-card--no_activity { background: linear-gradient(145deg, #62505f, #3a2938); }
.customer-health-card--loyal { background: linear-gradient(145deg, #285c51, #173e38); }
.customer-health-card--new { background: linear-gradient(145deg, #7a1b5c, #b42a78); }
.customer-health-card > span { color: #ffffffb8; font: 800 .62rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.customer-health-card h2 { margin-top: 7px; color: var(--white); font-size: 1.17rem; }
.customer-health-card > p { margin-top: 5px; color: #ffffffcf; font-size: .72rem; line-height: 1.45; }
.customer-health-signals { position: relative; z-index: 1; display: grid; gap: 0; margin-top: 17px; border: 1px solid #ffffff20; border-radius: 15px; background: #ffffff0d; }
.customer-health-signals > div { display: grid; gap: 4px; padding: 13px; border-bottom: 1px solid #ffffff1c; }
.customer-health-signals > div:last-child { border-bottom: 0; }
.customer-health-signals small { color: #ffffff9e; font: 750 .58rem/1.2 var(--heading); letter-spacing: .04em; text-transform: uppercase; }
.customer-health-signals strong { color: var(--white); font: 800 .73rem/1.3 var(--heading); }
.customer-health-signals strong.is-up { color: #a9f0cf; }
.customer-health-signals strong.is-down { color: #ffd0df; }
.customer-health-signals span { color: #ffffffb8; font-size: .61rem; line-height: 1.4; }
.customer-health-card__definition { position: relative; z-index: 1; display: block; margin-top: 14px; color: #ffffff99; font-size: .58rem; line-height: 1.45; }
.customer-insights-card dl { margin: 0; }
.customer-insights-card dl > div { padding: 14px 0; border-bottom: 1px solid #3f1a4014; }
.customer-insights-card dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.customer-insights-card dt { color: var(--berry); font: 750 .62rem/1.2 var(--heading); text-transform: uppercase; }
.customer-insights-card dd { margin: 5px 0 0; color: var(--ink); font-size: .74rem; }
.customer-location-list { display: grid; gap: 0; margin: 0; padding: 8px 0 0; list-style: none; }
.customer-location-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 9px; padding: 11px 0; align-items: center; border-bottom: 1px solid #3f1a4014; }
.customer-location-list li:last-child { border-bottom: 0; }
.customer-location-list li > span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; background: var(--mist); color: var(--pink); font: 800 .6rem/1 var(--heading); }
.customer-location-list strong { overflow: hidden; color: var(--ink); font: 750 .7rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.customer-location-list small { color: var(--berry); font-size: .66rem; }
.customer-definition-card { padding: 20px; border: 1px solid #ff3d9735; border-radius: 20px; background: linear-gradient(145deg, #fff 0%, #fff0f7 100%); }
.customer-definition-card strong { color: var(--ink); font: 800 .8rem/1.3 var(--heading); }
.customer-definition-card p { margin-top: 7px; color: var(--berry); font-size: .69rem; line-height: 1.55; }
.customer-internal-form { display: grid; gap: 16px; padding-top: 20px; }
.customer-internal-form .form-field { margin: 0 !important; }
.customer-tag-picker { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; border: 0; }
.customer-tag-picker legend { width: 100%; margin-bottom: 3px; color: var(--ink); font: 750 .72rem/1.2 var(--heading); }
.customer-tag-picker label { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #3f1a4022; border-radius: 10px; background: #fffafd; color: var(--plum); font-size: .66rem; cursor: pointer; }
.customer-tag-picker label:has(input:checked) { border-color: var(--pink); background: var(--mist); }
.stamp-detail-top { align-items: flex-end; }
.stamp-detail-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 17px; margin-top: 28px; padding: 24px 26px; overflow: hidden; align-items: center; border: 2px solid var(--plum); border-radius: 24px; background: linear-gradient(120deg, #fff 0%, #fff4f9 72%, #f5d9e9 100%); box-shadow: 0 5px 0 var(--plum); }
.stamp-detail-hero::after { position: absolute; right: -72px; width: 210px; height: 210px; border: 30px solid #ff3d9726; border-radius: 999px; content: ""; }
.stamp-detail-hero.is-void { background: linear-gradient(120deg, #fff 0%, #fff7fa 72%, #f0e8ed 100%); }
.stamp-detail-hero__mark { position: relative; z-index: 1; display: grid; width: 62px; height: 62px; place-items: center; border: 2px solid var(--plum); border-radius: 19px; background: var(--pink); color: var(--white); box-shadow: 0 4px 0 var(--plum); }
.stamp-detail-hero.is-void .stamp-detail-hero__mark { background: var(--berry); }
.stamp-detail-hero__mark svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.stamp-detail-hero__copy { position: relative; z-index: 1; min-width: 0; }
.stamp-detail-hero__copy > span { color: var(--pink); font: 800 .72rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.stamp-detail-hero__copy h2 { margin-top: 7px; color: var(--ink); font-size: 1.55rem; }
.stamp-detail-hero__copy p { margin-top: 4px; color: var(--berry); font-size: .92rem; }
.stamp-detail-hero__status { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; }
.stamp-detail-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(275px, .55fr); gap: 20px; margin-top: 24px; align-items: start; }
.stamp-detail-main, .stamp-detail-aside { display: grid; gap: 18px; }
.stamp-detail-aside { position: sticky; top: 92px; }
.stamp-detail-section { padding: clamp(21px, 3vw, 27px); border: 1px solid #3f1a4024; border-radius: 22px; background: var(--white); box-shadow: 0 10px 30px #210b270a; }
.stamp-detail-section__head { padding-bottom: 20px; border-bottom: 1px solid #3f1a4017; }
.stamp-detail-section__head > div { display: flex; align-items: center; gap: 12px; }
.stamp-detail-section__head > div > span { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--plum); font: 850 .68rem/1 var(--heading); }
.stamp-detail-section__head h2 { color: var(--ink); font-size: 1.2rem; }
.stamp-detail-section__head p { margin-top: 4px; color: var(--berry); font-size: .84rem; }
.stamp-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; }
.stamp-detail-facts > div { min-width: 0; padding: 18px 15px 18px 0; border-bottom: 1px solid #3f1a4014; }
.stamp-detail-facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
.stamp-detail-facts > div.is-wide { grid-column: 1 / -1; }
.stamp-detail-facts dt, .stamp-reference-card dt, .stamp-void-summary dt { color: var(--berry); font: 750 .7rem/1.2 var(--heading); letter-spacing: .04em; text-transform: uppercase; }
.stamp-detail-facts dd, .stamp-reference-card dd, .stamp-void-summary dd { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--ink); font-size: .9rem; line-height: 1.45; }
.stamp-customer-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 15px; border: 1px solid #3f1a4020; border-radius: 16px; background: #fffafd; }
.stamp-customer-card__identity { display: flex; min-width: 0; align-items: center; gap: 11px; }
.stamp-customer-card__identity > span { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 13px; background: var(--pink); color: var(--white); font: 850 .68rem/1 var(--heading); }
.stamp-customer-card__identity > div { display: grid; min-width: 0; gap: 2px; }
.stamp-customer-card strong { color: var(--ink); font: 800 .82rem/1.2 var(--heading); }
.stamp-customer-card small { color: var(--berry); font-size: .68rem; }
.stamp-customer-card > div:last-child { display: grid; flex: 0 0 auto; gap: 3px; text-align: right; }
.stamp-client-profile { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 22px; overflow: hidden; border: 1px solid #3f1a4024; border-radius: 22px; background: linear-gradient(145deg, #fff 0%, #fff5fa 100%); }
.stamp-client-profile::after { position: absolute; right: -75px; bottom: -90px; width: 190px; height: 190px; border: 25px solid #ff3d9715; border-radius: 50%; content: ""; pointer-events: none; }
.stamp-client-profile__top { position: relative; z-index: 1; display: flex; min-width: 0; align-items: center; gap: 14px; padding-bottom: 19px; border-bottom: 1px solid #3f1a4018; }
.stamp-client-profile__avatar { display: grid; width: 62px; height: 62px; flex: 0 0 62px; place-items: center; border: 2px solid var(--plum); border-radius: 19px; background: var(--pink); color: var(--white); box-shadow: 0 3px 0 var(--plum); font: 900 .95rem/1 var(--heading); }
.stamp-client-profile__avatar.has-photo { overflow: hidden; border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
.stamp-client-profile__avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.stamp-client-profile__identity { min-width: 0; }
.stamp-client-profile__identity > span { color: var(--pink); font: 800 .72rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.stamp-client-profile__identity h2 { margin-top: 6px; overflow-wrap: anywhere; color: var(--ink); font-size: 1.08rem; line-height: 1.15; }
.stamp-client-profile__identity p { margin-top: 4px; overflow: hidden; color: var(--berry); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.stamp-client-profile__facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); flex: 1 1 auto; margin: 0; }
.stamp-client-profile__facts > div { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 15px 10px 15px 0; border-bottom: 1px solid #3f1a4016; }
.stamp-client-profile__facts > div:nth-last-child(-n + 2) { border-bottom: 0; }
.stamp-client-profile__facts dt { color: var(--berry); font: 750 .68rem/1.2 var(--heading); letter-spacing: .04em; text-transform: uppercase; }
.stamp-client-profile__facts dd { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--ink); font: 800 .86rem/1.35 var(--heading); }
.stamp-client-profile__state { display: inline-flex; align-items: center; gap: 6px; color: #8a5c73; white-space: nowrap; }
.stamp-client-profile__state::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.stamp-client-profile__state.is-active { color: #18734c; }
.stamp-client-profile__link { position: relative; z-index: 1; display: flex; min-height: 42px; margin-top: 3px; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #3f1a4018; color: var(--plum); font: 800 .76rem/1.2 var(--heading); }
.stamp-client-profile__link:hover { color: var(--pink); }
.stamp-client-profile__link span { font-size: 1rem; transition: transform .16s ease; }
.stamp-client-profile__link:hover span { transform: translateX(3px); }
.stamp-audit-timeline { display: grid; padding-top: 20px; }
.stamp-audit-event { position: relative; display: grid; gap: 9px; margin-left: 9px; padding: 0 0 24px 28px; border-left: 2px solid #3f1a4020; }
.stamp-audit-event:last-child { padding-bottom: 0; border-left-color: transparent; }
.stamp-audit-event > span { position: absolute; top: 0; left: -8px; width: 14px; height: 14px; border: 3px solid var(--white); border-radius: 999px; background: var(--pink); box-shadow: 0 0 0 2px #ff3d9740; }
.stamp-audit-event.is-danger > span { background: #a52052; box-shadow: 0 0 0 2px #a5205240; }
.stamp-audit-event__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.stamp-audit-event__head > div { display: grid; gap: 3px; }
.stamp-audit-event__head strong { color: var(--ink); font: 800 .82rem/1.25 var(--heading); }
.stamp-audit-event__head small, .stamp-audit-event__head time { color: var(--berry); font-size: .68rem; }
.stamp-audit-event__head time { flex: 0 0 auto; }
.stamp-audit-event > p { color: var(--berry); font-size: .75rem; }
.stamp-audit-data { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.stamp-audit-data > div { padding: 7px 9px; border: 1px solid #3f1a401b; border-radius: 10px; background: #fffafd; }
.stamp-audit-data dt, .stamp-audit-data dd { display: inline; margin: 0; font-size: .65rem; }
.stamp-audit-data dt { color: var(--berry); font-weight: 700; }
.stamp-audit-data dt::after { content: ": "; }
.stamp-audit-data dd { color: var(--ink); }
.stamp-audit-origin { display: flex; flex-wrap: wrap; gap: 7px; color: var(--berry); font-size: .62rem; overflow-wrap: anywhere; }
.stamp-valid-summary, .stamp-void-summary, .stamp-reference-card { padding: 21px; border: 1px solid #3f1a4024; border-radius: 20px; background: var(--white); }
.stamp-valid-summary { border-color: #1f8b5533; background: linear-gradient(145deg, #fff 0%, #eafaf2 100%); }
.stamp-current-summary { position: relative; display: flex; min-width: 0; min-height: 150px; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate; }
.stamp-current-summary::before, .stamp-current-summary::after { position: absolute; z-index: -1; border: 20px solid #21875914; border-radius: 50%; content: ""; pointer-events: none; }
.stamp-current-summary::before { top: -46px; right: -39px; width: 112px; height: 112px; }
.stamp-current-summary::after { right: -74px; bottom: -92px; width: 210px; height: 210px; border-width: 27px; }
.stamp-void-summary.stamp-current-summary::before, .stamp-void-summary.stamp-current-summary::after { border-color: #a5205212; }
.stamp-current-summary > span, .stamp-current-summary > h2, .stamp-current-summary > p, .stamp-current-summary > dl { position: relative; z-index: 1; }
.stamp-valid-summary > span, .stamp-void-summary > span, .stamp-reference-card header > span { color: var(--berry); font: 800 .64rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.stamp-valid-summary h2, .stamp-void-summary h2, .stamp-reference-card h2 { margin-top: 7px; color: var(--ink); font-size: 1.02rem; }
.stamp-valid-summary p { max-width: 250px; margin: 8px 0 0; color: var(--berry); font-size: .8rem; line-height: 1.5; }
.stamp-valid-summary .mc-button { width: 100%; }
.stamp-void-summary { border-color: #a5205230; background: #fff5f8; }
.stamp-void-summary h2 { font-size: .92rem; line-height: 1.4; }
.stamp-void-summary dl, .stamp-reference-card dl { display: grid; gap: 0; margin: 16px 0 0; }
.stamp-void-summary dl > div, .stamp-reference-card dl > div { padding: 11px 0; border-top: 1px solid #3f1a4017; }
.stamp-reference-card dd { font-size: .82rem; }
@media (min-width: 981px) {
    .stamp-detail-layout { align-items: stretch; }
    .stamp-detail-main, .stamp-detail-aside { display: contents; }
    .stamp-detail-section--assignment { grid-column: 1; grid-row: 1; }
    .stamp-client-profile { grid-column: 2; grid-row: 1; }
    .stamp-detail-section--card { grid-column: 1; grid-row: 2; }
    .stamp-current-summary { grid-column: 2; grid-row: 2; }
    .stamp-detail-section--audit { grid-column: 1; grid-row: 3; }
    .stamp-reference-card--technical { grid-column: 2; grid-row: 3; }
    .stamp-reference-card--security { grid-column: 2; grid-row: 4; }
}
.stamp-void-dialog { width: min(100% - 32px, 600px); max-height: calc(100vh - 36px); padding: 0; overflow: auto; }
.stamp-void-dialog .mc-modal__header { position: sticky; top: 0; z-index: 2; padding: 19px 22px 15px; border-bottom: 1px solid #3f1a4017; background: #fffdfef4; backdrop-filter: blur(16px); }
.stamp-void-dialog .mc-modal__header h2 { color: var(--ink); font-size: 1.16rem; }
.stamp-void-dialog .mc-modal__header button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #3f1a4028; border-radius: 11px; background: var(--mist); color: var(--plum); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.stamp-void-dialog__body { display: grid; gap: 17px; padding: 20px 22px 0; }
.stamp-void-dialog__warning { padding: 14px 15px; border: 1px solid #a5205230; border-radius: 14px; background: #fff3f7; }
.stamp-void-dialog__warning strong { color: #8b1944; font: 800 .8rem/1.25 var(--heading); }
.stamp-void-dialog__warning p { margin-top: 4px; color: #8b4160; font-size: .72rem; line-height: 1.45; }
.stamp-void-dialog__help { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; color: var(--berry); font-size: .65rem; }
.stamp-void-dialog__templates { width: fit-content; color: var(--plum); font: 750 .7rem/1.2 var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.stamp-void-dialog .mc-modal__actions { padding: 18px 22px 22px; }
.security-overview { position: relative; display: flex; min-height: 128px; margin-top: 28px; flex-direction: row; align-items: center; gap: 17px; padding: 24px 27px; overflow: hidden; border: 2px solid var(--plum); border-radius: 24px; background: linear-gradient(120deg, #fff 0%, #fff3f9 68%, #f5d9e9 100%); box-shadow: 0 5px 0 var(--plum); }
.security-overview::after { position: absolute; right: -58px; width: 180px; height: 180px; border: 28px solid #ff3d972b; border-radius: 999px; content: ""; }
.security-overview__icon { display: grid; width: 62px; height: 62px; flex: 0 0 62px; place-items: center; border: 2px solid var(--plum); border-radius: 19px; background: var(--pink); color: var(--white); box-shadow: 0 4px 0 var(--plum); }
.security-overview__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.security-overview > div:nth-child(2) { position: relative; z-index: 1; display: grid; min-width: 0; gap: 2px; }
.security-overview > div:nth-child(2) > span { color: var(--berry); font-size: .7rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.security-overview h2 { color: var(--ink); font-size: 1.2rem; }
.security-overview p { color: var(--berry); font-size: .82rem; }
.security-overview__status { position: relative; z-index: 1; display: flex; margin-left: auto; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid #1f8b553b; border-radius: 999px; background: #ecfaf2; color: #176e45; font: 750 .72rem/1 var(--heading); }
.security-overview__status span { width: 8px; height: 8px; border-radius: 999px; background: #24a869; box-shadow: 0 0 0 4px #24a8691f; }
.security-settings-grid { display: grid; gap: 18px; margin-top: 22px; }
.security-settings-section { overflow: hidden; border: 1px solid #3f1a4026; border-radius: 24px; background: var(--white); box-shadow: 0 12px 34px #210b270b; }
.security-settings-section > header { padding: 23px 26px 18px; border-bottom: 1px solid #3f1a4017; }
.security-settings-section > header > div { display: flex; align-items: center; gap: 13px; }
.security-settings-section > header span { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border-radius: 14px; background: var(--mist); color: var(--plum); }
.security-settings-section > header svg, .security-setting-row__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.security-settings-section > header h2 { color: var(--ink); font-size: 1.06rem; }
.security-settings-section > header p { margin-top: 2px; color: var(--berry); font-size: .76rem; }
.security-setting-row { display: flex; min-height: 92px; align-items: center; gap: 14px; padding: 17px 26px; }
.security-setting-row + .security-setting-row { border-top: 1px solid #3f1a4017; }
.security-setting-row__icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid #3f1a4025; border-radius: 13px; background: #fffafd; color: var(--plum); }
.security-setting-row__copy { display: grid; min-width: 0; flex: 1; gap: 3px; }
.security-setting-row__copy strong { color: var(--ink); font: 800 .88rem/1.2 var(--heading); }
.security-setting-row__copy > span { overflow: hidden; color: var(--berry); font-size: .76rem; line-height: 1.35; text-overflow: ellipsis; }
.security-setting-row__copy small { width: fit-content; padding: 4px 7px; border-radius: 999px; background: var(--mist); color: var(--plum); font-size: .61rem; font-weight: 750; }
.security-setting-action { min-width: 88px; min-height: 38px; padding: 7px 13px; border: 1.5px solid var(--plum); border-radius: 12px; background: var(--white); color: var(--plum); cursor: pointer; font: 750 .72rem/1 var(--heading); transition: background-color .16s ease, color .16s ease, transform .16s ease; }
.security-setting-action:hover { background: var(--plum); color: var(--white); transform: translateY(-1px); }
.security-setting-action--danger { border-color: #a52052; color: #a52052; }
.security-setting-action--danger:hover { background: #a52052; }
.security-enabled-badge { display: flex; align-items: center; gap: 6px; color: #176e45; font: 750 .69rem/1 var(--heading); }
.security-enabled-badge span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 999px; background: #25a86a; color: white; font-size: .72rem; }
.security-dialog { width: min(100% - 32px, 570px); max-height: calc(100vh - 40px); padding: 0; overflow: auto; border-radius: 26px; background: var(--white); }
.security-dialog .mc-modal__header { position: sticky; top: 0; z-index: 2; padding: 20px 22px 14px; border-bottom: 1px solid #3f1a4017; background: #fffdfef5; backdrop-filter: blur(15px); }
.security-dialog .mc-modal__header h2 { color: var(--ink); font-size: 1.18rem; }
.security-dialog .mc-modal__header button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #3f1a4028; border-radius: 11px; background: var(--mist); color: var(--plum); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.security-dialog__intro { margin: 0; padding: 20px 22px 0; color: var(--berry); font-size: .82rem; line-height: 1.5; }
.security-dialog__form { margin-top: 0; padding: 12px 22px 24px; }
.security-dialog__form .field-help { margin-top: -7px; color: var(--berry); font-size: .7rem; }
.security-dialog__password-rules { margin-top: -2px; }
.security-code-form { display: grid; gap: 14px; padding: 20px 22px 8px; }
.security-code-form > label, .setup-key-field > label { color: var(--ink); font: 750 .78rem/1.2 var(--heading); }
.security-code-form > input { width: 100%; min-height: 74px; padding: 12px 20px; border: 2px solid #7a1b5c66; border-radius: 17px; background: #fffafd; color: var(--plum); font: 850 1.7rem/1 var(--heading); letter-spacing: .32em; text-align: center; }
.security-code-form > input:focus { border-color: var(--pink); outline: 3px solid #ff3d9724; }
.security-code-dialog__footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 22px 23px; }
.text-action { padding: 5px 0; border: 0; background: transparent; color: var(--plum); cursor: pointer; font: 750 .72rem/1.2 var(--heading); }
.text-action:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.text-action:disabled { color: #a891a7; cursor: not-allowed; }
.text-action--danger { color: #a52052; }
.security-two-factor-dialog { width: min(100% - 32px, 650px); }
.two-factor-wizard__progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 18px 22px 0; }
.two-factor-wizard__progress span { position: relative; display: flex; min-width: 0; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: #f8f4f7; color: #9a8197; transition: background-color .2s ease, color .2s ease; }
.two-factor-wizard__progress span::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 999px; background: #e9dfe6; content: ""; transition: background-color .2s ease; }
.two-factor-wizard__progress i { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; border-radius: 8px; background: #eadfe7; font: normal 800 .67rem/1 var(--heading); }
.two-factor-wizard__progress strong { overflow: hidden; font: 750 .68rem/1 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.two-factor-wizard__progress span.is-active { background: #fff0f7; color: var(--plum); }
.two-factor-wizard__progress span.is-active::after, .two-factor-wizard__progress span.is-complete::after { background: var(--pink); }
.two-factor-wizard__progress span.is-active i { background: var(--pink); color: var(--white); }
.two-factor-wizard__progress span.is-complete { color: var(--berry); }
.two-factor-wizard__progress span.is-complete i { background: #e6f7ef; color: #17774b; }
.two-factor-wizard__step[hidden] { display: none !important; }
.two-factor-wizard__intro { display: grid; gap: 6px; padding: 20px 22px 0; }
.two-factor-wizard__intro > span { color: var(--pink); font: 800 .66rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.two-factor-wizard__intro h3 { max-width: 530px; color: var(--ink); font: 850 1.3rem/1.15 var(--heading); }
.two-factor-wizard__intro p { max-width: 560px; color: var(--berry); font-size: .78rem; line-height: 1.5; }
.two-factor-qr-panel { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 20px; margin: 20px 22px 0; align-items: center; padding: 17px; border: 1px solid #3f1a4025; border-radius: 20px; background: linear-gradient(135deg, #fff 0%, #fff5fa 100%); }
.two-factor-qr-panel__code { display: grid; width: 176px; height: 176px; place-items: center; padding: 9px; border: 2px solid var(--plum); border-radius: 17px; background: var(--white); box-shadow: 0 4px 0 var(--plum); }
.two-factor-qr-panel__code img { display: block; width: 100%; height: 100%; object-fit: contain; }
.two-factor-qr-panel__copy { display: grid; gap: 6px; }
.two-factor-qr-panel__copy strong { color: var(--ink); font: 800 .94rem/1.2 var(--heading); }
.two-factor-qr-panel__copy p { color: var(--berry); font-size: .76rem; line-height: 1.5; }
.setup-key-field { display: grid; gap: 7px; margin: 20px 22px 0; }
.setup-key-field > div { display: flex; border: 2px solid #7a1b5c66; border-radius: 15px; background: #fffafd; }
.setup-key-field input { min-width: 0; flex: 1; padding: 12px 13px; border: 0; background: transparent; color: var(--ink); font-family: monospace; font-size: .8rem; letter-spacing: .06em; }
.setup-key-field button { padding: 8px 12px; border: 0; border-left: 1px solid #3f1a4025; background: transparent; color: var(--plum); cursor: pointer; font: 750 .7rem/1 var(--heading); }
.setup-key-field small { color: var(--berry); font-size: .67rem; }
.two-factor-wizard__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 17px 22px 22px; border-top: 1px solid #3f1a4017; }
.two-factor-wizard__actions .mc-button { min-width: 155px; }
.security-code-form--wizard { gap: 18px; padding: 20px 0 0; }
.security-code-form--wizard > .form-field { padding: 0 22px; }
.security-code-form--wizard .form-field > label { color: var(--ink); font: 750 .78rem/1.2 var(--heading); }
.security-code-form--wizard .form-field > input { width: 100%; min-height: 84px; padding: 12px 20px; border: 2px solid #7a1b5c66; border-radius: 18px; background: #fffafd; color: var(--plum); font: 850 1.9rem/1 var(--heading); letter-spacing: .32em; text-align: center; }
.security-code-form--wizard .form-field > input:focus { border-color: var(--pink); outline: 3px solid #ff3d9724; }
.security-code-form--wizard .two-factor-wizard__actions { margin-top: 0; }
.two-factor-wizard__step--recovery { padding-bottom: 20px; }
.two-factor-wizard__step--recovery .two-factor-wizard__intro { justify-items: center; text-align: center; }
.two-factor-wizard__success { display: grid; width: 58px; height: 58px; margin: 5px 0 7px; place-items: center; border: 2px solid #17774b; border-radius: 18px; background: #e9f8f0; color: #17774b; font: 900 1.45rem/1 var(--heading); }
.recovery-code-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 20px 22px 0; }
.recovery-code-grid code { padding: 12px 10px; border: 1px solid #3f1a4030; border-radius: 12px; background: #fffafd; color: var(--ink); font: 750 .78rem/1.1 monospace; letter-spacing: .04em; text-align: center; }
.two-factor-copy-action { display: block; margin: 12px auto 0; padding: 6px; border: 0; background: transparent; color: var(--plum); cursor: pointer; font: 750 .7rem/1.2 var(--heading); text-decoration: underline; text-underline-offset: 3px; }
.two-factor-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 22px 0; }
.two-factor-downloads .mc-button, .two-factor-downloads form { width: 100%; }
.two-factor-downloads form { grid-column: 1 / -1; }
.two-factor-wizard__finish { display: block; margin: 14px auto 0; }
.security-dialog__cancel { padding: 8px 22px 22px; text-align: center; }
.auth-card--security { text-align: center; }
.auth-security-icon { display: grid; width: 64px; height: 64px; margin: 0 auto 18px; place-items: center; border: 2px solid var(--plum); border-radius: 19px; background: var(--pink); color: white; box-shadow: 0 4px 0 var(--plum); }
.auth-security-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.security-code-form--login { padding: 0; text-align: left; }
.auth-cancel-link { margin-top: 18px; padding: 5px; border: 0; background: transparent; color: var(--berry); cursor: pointer; font-weight: 700; }
.account-settings-grid { display: grid; grid-template-columns: minmax(220px, .48fr) minmax(0, 1.2fr); gap: 22px; margin-top: 28px; align-items: start; }
.account-profile-summary { position: sticky; top: 100px; display: grid; place-items: center; gap: 14px; padding: 30px 22px; border: 1px solid #3f1a4024; border-radius: 22px; background: linear-gradient(150deg, var(--white), #fff3f9); text-align: center; box-shadow: 0 12px 32px #210b270d; }
.account-profile-summary > span { display: grid; width: 88px; height: 88px; place-items: center; overflow: hidden; border: 3px solid var(--plum); border-radius: 25px; background: linear-gradient(145deg, var(--pink), #bd2775); color: var(--white); font: 900 1.45rem/1 var(--heading); box-shadow: 0 5px 0 var(--plum); }
.account-profile-summary > span.has-photo { border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
.account-profile-summary__avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-profile-summary__avatar > span { display: grid; width: 100%; height: 100%; place-items: center; }
.account-profile-summary > div { display: grid; max-width: 100%; gap: 4px; }
.account-profile-summary strong, .account-profile-summary small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-profile-summary strong { color: var(--ink); font: 800 1rem/1.2 var(--heading); }
.account-profile-summary small { color: var(--berry); font-size: .74rem; }
.account-profile-form { display: grid; gap: 17px; margin-top: 0; }
.account-profile-form__actions { display: flex; justify-content: flex-end; padding-top: 5px; }
.profile-photo-editor { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 0 19px; border-bottom: 1px solid #3f1a4017; }
.profile-photo-editor__copy { display: grid; gap: 4px; }
.profile-photo-editor__copy strong { color: var(--ink); font: 800 .9rem/1.2 var(--heading); }
.profile-photo-editor__copy p { color: var(--berry); font-size: .76rem; line-height: 1.4; }
.profile-photo-editor__copy > span { color: var(--plum); font-size: .72rem; font-weight: 750; }
.profile-photo-editor__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.profile-photo-editor__actions .mc-button { cursor: pointer; }
.profile-photo-remove { padding: 6px 2px; border: 0; background: transparent; color: #a52052; cursor: pointer; font: 750 .75rem/1 var(--heading); }
.profile-photo-remove:hover { color: #7d143d; text-decoration: underline; text-underline-offset: 3px; }
.profile-security-link { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 1px solid #3f1a4025; border-radius: 14px; background: var(--mist); color: var(--plum); font: 750 .76rem/1.2 var(--heading); }
.profile-security-link:hover { border-color: var(--plum); }
.billing-overview { margin-top: 28px; padding: clamp(22px, 4vw, 34px); border: 1px solid #3f1a4026; border-radius: 24px; background: var(--white); box-shadow: 0 12px 32px #210b270d; }
.billing-overview__heading { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid #3f1a4017; }
.billing-overview__heading > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--mist); color: var(--plum); }
.billing-overview__heading svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.billing-overview__heading h2 { color: var(--ink); font-size: 1.15rem; }
.billing-overview__heading p { margin-top: 3px; color: var(--berry); font-size: .8rem; }
.billing-empty-state { display: grid; min-height: 250px; place-items: center; align-content: center; gap: 7px; padding: 30px; text-align: center; }
.billing-empty-state strong { color: var(--ink); font: 800 1rem var(--heading); }
.billing-empty-state p { max-width: 500px; color: var(--berry); font-size: .84rem; line-height: 1.5; }

@media (max-width: 1100px) {
    .dashboard-layout { display: block; }
    .dashboard-sidebar { position: fixed; width: min(300px, 88vw); padding-top: 22px; transform: translateX(-102%); transition: transform .24s ease; }
    .dashboard-sidebar-collapse { display: none; }
    .dashboard-sidebar.is-open { transform: translateX(0); }
    .dashboard-sidebar-backdrop { position: fixed; inset: 0; z-index: 75; display: block; border: 0; background: #17051b91; opacity: 1; backdrop-filter: blur(2px); }
    .dashboard-sidebar-backdrop[hidden] { display: none; }
    .dashboard-body.has-dashboard-menu-open { overflow: hidden; }
    .dashboard-header { min-height: 68px; padding-block: 9px; }
    .dashboard-menu-toggle, .dashboard-header__brand { display: block; }
    .dashboard-header__brand { color: var(--plum); }
    .dashboard-header__context { display: none; }
}

@media (max-width: 980px) {
    .site-nav__links, .site-nav__actions { display: none; }
    .nav-toggle { display: block; }
    .hero__grid { grid-template-columns: 1fr; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .roles-grid { grid-template-columns: 1fr; }
    .role-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .permission-groups { grid-template-columns: 1fr; }
    .team-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team-form-layout--invitation { grid-template-columns: 1fr; }
    .team-invitation-guide { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .team-invitation-guide > header { grid-column: 1 / -1; }
    .card-designer__layout, .drawer-designer__layout { grid-template-columns: 1fr; }
    .program-projection { grid-template-columns: 1fr; }
    .program-projection__preview { min-height: 350px; }
    .program-wallet-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .card-preview-shell, .drawer-preview-shell { position: static; }
    .stamp-icon-options { grid-template-columns: repeat(5, minmax(68px, 1fr)); }
    .company-settings-layout { grid-template-columns: minmax(205px, .4fr) minmax(0, 1.6fr); gap: 18px; }
    .stamp-table-filters__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .customer-table-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-portfolio-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .customer-metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .customer-analytics-layout { grid-template-columns: 1fr; }
    .customer-analytics-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-analytics-aside > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .template-editor, .template-detail-layout, .stamp-detail-layout { grid-template-columns: 1fr; }
    .template-editor__guide { position: static; }
    .stamp-detail-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stamp-client-profile { grid-column: 1 / -1; }
    .stamp-detail-aside > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .recovery-code-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .company-settings-layout { grid-template-columns: 1fr; }
    .company-settings-sidebar { position: static; }
    .company-settings-sidebar__intro { padding: 18px 20px; }
    .company-settings-sidebar__intro strong { max-width: none; }
    .company-settings-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .sticker { -webkit-text-stroke-width: 5px; filter: drop-shadow(4px 5px 0 var(--plum)); }
    .hero__actions .mc-button, .cta-box__actions .mc-button { width: 100%; }
    .grid--3, .grid--4, .form-row { grid-template-columns: 1fr; }
    .card-style-options { grid-template-columns: 1fr; }
    .program-page { gap: 20px; }
    .program-hero { min-height: 0; align-items: stretch; flex-direction: column; padding: 27px 21px; border-radius: 24px; }
    .program-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .program-hero__aside { width: 100%; min-width: 0; }
    .program-editor-hero { gap: 25px; padding: 27px 21px; border-radius: 24px; }
    .program-editor-hero h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
    .program-editor-hero__copy > p { font-size: .9rem; }
    .program-editor-hero__meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .program-editor-hero__meta > span + span::before { display: none; }
    .program-editor-hero__actions { width: 100%; }
    .program-editor-hero__actions .mc-button--line { flex: 1; }
    .program-wallet-browser { margin-top: 20px; }
    .program-page .program-wallet-browser { margin-top: 0; }
    .program-wallet-toolbar { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
    .program-wallet-filters { width: 100%; overflow-x: auto; }
    .program-wallet-filters button { flex: 1 0 auto; justify-content: center; }
    .program-wallet-results { padding: 0 3px 2px; text-align: left; }
    .program-wallet-grid { grid-template-columns: 1fr; }
    .card-palette-options { grid-template-columns: 1fr; }
    .card-randomizer { align-items: stretch; flex-direction: column; }
    .design-template-picker { grid-template-columns: 1fr; gap: 14px; }
    .card-randomizer__actions { width: 100%; }
    .card-randomizer__button { flex: 1; }
    .stamp-icon-options { grid-template-columns: repeat(3, 1fr); }
    .stamp-icon-recommendations > div:first-child { align-items: flex-start; flex-direction: column; gap: 1px; }
    .drawer-color-controls .form-row { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .dashboard-header { gap: 10px; padding-inline: 13px; }
    .dashboard-header__left { gap: 9px; }
    .dashboard-header__brand { font-size: .91rem; }
    .dashboard-header__brand .brand__mark { width: 30px; height: 30px; }
    .dashboard-account__identity, .dashboard-account__chevron { display: none; }
    .dashboard-account__trigger { padding: 3px; }
    .dashboard-account__avatar { width: 40px; height: 40px; flex-basis: 40px; }
    .dashboard-main { padding: 24px 18px 44px; }
    .dashboard-top { align-items: flex-start; flex-direction: column; }
    .dashboard-top .mc-button { width: 100%; }
    .dashboard-top__actions { width: 100%; flex-wrap: nowrap; }
    .dashboard-top__actions .mc-button { width: auto; flex: 1 1 auto; }
    .account-settings-grid { grid-template-columns: 1fr; }
    .account-profile-summary { position: static; display: flex; justify-content: flex-start; padding: 20px; text-align: left; }
    .account-profile-summary > span { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 19px; font-size: 1rem; }
    .profile-photo-editor { align-items: flex-start; flex-direction: column; }
    .profile-photo-editor__actions { width: 100%; align-items: stretch; flex-direction: column; }
    .profile-photo-editor__actions .mc-button { width: 100%; text-align: center; }
    .account-profile-form__actions .mc-button { width: 100%; }
    .billing-empty-state { min-height: 210px; padding-inline: 10px; }
    .wizard-actions { flex-direction: column-reverse; }
    .wizard-actions .mc-button { width: 100%; }
    .permission-grid { grid-template-columns: 1fr; }
    .role-editor-page { gap: 20px; }
    .role-editor-hero { gap: 25px; padding: 27px 21px 70px; border-radius: 24px; }
    .role-editor-hero__back { margin-bottom: 19px; }
    .role-editor-hero h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
    .role-editor-hero__copy > p { font-size: .9rem; }
    .role-editor-hero__meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .role-editor-hero__meta > span + span::before { display: none; }
    .role-editor-hero__actions { width: 100%; }
    .role-editor-hero__actions .mc-button--line { flex: 1; }
    .role-editor-steps { top: 76px; margin: -58px 10px 0; border-radius: 18px; }
    .role-editor-steps > a { min-height: 88px; grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 12px 8px; text-align: center; }
    .role-editor-steps > a > span:first-child { width: 34px; height: 34px; border-radius: 11px; font-size: .76rem; }
    .role-editor-steps strong { font-size: .7rem; }
    .role-editor-steps small { display: none; }
    .role-editor__section-head, .role-editor__permissions-head { padding: 21px; }
    .role-editor__section-head > span, .role-editor__section-title > span { width: 43px; height: 43px; flex-basis: 43px; }
    .role-editor__section-head h2, .role-editor__section-title h2 { font-size: 1.25rem; }
    .role-editor__identity-body { gap: 18px; padding: 21px; }
    .role-permission-summary { grid-template-columns: minmax(0, 1fr) auto; max-width: none; }
    .role-permission-summary__actions { grid-column: 1 / -1; }
    .role-permission-summary button { flex: 1; }
    .role-editor__permissions-error { margin: 17px 21px 0; }
    .permission-groups { padding: 20px 21px 21px; }
    .permission-group-card__head { align-items: start; grid-template-columns: 34px minmax(0, 1fr) auto; }
    .permission-group-card__head button { margin: 0; }
    .role-editor__actions { position: static; align-items: stretch; flex-direction: column-reverse; }
    .role-editor__actions .mc-button { width: 100%; }
    .role-delete-box { align-items: stretch; flex-direction: column; }
    .role-page { gap: 20px; }
    .role-hero { min-height: 0; align-items: stretch; flex-direction: column; padding: 27px 21px; }
    .role-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .role-hero__aside { width: 100%; min-width: 0; }
    .role-summary__card { min-height: 132px; padding: 17px; }
    .role-index-panel__head { min-height: 0; padding: 20px; }
    .role-index-heading { align-items: flex-start; }
    .role-index-heading > span { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; }
    .team-inline-form { align-items: stretch; flex-direction: column; }
    .team-page { gap: 20px; }
    .team-hero { min-height: 0; align-items: stretch; flex-direction: column; padding: 27px 21px; }
    .team-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .team-hero__aside { width: 100%; min-width: 0; }
    .team-summary__card { min-height: 132px; padding: 17px; }
    .team-section-head { min-height: 0; align-items: flex-start; padding: 20px; }
    .team-section-heading { align-items: flex-start; }
    .team-section-heading > span { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; }
    .team-invitations-empty-state { grid-template-columns: 46px minmax(0, 1fr); padding: 22px 20px; }
    .team-invitations-empty-state > span { width: 46px; height: 46px; border-radius: 14px; }
    .team-invitations-empty-state .mc-button { width: 100%; grid-column: 1 / -1; }
    .team-form-page { gap: 20px; }
    .team-form-hero { gap: 25px; padding: 27px 21px 70px; border-radius: 24px; }
    .team-form-hero h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
    .team-form-hero__copy > p { font-size: .9rem; }
    .team-form-hero__meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .team-form-hero__meta > span + span::before { display: none; }
    .team-form-hero__actions { width: 100%; }
    .team-form-hero__actions .mc-button--line { flex: 1; }
    .team-form-steps { top: 76px; margin: -58px 10px 0; border-radius: 18px; }
    .team-form-steps > a { min-height: 88px; grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 12px 8px; text-align: center; }
    .team-form-steps > a > span:first-child { width: 34px; height: 34px; border-radius: 11px; font-size: .76rem; }
    .team-form-steps strong { font-size: .7rem; }
    .team-form-steps small { display: none; }
    .team-form__section-head { padding: 21px; }
    .team-form__section-head > span { width: 43px; height: 43px; flex-basis: 43px; }
    .team-form__section-head h2 { font-size: 1.25rem; }
    .team-form__fields { grid-template-columns: 1fr; gap: 16px; padding: 21px; }
    .team-status-selector { grid-template-columns: 1fr; }
    .team-status-selector { padding: 21px; }
    .team-form__actions { position: static; align-items: stretch; flex-direction: column; }
    .team-form__actions > p { margin: 0; text-align: center; }
    .team-form__actions > div { align-items: stretch; flex-direction: column-reverse; }
    .team-form__actions .mc-button { width: 100%; }
    .team-invitation-revoke-dialog .mc-modal__actions { align-items: stretch; flex-direction: column-reverse; }
    .team-invitation-revoke-dialog .mc-modal__actions .mc-button { width: 100%; }
    .team-invitation-guide { grid-template-columns: 1fr; padding: 21px; }
    .team-invitation-guide__step { grid-template-columns: 38px minmax(0, 1fr); }
    .team-invitation-empty { grid-template-columns: 52px minmax(0, 1fr); margin: -58px 10px 0; padding: 22px 20px; }
    .team-invitation-empty > span { width: 52px; height: 52px; }
    .team-invitation-empty > .mc-button, .team-invitation-empty > p { width: 100%; grid-column: 1 / -1; }
    .invitation-accept-card__details { grid-template-columns: 1fr; }
    .invitation-accept-card__details span:last-child { grid-column: auto; }
    .table-shell .dt-container > .row { padding: 14px; }
    .table-shell .dt-container > .row:first-child { min-height: 72px; gap: 12px; }
    .table-shell .dt-container > .row:last-child { min-height: 68px; gap: 12px; padding-bottom: 17px; }
    .table-shell .dt-container > .row:first-child > div, .table-shell .dt-container > .row:last-child > div, .table-shell .dt-search, .table-shell .dt-search label { width: 100%; }
    .table-shell .dt-layout-start, .table-shell .dt-layout-end { justify-content: center; padding: 0 !important; }
    .table-shell .dt-search input { min-width: 0; width: 100%; }
    .table-shell .dt-length { display: flex; width: 100%; justify-content: flex-end; }
    .table-shell table.dataTable > thead > tr > th, .table-shell th, .table-shell td { padding-block: 12px; padding-left: 14px; }
    .table-shell .dt-info { text-align: center; }
    .table-shell .pagination { justify-content: center !important; }
    .table-shell table.dataTable > tbody > tr.child > td { padding: 8px 12px 14px; }
    .table-shell table.dataTable > tbody > tr.child ul.dtr-details > li { display: block; padding: 11px 12px; }
    .table-shell .dtr-title { display: block; margin-bottom: 4px; }
    .table-shell .dtr-data { display: block; }
    .stamp-page-hero { min-height: 0; padding: 27px 21px; border-radius: 24px; }
    .stamp-page-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .stamp-detail-header { gap: 25px; padding: 27px 21px; border-radius: 24px; }
    .stamp-detail-header h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
    .stamp-detail-header__copy > p { font-size: .9rem; }
    .stamp-detail-header__meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .stamp-detail-header__meta > span + span::before { display: none; }
    .stamp-detail-header__actions, .stamp-detail-header__actions .mc-button--line { width: 100%; }
    .stamp-table-filters__head { align-items: flex-start; }
    .stamp-table-filters__head span { display: none; }
    .stamp-table-filters__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stamp-table-filters__grid .form-field:nth-child(even) .searchable-select__panel { right: 0; left: auto; }
    .stamp-table-filters__grid .form-field:nth-child(even) .stamp-date-picker__popover { right: 0; left: auto; }
    .stamp-table-filters__grid .form-field:last-child .stamp-date-picker__popover { right: auto; left: 0; }
    .stamp-portfolio-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stamp-portfolio-stats button:first-child { grid-column: 1 / -1; }
    .stamp-portfolio-stats button { min-height: 96px; }
    .customer-table-filters__head { align-items: flex-start; }
    .customer-table-filters__head span { display: none; }
    .customer-table-filters__grid { grid-template-columns: 1fr; }
    .customer-portfolio-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-portfolio-stats button { min-height: 104px; }
    .customer-profile-hero { display: flex; align-items: flex-start; flex-direction: column; padding: 21px; }
    .customer-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-chart-grid, .customer-analytics-aside { grid-template-columns: 1fr; }
    .customer-analytics-aside > :last-child:nth-child(odd) { grid-column: auto; }
    .customer-analytics-card__head { flex-direction: column; }
    .customer-column-chart { gap: 4px; }
    .customer-column-chart__item small { font-size: .52rem; }
    .customer-activity-list article { grid-template-columns: minmax(0, 1fr) auto; }
    .customer-activity-list article > div:nth-of-type(2) { justify-items: start; grid-column: 1 / -1; }
    .customer-activity-list article > a { position: absolute; top: 17px; right: 0; }
    .detail-grid { grid-template-columns: 1fr; }
    .filter-form { align-items: stretch; flex-direction: column; }
    .loyalty-card-preview__progress { grid-template-columns: repeat(5, 1fr); }
    .company-settings-hero, .security-hero { min-height: 0; padding: 27px 21px; border-radius: 24px; }
    .company-settings-hero h1, .security-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .security-hero { align-items: stretch; flex-direction: column; }
    .security-hero__actions { width: 100%; min-width: 0; }
    .company-settings-sidebar { padding: 9px; border-radius: 19px; }
    .company-settings-sidebar__intro { padding: 17px; border-radius: 14px; }
    .company-settings-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-settings-nav a { min-height: 60px; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 8px; }
    .company-settings-nav a > span { width: 34px; height: 34px; border-radius: 10px; }
    .company-settings-nav a b { display: none; }
    .company-settings-nav a strong { font-size: .72rem; }
    .company-settings-nav a small { font-size: .6rem; }
    .company-settings-section { padding: 20px 17px; border-radius: 20px; }
    .company-settings-section__head { gap: 12px; }
    .company-settings-section__number { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
    .company-logo-editor { grid-template-columns: 64px minmax(0, 1fr); align-items: start; }
    .company-logo-editor__visual { width: 64px; height: 64px; border-radius: 16px; }
    .company-logo-editor__actions { grid-column: 1 / -1; }
    .company-logo-editor__actions { width: 100%; align-items: stretch; flex-direction: column; }
    .company-logo-editor__actions .mc-button { width: 100%; text-align: center; }
    .company-settings-fields, .company-settings-operation { grid-template-columns: 1fr; }
    .company-settings-fields .form-field:last-child:nth-child(odd) { grid-column: auto; }
    .company-settings-location-link { min-width: 0; }
    .company-settings-actions { bottom: 8px; align-items: stretch; flex-direction: column; padding: 13px; }
    .company-settings-actions p { display: none; }
    .company-settings-actions .mc-button { width: 100%; }
    .template-detail__top-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
    .template-detail__top-actions .mc-button { width: auto; flex: 1 1 auto; }
    .template-editor__head { align-items: flex-start; flex-direction: column; }
    .template-editor__field-help { align-items: flex-start; flex-direction: column; gap: 3px; }
    .template-editor__actions { position: static; align-items: stretch; flex-direction: column-reverse; }
    .template-editor__actions .mc-button { width: 100%; }
    .template-detail-hero, .stamp-detail-hero, .stamp-audit-event__head { align-items: flex-start; flex-direction: column; }
    .template-detail-hero { display: flex; padding: 21px; }
    .template-detail-hero > .mc-badge { margin-left: 74px; }
    .template-detail-layout { grid-template-columns: 1fr; }
    .template-delete-box { align-items: stretch; flex-direction: column; }
    .template-delete-box .mc-button { width: 100%; }
    .template-delete-dialog .mc-modal__actions { align-items: stretch; flex-direction: column-reverse; }
    .template-delete-dialog .mc-modal__actions .mc-button { width: 100%; }
    .role-delete-dialog .mc-modal__actions, .location-archive-dialog .mc-modal__actions, .campaign-cancel-dialog .mc-modal__actions, .customer-tag-delete-dialog .mc-modal__actions, .team-remove-dialog .mc-modal__actions { align-items: stretch; flex-direction: column-reverse; }
    .role-delete-dialog .mc-modal__actions .mc-button, .location-archive-dialog .mc-modal__actions .mc-button, .campaign-cancel-dialog .mc-modal__actions .mc-button, .customer-tag-delete-dialog .mc-modal__actions .mc-button, .team-remove-dialog .mc-modal__actions .mc-button { width: 100%; }
    .stamp-detail-hero { display: flex; padding: 21px; }
    .stamp-detail-hero__status { width: calc(100% - 79px); margin-left: 79px; flex-wrap: wrap; }
    .stamp-detail-facts { grid-template-columns: 1fr; }
    .stamp-detail-facts > div, .stamp-detail-facts > div:nth-last-child(-n + 2) { border-bottom: 1px solid #3f1a4014; }
    .stamp-detail-facts > div:last-child { border-bottom: 0; }
    .stamp-customer-card { align-items: flex-start; flex-direction: column; }
    .stamp-customer-card > div:last-child { text-align: left; }
    .stamp-detail-aside { grid-template-columns: 1fr; }
    .stamp-client-profile { grid-column: auto; padding: 19px; }
    .stamp-detail-aside > :last-child:nth-child(odd) { grid-column: auto; }
    .stamp-audit-event__head time { margin-top: 3px; }
    .stamp-void-dialog .mc-modal__actions { align-items: stretch; flex-direction: column-reverse; }
    .stamp-void-dialog .mc-modal__actions .mc-button { width: 100%; }
    .security-overview { align-items: flex-start; flex-wrap: wrap; padding: 21px; }
    .security-overview__status { margin-left: 0; }
    .security-setting-row { align-items: flex-start; flex-wrap: wrap; padding: 17px 18px; }
    .security-setting-row__copy { min-width: calc(100% - 60px); }
    .security-setting-action { margin-left: 57px; }
    .security-setting-row--two-factor .security-enabled-badge { margin-left: 57px; }
    .security-setting-row--two-factor .security-setting-action { margin-left: 0; }
    .two-factor-wizard__progress { gap: 5px; padding-inline: 16px; }
    .two-factor-wizard__progress span { justify-content: center; padding-inline: 6px; }
    .two-factor-wizard__progress strong { display: none; }
    .two-factor-wizard__intro { padding-inline: 17px; }
    .recovery-code-grid { grid-template-columns: 1fr; margin-inline: 17px; }
    .security-code-dialog__footer { align-items: stretch; flex-direction: column; }
    .two-factor-qr-panel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .two-factor-qr-panel__copy { max-width: 270px; }
    .setup-key-field { margin-inline: 17px; }
    .two-factor-wizard__actions { align-items: stretch; flex-direction: column-reverse; padding-inline: 17px; }
    .two-factor-wizard__actions form, .two-factor-wizard__actions .mc-button { width: 100%; }
    .two-factor-downloads { grid-template-columns: 1fr; padding-inline: 17px; }
    .two-factor-downloads form { grid-column: auto; }
    .program-tabs { top: 8px; margin-inline: -4px; border-radius: 15px; }
    .program-tabs button { min-height: 40px; padding-inline: 14px; }
    .program-editor-panel { padding: 19px 16px; border-radius: 20px; }
    .program-editor-panel__head > div > span { width: 34px; height: 34px; flex-basis: 34px; }
    .program-editor-actions { align-items: stretch; flex-direction: column; padding: 14px; }
    .program-editor-actions p { display: none; }
    .program-editor-actions .mc-button { width: 100%; min-width: 0; }
    .program-editor-actions__buttons { width: 100%; }
    .program-editor-actions__buttons .mc-button { flex: 1; }
    .program-projection__formula { gap: 8px; }
    .program-projection__formula > div { padding: 13px; }
    .program-archive { align-items: stretch; flex-direction: column; }
    .program-archive .mc-button { width: 100%; }
    .archive-program-impact { grid-template-columns: 1fr; }
    .card-preview-shell, .drawer-preview-shell { margin-inline: -8px; padding: 14px 8px; }
    .color-field-grid, .color-field-grid--drawer { grid-template-columns: 1fr; }
    .color-control { width: 100%; }
}

/* Dashboard readability and visual analytics refresh */
.dashboard-body { font-size: 1rem; line-height: 1.55; }
.dashboard-body .dashboard-nav .dashboard-nav__label { font-size: .76rem; }
.dashboard-body .dashboard-nav a, .dashboard-body .dashboard-nav__submenu-toggle { min-height: 46px; font-size: 1rem; }
.dashboard-body .dashboard-nav__submenu a { min-height: 40px; font-size: .9rem; }
.dashboard-body .dashboard-header__context small { font-size: .8rem; }
.dashboard-body .dashboard-header__context strong { font-size: 1rem; }
.dashboard-body .dashboard-account__identity strong { font-size: .94rem; }
.dashboard-body .dashboard-account__identity small { font-size: .8rem; }
.dashboard-body .dashboard-account-menu__profile strong { font-size: .96rem; }
.dashboard-body .dashboard-account-menu__profile small, .dashboard-body .dashboard-account-menu a, .dashboard-body .dashboard-account-menu form button { font-size: .88rem; }
.dashboard-body .dashboard-top p { font-size: 1.05rem; line-height: 1.5; }
.dashboard-body .dashboard-panel__head h2 { font-size: 1.4rem; }
.dashboard-body .dashboard-panel__head p { margin-top: 5px; font-size: .95rem; line-height: 1.45; }
.dashboard-body .dashboard-main small { font-size: .875rem; line-height: 1.45; }
.dashboard-body .form-field label, .dashboard-body .form-label { font-size: .95rem; }
.dashboard-body .form-control, .dashboard-body .form-select, .dashboard-body .form-field input, .dashboard-body .form-field textarea { font-size: 1rem; }
.dashboard-body .mc-badge, .dashboard-body .team-status, .dashboard-body .customer-health-status { font-size: .8rem; }
.dashboard-body .table-shell .dt-container { font-size: 1rem; }
.dashboard-body .table-shell table.dataTable > thead > tr > th { font-size: .82rem; }
.dashboard-body .table-shell td { font-size: .98rem; }
.dashboard-body .table-shell td small, .dashboard-body .table-shell .dt-length, .dashboard-body .table-shell .dt-info { font-size: .88rem; }
.dashboard-body .table-shell .pagination .page-link { font-size: .94rem; }
.dashboard-body .table-shell .dtr-title { font-size: .8rem; }
.dashboard-body .empty-state h3 { font-size: 1.55rem; }
.dashboard-body .empty-state p { font-size: 1rem; }

.customer-profile-hero { padding: 30px 32px; }
.customer-profile-hero__avatar { width: 78px; height: 78px; font-size: 1.2rem; }
.customer-profile-hero__identity > span { font-size: .78rem; }
.customer-profile-hero__identity h2 { font-size: 2rem; }
.customer-profile-hero__meta, .customer-profile-hero__tags { font-size: .98rem; }
.customer-metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.customer-metric { min-height: 150px; padding: 22px; }
.customer-metric > span { font-size: .78rem; }
.customer-metric strong { font-size: 2.15rem; }
.customer-metric small { font-size: .92rem; }
.customer-metric__value { display: flex; min-width: 0; align-items: center; gap: 11px; }
.customer-metric-trend { display: inline-grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; font: 950 1.15rem/1 var(--heading); }
.customer-metric-trend--up { border: 1px solid #1684512e; background: #e8f7f0; color: #147147; }
.customer-metric-trend--down { border: 1px solid #b6224b2e; background: #fff0f3; color: #ad2149; }
.customer-analytics-layout { display: grid; grid-template-columns: 1fr; gap: 22px; }
.customer-analytics-main { gap: 22px; }
.customer-overview-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(390px, .65fr); gap: 22px; align-items: stretch; }
.customer-analytics-card { padding: clamp(24px, 3vw, 32px); }
.customer-analytics-card__head span { font-size: .76rem; }
.customer-analytics-card__head h2 { margin-top: 7px; font-size: 1.42rem; }
.customer-analytics-card__head p { margin-top: 6px; font-size: .96rem; }
.customer-chart-legend span { font-size: .84rem; }
.customer-chart-legend i { width: 12px; height: 12px; }
.customer-column-chart { height: 280px; gap: 12px; padding-top: 28px; }
.customer-column-chart__value, .customer-column-chart__item small { font-size: .8rem; }
.customer-column-chart__track i { width: min(16px, 42%); }
.customer-chart-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.customer-weekday-chart, .customer-program-chart, .customer-location-chart { gap: 17px; padding-top: 24px; }
.customer-weekday-chart > div { grid-template-columns: 38px minmax(0, 1fr) 30px; gap: 12px; }
.customer-weekday-chart span, .customer-weekday-chart strong { font-size: .9rem; }
.customer-weekday-chart i, .customer-program-chart i, .customer-location-chart i { height: 11px; }
.customer-program-chart strong { font-size: .92rem; }
.customer-program-chart span, .customer-chart-empty { font-size: .85rem; }
.customer-health-card { display: flex; min-width: 0; flex-direction: column; padding: 30px; }
.customer-health-card__head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.customer-health-card__head > div > span { color: #ffffffb8; font: 800 .78rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.customer-health-card__head h2 { margin-top: 8px; font-size: 1.7rem; }
.customer-health-card__head p { max-width: 650px; margin-top: 7px; color: #ffffffcf; font-size: .98rem; }
.customer-health-card__pulse { position: relative; display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border: 1px solid #ffffff30; border-radius: 50%; background: #ffffff12; }
.customer-health-card__pulse::before, .customer-health-card__pulse::after, .customer-health-card__pulse i { border-radius: 50%; content: ""; }
.customer-health-card__pulse::before { position: absolute; inset: 9px; border: 1px solid #ffffff42; }
.customer-health-card__pulse::after { position: absolute; inset: 18px; background: #ffffff2b; }
.customer-health-card__pulse i { width: 9px; height: 9px; background: #a9f0cf; box-shadow: 0 0 0 7px #a9f0cf20; }
.customer-health-signals { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; }
.customer-health-signals > div { min-width: 0; min-height: 125px; padding: 18px; border-right: 1px solid #ffffff1c; border-bottom: 0; }
.customer-health-signals > div:last-child { border-right: 0; }
.customer-health-signals small { font-size: .72rem; }
.customer-health-signals strong { margin-top: auto; font-size: 1rem; }
.customer-health-signals span { font-size: .84rem; }
.customer-health-signals strong.customer-health-trend { display: flex; align-items: flex-start; gap: 8px; }
.customer-health-trend__arrow { display: grid; width: 25px; height: 25px; flex: 0 0 25px; margin-top: -3px; place-items: center; border-radius: 50%; background: currentColor; color: var(--plum) !important; font: 950 1rem/1 var(--heading); }
.customer-health-trend.is-up .customer-health-trend__arrow { color: #173d30 !important; background: #a9f0cf; }
.customer-health-trend.is-down .customer-health-trend__arrow { color: #5a183c !important; background: #ffd0df; }
.customer-health-card__definition { margin-top: auto; padding-top: 18px; font-size: .82rem; }
.customer-visual-scoreboard { display: flex; flex-direction: column; }
.customer-radial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 25px; }
.customer-radial { display: grid; width: min(100%, 128px); aspect-ratio: 1; margin-inline: auto; place-items: center; border-radius: 50%; background: conic-gradient(var(--pink) var(--progress), #f2dfe9 var(--progress)); box-shadow: inset 0 0 0 1px #3f1a4010; }
.customer-radial::before { grid-area: 1 / 1; width: 76%; aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: 0 5px 16px #210b2712; content: ""; }
.customer-radial > span { z-index: 1; display: grid; grid-area: 1 / 1; gap: 3px; text-align: center; }
.customer-radial strong { color: var(--ink); font: 900 1.35rem/1 var(--heading); }
.customer-radial small { max-width: 85px; color: var(--berry); font-size: .72rem !important; line-height: 1.15 !important; }
.customer-signal-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 22px; }
.customer-signal-chips > span { padding: 11px 13px; border: 1px solid #3f1a401a; border-radius: 12px; background: #fffafd; color: var(--berry); font-size: .85rem; }
.customer-signal-chips strong { color: var(--ink); font-family: var(--heading); }
.customer-location-chart { display: grid; }
.customer-location-chart > div:not(.customer-visual-empty) { display: grid; grid-template-columns: 32px minmax(0, 1fr) 30px; gap: 11px; align-items: center; }
.customer-location-chart > div > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--mist); color: var(--pink); font: 800 .8rem/1 var(--heading); }
.customer-location-chart > div > div { display: grid; min-width: 0; gap: 7px; }
.customer-location-chart strong { overflow: hidden; color: var(--ink); font: 750 .9rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.customer-location-chart i { display: block; overflow: hidden; border-radius: 99px; background: var(--mist); }
.customer-location-chart b { display: block; height: 100%; border-radius: inherit; background: var(--violet); }
.customer-location-chart small { color: var(--berry); font-size: .9rem; font-weight: 750; text-align: right; }
.customer-visual-empty { display: grid; min-height: 190px; place-items: center; align-content: center; gap: 7px; text-align: center; }
.customer-visual-empty > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--pink); font-size: 1.5rem; }
.customer-visual-empty strong { color: var(--ink); font: 800 1rem/1.2 var(--heading); }
.customer-visual-empty p { color: var(--berry); font-size: .88rem; }
.customer-activity-list article { min-height: 78px; padding-block: 20px; }
.customer-activity-list strong { font-size: 1rem; }
.customer-activity-list small, .customer-activity-list time, .customer-activity-list article > a { font-size: .88rem; }
.customer-notes-card .customer-internal-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.customer-notes-card .customer-internal-form > :nth-child(n + 3) { grid-column: 1 / -1; }
.customer-definition-card--wide { display: flex; align-items: flex-start; gap: 16px; }
.customer-definition-card--wide > span { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: var(--pink); color: var(--white); font: 900 1rem/1 var(--heading); }
.customer-definition-card--wide strong { font-size: 1rem; }
.customer-definition-card--wide p { margin-top: 4px; font-size: .92rem; }
.customer-tag-picker legend { font-size: .95rem; }
.customer-tag-picker label { padding: 9px 12px; font-size: .9rem; }
.customer-tag-page { display: grid; gap: 24px; }
.customer-tag-hero { position: relative; display: flex; min-height: 228px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 78% 20%, #ff78b84a 0 8%, transparent 30%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.customer-tag-hero::after { position: absolute; right: -82px; bottom: -145px; width: 315px; height: 315px; border: 52px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.customer-tag-hero > * { position: relative; z-index: 1; }
.customer-tag-hero__copy { display: grid; max-width: 680px; gap: 8px; }
.customer-tag-hero__copy > span { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.customer-tag-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.customer-tag-hero p { max-width: 650px; color: #ffffffc5; font-size: 1rem; line-height: 1.5; }
.customer-tag-hero__aside { display: flex; min-width: 190px; align-items: stretch; flex-direction: column; gap: 12px; }
.customer-tag-hero__aside .mc-button { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.customer-tag-hero__aside .mc-button:hover { border-color: var(--white); background: #fff4f9; color: var(--plum); }
.customer-tag-index-panel { margin-top: 0; overflow: visible; padding: 0; border-width: 1px; border-radius: 24px; box-shadow: 0 12px 32px #210b270b; }
.customer-tag-index-panel__head { min-height: 104px; margin: 0; padding: 23px 25px; border-bottom: 1px solid #3f1a4018; border-radius: 23px 23px 0 0; background: linear-gradient(120deg, #fff 0%, #fff7fb 100%); }
.customer-tag-index-heading { display: flex; min-width: 0; align-items: center; gap: 14px; }
.customer-tag-index-heading > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid #ff3d9738; border-radius: 15px; background: var(--mist); color: var(--pink); }
.customer-tag-index-heading > span svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.customer-tag-index-heading > div { display: grid; min-width: 0; gap: 3px; }
.customer-tag-index-heading small { color: var(--pink); font: 820 .67rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.customer-tag-index-heading h2 { color: var(--ink); font-size: 1.4rem; letter-spacing: -.02em; }
.customer-tag-index-heading p { color: var(--berry); font-size: .8rem; line-height: 1.4; }
.customer-tag-table-filters { gap: 18px; margin: 0; padding: 22px 24px 24px; }
.customer-tag-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.customer-tag-summary button { --tag-summary-accent: var(--pink); --tag-summary-surface: #fff7fb; position: relative; display: flex; min-width: 0; min-height: 128px; flex-direction: column; gap: 7px; padding: 17px 18px; overflow: hidden; border: 1px solid #3f1a4020; border-radius: 18px; background: linear-gradient(145deg, var(--white), var(--tag-summary-surface)); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.customer-tag-summary button:nth-child(2) { --tag-summary-accent: #6953c6; --tag-summary-surface: #f7f4ff; }
.customer-tag-summary button:nth-child(3) { --tag-summary-accent: #267a58; --tag-summary-surface: #f1fbf6; }
.customer-tag-summary button::after { position: absolute; right: -38px; bottom: -47px; width: 108px; height: 108px; border: 17px solid color-mix(in srgb, var(--tag-summary-accent) 8%, transparent); border-radius: 50%; content: ""; pointer-events: none; }
.customer-tag-summary button:hover { border-color: color-mix(in srgb, var(--tag-summary-accent) 52%, transparent); box-shadow: 0 9px 20px #210b2709; transform: translateY(-2px); }
.customer-tag-summary button.is-active { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #6c275d); box-shadow: 0 4px 0 #250f25; color: var(--white); }
.customer-tag-summary button > * { position: relative; z-index: 1; }
.customer-tag-summary button > span { display: flex; align-items: center; gap: 7px; color: var(--berry); font: 820 .68rem/1.2 var(--heading); letter-spacing: .06em; text-transform: uppercase; }
.customer-tag-summary button > span::before { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--tag-summary-accent); content: ""; }
.customer-tag-summary button > strong { margin-top: auto; color: var(--ink); font: 900 1.8rem/1 var(--heading); letter-spacing: -.04em; }
.customer-tag-summary button > small { color: var(--berry); font-size: .72rem; line-height: 1.3; }
.customer-tag-summary button.is-active > * { color: var(--white); }
.customer-tag-summary button.is-active > span::before { background: var(--white); }
.customer-tag-table-filters .customer-table-filters__head { padding-bottom: 12px; }
.customer-tag-table-filters .customer-table-filters__grid { grid-template-columns: minmax(230px, 360px); }
.customer-tag-table-filters .searchable-select__control { min-height: 50px; padding: 9px 11px 9px 14px; border-width: 1.5px; border-color: #7a1b5c52; border-radius: 14px; background: var(--white); }
.customer-tag-table-filters .searchable-select__value { font-size: .9rem; }
.customer-tag-table-filters .searchable-select__chevron { width: 30px; height: 30px; flex-basis: 30px; background: #fff0f8; color: var(--berry); }
.customer-tag-table-filters .searchable-select__panel { min-width: min(340px, calc(100vw - 34px)); }
.customer-tag-index-panel > .table-shell { width: 100%; margin: 0; border: 0; border-top: 1px solid #3f1a401f; border-radius: 0 0 23px 23px; }
.customer-tag-table__identity { display: flex; min-width: 220px; align-items: center; gap: 12px; }
.customer-tag-table__identity input[type="color"], .customer-tag-protected__mark input[type="color"] { width: 43px; height: 43px; flex: 0 0 43px; padding: 0; overflow: hidden; border: 2px solid var(--white); border-radius: 13px; background: transparent; box-shadow: 0 0 0 1px #3f1a4025, 0 5px 12px #210b2712; opacity: 1; }
.customer-tag-table__identity input[type="color"]::-webkit-color-swatch-wrapper, .customer-tag-protected__mark input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.customer-tag-table__identity input[type="color"]::-webkit-color-swatch, .customer-tag-protected__mark input[type="color"]::-webkit-color-swatch { border: 0; }
.customer-tag-table__identity input[type="color"]::-moz-color-swatch, .customer-tag-protected__mark input[type="color"]::-moz-color-swatch { border: 0; }
.customer-tag-table__identity > div { display: grid; min-width: 0; gap: 4px; }
.customer-tag-table__identity strong { overflow: hidden; color: var(--ink); font: 800 1rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.customer-tag-table__identity small { color: var(--berry); font-size: .78rem; letter-spacing: .04em; }
.customer-tag-index-panel .table-shell time { display: grid; gap: 3px; }
.customer-tag-index-panel .table-shell time strong { color: var(--ink); font-size: .94rem; }
.customer-tag-index-panel .table-shell time small { color: var(--berry); font-size: .82rem; text-transform: capitalize; }
.customer-tag-editor { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .55fr); gap: 22px; margin-top: 28px; align-items: start; }
.customer-tag-editor__form, .customer-tag-editor__guide, .customer-tag-protected, .customer-tag-protected__details { border: 1px solid #3f1a4025; border-radius: 24px; background: var(--white); box-shadow: 0 12px 32px #210b270c; }
.customer-tag-editor__form { overflow: hidden; }
.customer-tag-editor__head { display: flex; align-items: center; gap: 15px; padding: 25px 28px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff5fa 100%); }
.customer-tag-editor__head > span { display: grid; width: 49px; height: 49px; flex: 0 0 49px; place-items: center; border-radius: 15px; background: var(--pink); color: var(--white); box-shadow: 0 4px 0 var(--plum); }
.customer-tag-editor__head svg, .customer-tag-editor__guide-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.customer-tag-editor__head > div { display: grid; gap: 3px; }
.customer-tag-editor__head small, .customer-tag-editor__guide > small, .customer-tag-protected__copy > small { color: var(--pink); font: 800 .76rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.customer-tag-editor__head h2, .customer-tag-editor__guide h2, .customer-tag-protected h2, .customer-tag-protected__details h2 { color: var(--ink); font-size: 1.35rem; }
.customer-tag-editor__head p, .customer-tag-editor__guide > p, .customer-tag-protected__copy p { color: var(--berry); font-size: .95rem; line-height: 1.5; }
.customer-tag-editor__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .4fr); gap: 22px; padding: 28px; align-items: end; }
.customer-tag-editor__fields .form-field { margin: 0 !important; }
.customer-tag-editor__guide { position: sticky; top: 92px; padding: 27px; }
.customer-tag-editor__guide-mark { display: grid; width: 56px; height: 56px; margin-bottom: 23px; place-items: center; border-radius: 17px; background: var(--mist); color: var(--plum); }
.customer-tag-editor__guide h2 { margin-top: 8px; }
.customer-tag-editor__guide > p { margin-top: 8px; }
.customer-tag-editor__usage { display: grid; margin-top: 24px; gap: 4px; padding: 17px; border: 1px solid #3f1a401c; border-radius: 15px; background: #fffafd; }
.customer-tag-editor__usage strong { color: var(--ink); font: 900 1.7rem/1 var(--heading); }
.customer-tag-editor__usage span { color: var(--berry); font-size: .86rem; }
.customer-tag-editor__actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 12px; }
.customer-tag-delete-box { margin-top: 22px; }
.customer-tag-delete-dialog { width: min(100% - 32px, 560px); }
.customer-tag-delete-dialog > form { padding: 22px; }
.customer-tag-delete-dialog > form > p { color: var(--berry); font-size: .95rem; line-height: 1.5; }
.customer-tag-delete-dialog .mc-modal__actions { padding: 20px 0 0; }
.customer-tag-protected { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; margin-top: 28px; padding: 28px; align-items: center; border: 2px solid var(--plum); background: linear-gradient(120deg, #fff 0%, #fff4f9 100%); box-shadow: 0 5px 0 var(--plum); }
.customer-tag-protected__mark input[type="color"] { width: 64px; height: 64px; flex-basis: 64px; border-radius: 19px; }
.customer-tag-protected__copy { display: grid; gap: 5px; }
.customer-tag-protected__details { margin-top: 22px; padding: 27px; }
.customer-tag-protected__details dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0 0; }
.customer-tag-protected__details dl > div { padding: 15px 18px 15px 0; border-top: 1px solid #3f1a4018; }
.customer-tag-protected__details dt { color: var(--berry); font: 750 .78rem/1.2 var(--heading); text-transform: uppercase; }
.customer-tag-protected__details dd { margin: 6px 0 0; color: var(--ink); font-size: 1rem; }

@media (max-width: 1200px) {
    .customer-overview-grid { grid-template-columns: 1fr; }
    .customer-health-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-health-signals > div { border-right: 0; border-bottom: 1px solid #ffffff1c; }
    .customer-health-signals > div:nth-child(odd) { border-right: 1px solid #ffffff1c; }
    .customer-health-signals > div:nth-last-child(-n + 2) { border-bottom: 0; }
    .customer-radial { width: 118px; }
}

@media (max-width: 980px) {
    .customer-chart-grid--three { grid-template-columns: 1fr; }
    .customer-profile-hero__identity h2 { font-size: 1.7rem; }
    .customer-tag-editor { grid-template-columns: 1fr; }
    .customer-tag-editor__guide { position: static; }
}

@media (max-width: 680px) {
    .dashboard-body .dashboard-main { padding-inline: 18px; }
    .dashboard-body .dashboard-top p { font-size: 1rem; }
    .customer-hero { min-height: 0; padding: 27px 21px; border-radius: 24px; }
    .customer-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .customer-detail-hero { gap: 25px; padding: 27px 21px; border-radius: 24px; }
    .customer-detail-hero h1 { font-size: clamp(2.35rem, 13vw, 3.3rem); }
    .customer-detail-hero__copy > p { font-size: .9rem; }
    .customer-detail-hero__meta { align-items: flex-start; flex-direction: column; gap: 7px; }
    .customer-detail-hero__meta > span + span::before { display: none; }
    .customer-detail-hero__actions, .customer-detail-hero__actions .mc-button { width: 100%; }
    .customer-tag-page { gap: 20px; }
    .customer-tag-hero { min-height: 0; align-items: stretch; flex-direction: column; padding: 27px 21px; }
    .customer-tag-hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .customer-tag-hero__aside { width: 100%; min-width: 0; }
    .customer-tag-index-panel__head { min-height: 0; padding: 20px; }
    .customer-tag-index-heading { align-items: flex-start; }
    .customer-tag-index-heading > span { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; }
    .customer-tag-table-filters { padding: 18px 18px 20px; }
    .customer-tag-summary { grid-template-columns: 1fr; }
    .customer-tag-summary button { min-height: 112px; }
    .customer-profile-hero { padding: 23px; }
    .customer-profile-hero__identity h2 { font-size: 1.65rem; }
    .customer-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-metric { min-height: 142px; padding: 18px; }
    .customer-metric strong { font-size: 1.8rem; }
    .customer-metric small { font-size: .86rem; }
    .customer-health-card { padding: 23px; }
    .customer-health-card__head h2 { font-size: 1.45rem; }
    .customer-health-card__pulse { width: 48px; height: 48px; flex-basis: 48px; }
    .customer-health-signals { grid-template-columns: 1fr; }
    .customer-health-signals > div, .customer-health-signals > div:nth-child(odd), .customer-health-signals > div:nth-last-child(-n + 2) { min-height: 0; border-right: 0; border-bottom: 1px solid #ffffff1c; }
    .customer-health-signals > div:last-child { border-bottom: 0; }
    .customer-radial-grid { gap: 8px; }
    .customer-radial { width: 94px; }
    .customer-radial strong { font-size: 1.1rem; }
    .customer-radial small { font-size: .64rem !important; }
    .customer-signal-chips { grid-template-columns: 1fr; }
    .customer-column-chart { height: 245px; gap: 5px; }
    .customer-column-chart__item small { font-size: .7rem; }
    .customer-notes-card .customer-internal-form { grid-template-columns: 1fr; }
    .customer-notes-card .customer-internal-form > :nth-child(n + 3) { grid-column: auto; }
    .customer-tag-table-filters .customer-table-filters__grid, .customer-tag-editor__fields, .customer-tag-protected, .customer-tag-protected__details dl { grid-template-columns: 1fr; }
    .customer-tag-protected { justify-items: start; }
    .customer-tag-editor__head, .customer-tag-editor__fields, .customer-tag-editor__guide, .customer-tag-protected, .customer-tag-protected__details { padding: 22px; }
    .customer-tag-editor__actions { flex-direction: column-reverse; }
    .customer-tag-editor__actions .mc-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .card-design-preview.is-randomizing { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
    .mc-alert, .mc-alert__timer { animation: none !important; }
    .site-nav, .mobile-nav, .mobile-nav a { animation: none !important; }
}

/* Company overview */
.company-overview { display: grid; gap: 26px; }
.company-overview__hero { position: relative; display: flex; min-height: 220px; overflow: hidden; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 34px 36px; border: 2px solid var(--plum); border-radius: 28px; background: linear-gradient(135deg, var(--plum) 0%, #6d1f61 58%, #a62b72 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink), 0 22px 48px #210b2718; }
.company-overview__hero::before, .company-overview__hero::after { position: absolute; border-radius: 50%; background: #ffffff0d; content: ""; pointer-events: none; }
.company-overview__hero::before { top: -135px; right: 15%; width: 310px; height: 310px; border: 55px solid #ffffff0a; }
.company-overview__hero::after { right: -65px; bottom: -120px; width: 260px; height: 260px; border: 44px solid #ff7dbc1c; }
.company-overview__hero > * { position: relative; z-index: 1; }
.company-overview__hero > div:first-child { display: grid; max-width: 720px; gap: 8px; }
.company-overview__eyebrow, .company-overview__section-head > div > span, .overview-card__head > div > span { font: 800 .78rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.company-overview__eyebrow { color: #ff91c5; }
.company-overview__hero h1 { color: var(--white); font-size: clamp(2.45rem, 4vw, 3.65rem); letter-spacing: -.055em; }
.company-overview__hero p { color: #ffffffc7; font-size: 1.05rem; line-height: 1.5; }
.company-overview__hero-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.dashboard-body .company-overview__hero-actions .mc-button { border-color: #ffffffa8; background: #ffffff0e; color: var(--white); box-shadow: none; backdrop-filter: blur(12px); }
.dashboard-body .company-overview__hero-actions .mc-button:hover { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.company-overview__period { display: inline-flex; align-items: center; gap: 8px; color: #ffffffe0; font: 750 .85rem/1 var(--heading); white-space: nowrap; }
.company-overview__period > span { color: #6fe1a9; font-size: .7rem; }
.company-overview__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.overview-kpi { display: flex; min-width: 0; min-height: 218px; flex-direction: column; padding: 24px; overflow: hidden; border: 1px solid #3f1a402c; border-radius: 22px; background: var(--white); box-shadow: 0 10px 28px #210b270c; }
.overview-kpi--pink { border-color: var(--pink); background: linear-gradient(145deg, var(--pink), #d52f82); color: var(--white); }
.overview-kpi--plum { border-color: var(--plum); background: linear-gradient(145deg, var(--plum), #622058); color: var(--white); }
.overview-kpi--violet { border-color: #8260d4; background: linear-gradient(145deg, #f3efff, #e5dcff); }
.overview-kpi__head { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 8px; }
.overview-kpi__head > span { color: var(--pink); font: 800 .74rem/1 var(--heading); letter-spacing: .075em; text-transform: uppercase; }
.overview-kpi--pink .overview-kpi__head > span, .overview-kpi--plum .overview-kpi__head > span { color: #ffffffb8; }
.overview-kpi > strong { margin-top: auto; color: var(--ink); font: 900 2.85rem/1 var(--heading); letter-spacing: -.055em; }
.overview-kpi > h2 { margin-top: 10px; color: var(--ink); font-size: 1.05rem; }
.overview-kpi > p { margin-top: 5px; color: var(--berry); font-size: .86rem; line-height: 1.4; }
.overview-kpi--pink > strong, .overview-kpi--pink > h2, .overview-kpi--plum > strong, .overview-kpi--plum > h2 { color: var(--white); }
.overview-kpi--pink > p, .overview-kpi--plum > p { color: #ffffffb8; }
.overview-kpi--pink .report-trend, .overview-kpi--plum .report-trend { color: var(--white); }
.company-overview__summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #3f1a4025; border-radius: 20px; background: var(--white); box-shadow: 0 9px 26px #210b2709; }
.company-overview__summary article { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 18px 21px; border-right: 1px solid #3f1a4018; }
.company-overview__summary article:last-child { border-right: 0; }
.company-overview__summary article > span { grid-column: 1 / -1; color: var(--berry); font-size: .82rem; }
.company-overview__summary article > strong { color: var(--ink); font: 900 1.65rem/1 var(--heading); }
.company-overview__summary article > small { align-self: end; color: var(--berry); font-size: .75rem; }
.company-overview__summary .report-trend { align-self: end; }
.company-overview__summary .report-trend small { display: none; }
.overview-revenue { position: relative; display: grid; grid-template-columns: 58px minmax(260px, 1.3fr) minmax(180px, .65fr) minmax(150px, .5fr) auto; gap: 22px; align-items: center; padding: 22px 24px; overflow: hidden; border: 2px solid var(--plum); border-radius: 22px; background: linear-gradient(115deg, #fff 0%, #fff6fa 62%, #f5e9f1 100%); box-shadow: 0 5px 0 var(--pink); }
.overview-revenue::after { position: absolute; right: -55px; bottom: -80px; width: 190px; height: 190px; border: 32px solid #ff3d9709; border-radius: 50%; content: ""; }
.overview-revenue > * { position: relative; z-index: 1; }
.overview-revenue__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: var(--plum); color: var(--white); box-shadow: 0 5px 0 var(--pink); }
.overview-revenue__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.overview-revenue__copy, .overview-revenue__forecast, .overview-revenue__coverage { display: grid; min-width: 0; gap: 4px; }
.overview-revenue__copy > span, .overview-revenue__forecast > span, .overview-revenue__coverage > span { color: var(--berry); font-size: .72rem; }
.overview-revenue__copy > strong { color: var(--ink); font: 900 clamp(2rem, 3vw, 2.7rem)/.95 var(--heading); letter-spacing: -.04em; }
.overview-revenue__copy > p { color: var(--berry); font-size: .72rem; }
.overview-revenue__forecast { grid-template-columns: 1fr auto; }
.overview-revenue__forecast > span, .overview-revenue__forecast > strong { grid-column: 1; }
.overview-revenue__forecast > strong, .overview-revenue__coverage > strong { color: var(--ink); font: 850 1.2rem/1.1 var(--heading); }
.overview-revenue__forecast .report-trend { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.overview-revenue__forecast .report-trend small { display: none; }
.overview-revenue__coverage i { height: 6px; margin-top: 4px; overflow: hidden; border-radius: 99px; background: #3f1a4013; }
.overview-revenue__coverage i b { display: block; width: var(--report-width, 0%); height: 100%; border-radius: inherit; background: var(--pink); }
.overview-revenue > a { color: var(--berry); font: 820 .79rem/1.3 var(--heading); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.company-overview__visual-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .65fr); gap: 20px; align-items: stretch; }
.overview-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #3f1a4025; border-radius: 25px; background: var(--white); box-shadow: 0 13px 34px #210b270c; }
.overview-card__head { display: flex; min-height: 112px; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 27px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff6fb 100%); }
.overview-card__head > div:first-child { min-width: 0; }
.overview-card__head > div > span { color: var(--pink); }
.overview-card__head h2 { margin-top: 7px; color: var(--ink); font-size: 1.42rem; }
.overview-card__head p { margin-top: 5px; color: var(--berry); font-size: .91rem; line-height: 1.4; }
.overview-card__head > a { color: var(--berry); font: 750 .83rem/1.2 var(--heading); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.overview-card--activity { min-height: 475px; }
.overview-activity-chart { height: 355px; padding-top: 30px; }
.overview-chart-empty { position: absolute; inset: 150px 24px 26px; display: grid; place-items: center; align-content: center; gap: 7px; border: 1px dashed #3f1a4030; border-radius: 18px; background: #fffafdf2; text-align: center; backdrop-filter: blur(3px); }
.overview-chart-empty > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--mist); color: var(--pink); font-size: 1.2rem; }
.overview-chart-empty strong { color: var(--ink); font: 850 1.08rem/1.2 var(--heading); }
.overview-chart-empty p { max-width: 380px; color: var(--berry); font-size: .88rem; line-height: 1.45; }
.overview-card--customers { display: flex; flex-direction: column; }
.overview-customer-health { display: grid; flex: 1; place-items: center; align-content: center; gap: 22px; padding: 25px 24px 18px; }
.overview-customer-health .report-donut { width: min(62%, 170px); }
.overview-customer-health .report-donut-legend { grid-template-columns: 1fr 1fr; }
.overview-customer-alert { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; margin: 0 23px 20px; padding: 13px; border: 1px solid #ff9f4347; border-radius: 14px; background: #fff6eb; }
.overview-customer-alert > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: #ff9f43; color: var(--white); font: 900 1rem/1 var(--heading); }
.overview-customer-alert > div { display: grid; gap: 3px; }
.overview-customer-alert strong { color: var(--ink); font: 800 .86rem/1.25 var(--heading); }
.overview-customer-alert small { color: var(--berry); font-size: .75rem; line-height: 1.35; }
.overview-card__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 23px; border-top: 1px solid #3f1a4018; color: var(--plum); font: 780 .86rem/1.2 var(--heading); }
.overview-card__link:hover { background: var(--mist); color: var(--pink); }
.company-overview__section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding-top: 4px; }
.company-overview__section-head > div > span { color: var(--pink); }
.company-overview__section-head h2 { margin-top: 7px; color: var(--ink); font-size: 1.72rem; }
.company-overview__section-head p { margin-top: 5px; color: var(--berry); font-size: .96rem; }
.company-overview__section-head > a { color: var(--berry); font: 760 .86rem/1.2 var(--heading); text-decoration: underline; text-underline-offset: 4px; }
.company-overview__operations { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: hidden; border: 1px solid #3f1a4025; border-radius: 22px; background: var(--white); box-shadow: 0 10px 28px #210b270a; }
.company-overview__operations article { display: grid; min-width: 0; min-height: 144px; align-content: space-between; gap: 18px; padding: 19px; border-right: 1px solid #3f1a4018; }
.company-overview__operations article:last-child { border-right: 0; }
.overview-operation__icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--pink); }
.overview-operation__icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.company-overview__operations article > div { display: grid; gap: 5px; }
.company-overview__operations strong { color: var(--ink); font: 900 1.7rem/1 var(--heading); }
.company-overview__operations article > div > span { color: var(--berry); font-size: .8rem; line-height: 1.25; }
.company-overview__breakdowns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.overview-breakdown-card .overview-card__head { min-height: 126px; padding: 22px 23px; }
.overview-breakdown-card .report-ranked-list { padding: 22px 23px 25px; }
.report-ranked-list--team .report-ranked-list__mark { background: var(--plum); }
.company-overview__channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.overview-channel { position: relative; display: grid; min-width: 0; gap: 22px; padding: 26px; overflow: hidden; border: 1px solid #3f1a4028; border-radius: 24px; background: linear-gradient(135deg, var(--white), #fff2f8); box-shadow: 0 12px 32px #210b270b; }
.overview-channel--mobile { background: linear-gradient(135deg, var(--plum), #6f2762); color: var(--white); }
.overview-channel > header { display: flex; align-items: center; gap: 15px; }
.overview-channel > header > span { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 16px; background: var(--pink); color: var(--white); box-shadow: 0 4px 0 var(--plum); }
.overview-channel--mobile > header > span { box-shadow: 0 4px 0 #19081c; }
.overview-channel > header svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.overview-channel > header div { min-width: 0; }
.overview-channel > header small { color: var(--pink); font: 800 .72rem/1 var(--heading); letter-spacing: .075em; text-transform: uppercase; }
.overview-channel--mobile > header small { color: #ff8bc2; }
.overview-channel h2 { margin-top: 6px; color: var(--ink); font-size: 1.38rem; }
.overview-channel--mobile h2 { color: var(--white); }
.overview-channel header p { margin-top: 4px; color: var(--berry); font-size: .87rem; }
.overview-channel--mobile header p { color: #ffffffb5; }
.overview-channel__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #3f1a401d; border-radius: 16px; background: #ffffffa6; }
.overview-channel--mobile .overview-channel__metrics { border-color: #ffffff1f; background: #ffffff0c; }
.overview-channel__metrics > div { display: grid; min-width: 0; gap: 6px; padding: 17px; border-right: 1px solid #3f1a4018; }
.overview-channel--mobile .overview-channel__metrics > div { border-color: #ffffff1f; }
.overview-channel__metrics > div:last-child { border-right: 0; }
.overview-channel__metrics strong { color: var(--ink); font: 900 1.75rem/1 var(--heading); }
.overview-channel--mobile .overview-channel__metrics strong { color: var(--white); }
.overview-channel__metrics span { color: var(--berry); font-size: .78rem; }
.overview-channel--mobile .overview-channel__metrics span { color: #ffffffa8; }
.overview-progress { display: grid; gap: 8px; }
.overview-progress > span { display: block; height: 9px; overflow: hidden; border-radius: 99px; background: #ffffff1f; }
.overview-progress b { display: block; width: var(--report-width, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), #ff8bc2); }
.overview-progress small { color: #ffffffa8; font-size: .75rem; }
.overview-channel > a { display: flex; align-items: center; justify-content: space-between; color: var(--plum); font: 780 .85rem/1.2 var(--heading); }
.company-overview__bottom-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr); gap: 18px; align-items: start; }
.revenue-page { display: grid; gap: 22px; }
.revenue-hero { position: relative; display: flex; min-height: 240px; align-items: flex-end; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 76% 18%, #ff78b84d 0 8%, transparent 31%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.revenue-hero::after { position: absolute; right: -90px; bottom: -150px; width: 330px; height: 330px; border: 55px solid #ffffff0b; border-radius: 50%; content: ""; }
.revenue-hero > * { position: relative; z-index: 1; }
.revenue-hero > div { display: grid; max-width: 720px; gap: 8px; }
.revenue-hero__eyebrow { color: #ff97c8; font: 850 .75rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.revenue-hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.revenue-hero p { max-width: 660px; color: #ffffffc5; font-size: 1.02rem; line-height: 1.5; }
.revenue-period { display: flex; flex: 0 0 auto; gap: 5px; padding: 5px; border: 1px solid #ffffff26; border-radius: 15px; background: #ffffff0d; backdrop-filter: blur(12px); }
.revenue-period button { min-height: 40px; padding: 9px 13px; border: 0; border-radius: 11px; background: transparent; color: #ffffffc4; cursor: pointer; font: 780 .76rem/1 var(--heading); white-space: nowrap; }
.revenue-period button:hover, .revenue-period button.is-active { background: var(--white); color: var(--plum); }
.revenue-assumption { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 17px; border: 1px solid #3f1a4022; border-radius: 16px; background: #fffafd; }
.revenue-assumption > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--mist); color: var(--berry); font: 900 .84rem/1 var(--heading); }
.revenue-assumption p { color: var(--berry); font-size: .82rem; line-height: 1.45; }
.revenue-assumption strong { color: var(--ink); }
.revenue-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; align-items: stretch; }
.revenue-kpi { position: relative; display: flex; width: 100%; min-height: 225px; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; padding: 22px; border: 1px solid #3f1a4028; border-radius: 22px; background: var(--white); box-shadow: 0 9px 26px #210b270a; }
.revenue-kpi::after { position: absolute; right: -50px; bottom: -60px; width: 155px; height: 155px; border: 24px solid #7a1b5c0b; border-radius: 50%; content: ""; }
.revenue-kpi > *, .revenue-kpi > div { position: relative; z-index: 1; }
.revenue-kpi__head { display: flex; min-height: 29px; align-items: center; justify-content: space-between; gap: 10px; }
.revenue-kpi__head > span { display: flex; min-height: 27px; min-width: 0; align-items: center; color: var(--pink); font: 820 .7rem/1.15 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.revenue-kpi__head .report-trend { height: 27px; flex: 0 0 auto; align-self: center; }
.revenue-kpi__head .report-trend small { display: flex; min-height: 27px; max-width: none; align-items: center; line-height: 1; white-space: nowrap; }
.revenue-kpi > strong { margin-top: 18px; color: var(--ink); font: 900 clamp(2rem, 3vw, 2.75rem)/.95 var(--heading); letter-spacing: -.045em; }
.revenue-kpi h2 { margin-top: auto; color: var(--ink); font-size: 1rem; }
.revenue-kpi > p { margin-top: 5px; color: var(--berry); font-size: .76rem; line-height: 1.4; }
.revenue-kpi--primary { border-color: var(--plum); background: var(--pink); color: var(--white); box-shadow: 0 9px 26px #210b270a; }
.revenue-kpi--primary .revenue-kpi__head > span, .revenue-kpi--primary > strong, .revenue-kpi--primary h2 { color: var(--white); }
.revenue-kpi--primary > p { color: #ffffffc5; }
.revenue-kpi--primary .report-trend > span { box-shadow: 0 0 0 1px #ffffff42; }
.revenue-coverage-bar { height: 7px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: #3f1a4012; }
.revenue-coverage-bar i { display: block; width: var(--report-width, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--violet)); transition: width .7s ease; }
.revenue-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.revenue-card { overflow: hidden; border: 1px solid #3f1a4026; border-radius: 24px; background: var(--white); box-shadow: 0 10px 30px #210b270b; }
.revenue-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 23px 25px; border-bottom: 1px solid #3f1a4018; }
.revenue-card > header > div, .revenue-card > header:not(:has(> div)) { display: grid; gap: 5px; }
.revenue-card > header span { color: var(--pink); font: 830 .7rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.revenue-card > header h2 { color: var(--ink); font-size: 1.35rem; }
.revenue-card > header p { color: var(--berry); font-size: .82rem; line-height: 1.4; }
.revenue-card--chart { position: relative; min-height: 410px; grid-column: span 3; }
.revenue-card--chart::before, .revenue-card--setup::before { position: absolute; top: -75px; right: -50px; width: 155px; height: 155px; border: 24px solid #7a1b5c0b; border-radius: 50%; content: ""; pointer-events: none; }
.revenue-card--chart > *, .revenue-card--setup > * { position: relative; z-index: 1; }
.revenue-card--chart > header { align-items: center; }
.revenue-card--chart > header > strong { display: flex; min-height: 54px; align-items: center; color: var(--ink); font: 900 clamp(2rem, 3vw, 2.6rem)/.95 var(--heading); letter-spacing: -.045em; white-space: nowrap; }
.revenue-chart { display: flex; min-height: 270px; gap: clamp(5px, .8vw, 11px); align-items: end; padding: 28px 24px 20px; overflow-x: auto; scrollbar-width: none; }
.revenue-chart::-webkit-scrollbar { display: none; }
.revenue-chart__item { display: grid; min-width: 25px; height: 220px; flex: 1 0 25px; grid-template-rows: 22px 1fr 20px; gap: 6px; align-items: end; text-align: center; }
.revenue-chart__item > span { overflow: hidden; color: var(--berry); font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.revenue-chart__item > i { display: flex; height: 165px; align-items: end; justify-content: center; background: transparent; }
.revenue-chart__item > i > b { display: block; width: min(70%, 22px); height: var(--report-height, 0%); min-height: 2px; border-radius: 7px 7px 3px 3px; background: var(--pink); transition: height .7s cubic-bezier(.22, 1, .36, 1); }
.revenue-chart__item > small { overflow: hidden; color: var(--berry); font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.revenue-empty-overlay { position: absolute; inset: 102px 0 0; display: grid; place-content: center; justify-items: center; gap: 7px; padding: 30px; background: #ffffffdc; text-align: center; backdrop-filter: blur(3px); }
.revenue-empty-overlay > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; background: var(--mist); color: var(--pink); font: 900 1.4rem/1 var(--heading); }
.revenue-empty-overlay strong { margin-top: 6px; color: var(--ink); font: 850 1.15rem/1.2 var(--heading); }
.revenue-empty-overlay p { max-width: 420px; color: var(--berry); font-size: .82rem; }
.revenue-card--setup { position: relative; display: flex; grid-column: span 1; flex-direction: column; padding-bottom: 22px; }
.revenue-card--setup > header { display: grid; }
.revenue-setup-visual { position: relative; display: grid; width: 160px; margin: 26px auto; aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(var(--pink) var(--revenue-coverage), #f1e7ed 0); }
.revenue-setup-visual::before { position: absolute; width: 122px; aspect-ratio: 1; border-radius: 50%; background: var(--white); content: ""; }
.revenue-setup-visual span { position: relative; z-index: 1; display: grid; gap: 2px; text-align: center; }
.revenue-setup-visual strong { color: var(--ink); font: 900 2rem/1 var(--heading); }
.revenue-setup-visual small { color: var(--berry); font-size: .7rem; }
.revenue-card--setup > a { margin: auto 22px 0; color: var(--berry); font: 800 .82rem/1.2 var(--heading); text-decoration: underline; text-underline-offset: 4px; }
.revenue-programmes > header { align-items: center; }
.revenue-programmes__table { border: 0; border-radius: 0 0 24px 24px; }
.revenue-programmes__table .dt-container > .row:first-child { border-radius: 0; }
.revenue-programmes__table .dt-container > .row:last-child { border-radius: 0 0 23px 23px; }
.revenue-programmes__table table.dataTable > tbody > tr > td { vertical-align: middle; }
.revenue-programmes__table .revenue-programmes__identity { display: grid; min-width: 0; gap: 4px; }
.revenue-programmes__table .revenue-programmes__identity strong { overflow: hidden; color: var(--ink); font: 800 .9rem/1.25 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.revenue-programmes__table .revenue-programmes__identity small { color: var(--berry); font-size: .74rem; line-height: 1.35; }
.revenue-programmes__table .revenue-programmes__total { display: grid; min-width: 120px; gap: 8px; }
.revenue-programmes__table .revenue-programmes__total i { display: block; height: 5px; overflow: hidden; border-radius: 99px; background: #f1e7ed; }
.revenue-programmes__table .revenue-programmes__total i b { display: block; width: var(--report-width, 0%); height: 100%; border-radius: inherit; background: var(--pink); }
.revenue-programmes__list { display: grid; }
.revenue-programmes__list > article { display: grid; grid-template-columns: 44px minmax(190px, 1.35fr) repeat(3, minmax(105px, .7fr)) minmax(145px, .9fr) auto; gap: 18px; align-items: center; padding: 18px 24px; border-bottom: 1px solid #3f1a4016; }
.revenue-programmes__list > article:last-child { border-bottom: 0; }
.revenue-programmes__list > article:hover { background: #fffafd; }
.revenue-programmes__rank { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--mist); color: var(--berry); font: 850 .7rem/1 var(--heading); }
.revenue-programmes__identity, .revenue-programmes__list article > div { display: grid; min-width: 0; gap: 4px; }
.revenue-programmes__list article strong { color: var(--ink); font: 800 .88rem/1.2 var(--heading); }
.revenue-programmes__list article small { color: var(--berry); font-size: .7rem; line-height: 1.3; }
.revenue-programmes__identity > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.revenue-programmes__total i { height: 5px; overflow: hidden; border-radius: 99px; background: #f1e7ed; }
.revenue-programmes__total i b { display: block; width: var(--report-width, 0%); height: 100%; border-radius: inherit; background: var(--pink); }
.revenue-programmes__list article > a { color: var(--berry); font: 800 .75rem/1 var(--heading); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.revenue-programmes__list > article.is-unconfigured { grid-template-columns: 44px minmax(190px, 1.35fr) minmax(260px, 3.7fr) auto; background: #fffafd; }
.revenue-programmes__missing { padding: 11px 14px; border-radius: 13px; background: var(--mist); }
.overview-recent__list { display: grid; }
.overview-recent__list article { display: grid; min-width: 0; grid-template-columns: 43px minmax(0, 1fr) auto auto 34px; gap: 12px; align-items: center; padding: 14px 22px; border-bottom: 1px solid #3f1a4015; }
.overview-recent__list article:last-child { border-bottom: 0; }
.overview-recent__mark { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--pink); }
.overview-recent__mark.is-void { background: #fce8ef; color: var(--danger); }
.overview-recent__mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.overview-recent__list article > div { display: grid; min-width: 0; gap: 4px; }
.overview-recent__list article > div > strong { overflow: hidden; color: var(--ink); font: 800 .93rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.overview-recent__list article > div > small { overflow: hidden; color: var(--berry); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.overview-recent__list time { display: grid; gap: 3px; color: var(--berry); text-align: right; }
.overview-recent__list time strong { color: var(--ink); font-size: .82rem; text-transform: capitalize; }
.overview-recent__list time small { font-size: .74rem; }
.overview-recent__list article > a { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #3f1a4023; border-radius: 10px; color: var(--plum); font: 800 1rem/1 var(--heading); }
.overview-recent__list article > a:hover { border-color: var(--pink); background: var(--mist); color: var(--pink); }
.overview-management nav { display: grid; }
.overview-management nav > a { display: grid; min-width: 0; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 19px; border-bottom: 1px solid #3f1a4015; color: var(--plum); }
.overview-management nav > a:last-child { border-bottom: 0; }
.overview-management nav > a:hover { background: #fff6fa; color: var(--pink); }
.overview-management nav > a > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--mist); color: var(--pink); }
.overview-management nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.overview-management nav div { display: grid; min-width: 0; gap: 3px; }
.overview-management nav strong { overflow: hidden; color: var(--ink); font: 780 .88rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.overview-management nav small { color: var(--berry); font-size: .75rem; }
.overview-management nav b { font-size: 1rem; }

/* Company reports */
.report-page { display: grid; gap: 34px; }
.report-page__top { margin-bottom: 2px; }
.report-page__top > div:first-child { display: grid; gap: 7px; }
.report-page__eyebrow { width: fit-content; margin-bottom: 2px; color: var(--pink); font: 850 .76rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.report-page__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 11px; }
.report-page__hero { position: relative; min-height: 236px; align-items: flex-end; padding: clamp(28px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: radial-gradient(circle at 76% 18%, #ff78b84d 0 8%, transparent 31%), linear-gradient(135deg, #32112d 0%, #6d1f61 62%, #9c2b71 100%); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.report-page__hero::after { position: absolute; right: -90px; bottom: -150px; width: 330px; height: 330px; border: 55px solid #ffffff0b; border-radius: 50%; content: ""; pointer-events: none; }
.report-page__hero > * { position: relative; z-index: 1; }
.report-page__hero > div:first-child { max-width: 700px; }
.report-page__hero .report-page__eyebrow { color: #ff97c8; }
.report-page__hero h1 { color: var(--white); font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -.055em; }
.report-page__hero p { max-width: 660px; color: #ffffffc5; font-size: 1.02rem; line-height: 1.5; }
.dashboard-body .report-page__hero .mc-button--line { border-color: #ffffff42; background: #ffffff0c; color: var(--white); box-shadow: none; }
.dashboard-body .report-page__hero .mc-button--line:hover { border-color: var(--white); background: #ffffff18; color: var(--white); box-shadow: none; }
.report-page__hero .mc-button--pink { border-color: var(--white); background: var(--white); color: var(--plum); box-shadow: none; }
.report-page__hero .mc-button--pink:hover { border-color: var(--white); background: #fff4f9; color: var(--plum); }
.report-section { display: grid; min-width: 0; gap: 19px; }
.report-section__head { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding-inline: 2px; }
.report-section__head > div { display: grid; min-width: 0; gap: 5px; }
.report-section__head span { color: var(--pink); font: 850 .72rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.report-section__head h2 { color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -.025em; }
.report-section__head p { max-width: 760px; color: var(--berry); font-size: .9rem; line-height: 1.45; }
.report-section__head > small { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #ff3d9728; border-radius: 999px; background: var(--mist); color: var(--plum); font: 750 .76rem/1 var(--heading); }
.report-filter-card { overflow: visible; border: 1px solid #3f1a4026; border-radius: 24px; background: var(--white); box-shadow: 0 10px 30px #210b270b; }
.report-filter-card__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid #3f1a4018; border-radius: 23px 23px 0 0; background: linear-gradient(120deg, #fff 0%, #fff5fa 100%); }
.report-filter-card__head > div { display: grid; gap: 5px; }
.report-filter-card__head span, .report-card__head > div > span, .report-insights__head > span, .report-detail-section__head > div > span { color: var(--pink); font: 800 .72rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.report-filter-card__head h2 { color: var(--ink); font-size: 1.2rem; }
.report-filter-card__head > a { color: var(--berry); font: 750 .82rem/1.2 var(--heading); text-decoration: underline; text-decoration-color: #7a1b5c4a; text-underline-offset: 4px; }
.report-filter-form { display: grid; grid-template-columns: minmax(360px, 1.25fr) minmax(320px, .8fr) auto; gap: 20px; align-items: end; padding: 24px; }
.report-period-picker { min-width: 0; padding: 0; border: 0; }
.report-period-picker legend { margin-bottom: 9px; color: var(--ink); font: 750 .88rem/1.2 var(--heading); }
.report-period-picker > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.report-period-picker label { min-width: 0; cursor: pointer; }
.report-period-picker label > span { display: grid; min-height: 44px; place-items: center; padding: 8px 10px; border: 1px solid #3f1a4030; border-radius: 11px; background: #fffafd; color: var(--berry); font: 750 .8rem/1.1 var(--heading); text-align: center; transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease; }
.report-period-picker label:hover > span { border-color: var(--pink); }
.report-period-picker input:focus-visible + span { border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d9720; }
.report-period-picker input:checked + span { border-color: var(--pink); background: var(--mist); color: var(--plum); box-shadow: inset 0 -2px 0 var(--pink); }
.report-filter-form__dates { display: none; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 14px; order: 4; padding-top: 2px; }
.report-filter-form__dates.is-active { display: grid; }
.report-filter-form__dates .form-field, .report-filter-form__selects .form-field { margin: 0 !important; }
.report-filter-form__selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.report-filter-form .form-field label { font-size: .83rem; }
.report-filter-form .form-select, .report-filter-form .form-control { min-height: 44px; padding-block: 8px; border-width: 1px; background-color: #fffafd; }
.report-filter-form .searchable-select__control { min-height: 44px; padding: 7px 10px 7px 14px; border-width: 1px; border-color: #3f1a4030; border-radius: 11px; background: #fffafd; }
.report-filter-form .searchable-select__value { font-size: .9rem; }
.report-filter-form .searchable-select__chevron { width: 28px; height: 28px; flex-basis: 28px; background: #fff0f8; color: var(--berry); }
.report-filter-form .searchable-select__panel { min-width: min(310px, calc(100vw - 34px)); }
.report-filter-form > .mc-button { min-height: 44px; padding-inline: 20px; }
.report-filter-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 24px; border-top: 1px solid #3f1a4018; border-radius: 0 0 23px 23px; background: #fffafd; }
.report-filter-summary > span { padding: 7px 11px; border: 1px solid #ff3d9728; border-radius: 999px; background: var(--mist); color: var(--plum); font: 750 .78rem/1 var(--heading); }
.report-filter-summary > small { margin-left: auto; color: var(--berry); font-size: .78rem; }
.report-kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.report-kpi { position: relative; display: flex; min-width: 0; min-height: 225px; flex-direction: column; padding: 22px; overflow: hidden; border: 1px solid #3f1a4028; border-radius: 22px; background: var(--white); color: var(--ink); box-shadow: 0 9px 26px #210b270a; }
.report-kpi::after { position: absolute; right: -34px; bottom: -48px; width: 140px; height: 140px; border: 24px solid currentColor; border-radius: 50%; content: ""; opacity: .06; }
.report-kpi--pink { border-color: var(--plum); background: var(--pink); color: var(--white); }
.report-kpi--plum { background: linear-gradient(145deg, #ffffff 0%, #f5fbf8 100%); }
.report-kpi--white { background: linear-gradient(145deg, #ffffff 0%, #fbf9ff 100%); }
.report-kpi--violet { background: linear-gradient(145deg, #ffffff 0%, #f7f3ff 100%); }
.report-kpi__head { position: relative; z-index: 1; display: flex; min-height: 29px; align-items: center; justify-content: space-between; gap: 10px; }
.report-kpi__head > span { display: flex; min-height: 27px; min-width: 0; align-items: center; color: var(--pink); font: 820 .7rem/1.15 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.report-kpi--pink .report-kpi__head > span { color: var(--white); opacity: .78; }
.report-kpi__head .report-trend { height: 27px; flex: 0 0 auto; align-self: center; }
.report-kpi__head .report-trend small { display: flex; min-height: 27px; max-width: none; align-items: center; line-height: 1; white-space: nowrap; }
.report-kpi__head .report-trend--flat small { display: none; }
.report-kpi > strong { position: relative; z-index: 1; display: block; margin-top: 17px; color: inherit; font: 900 clamp(2.25rem, 3.5vw, 3rem)/.95 var(--heading); letter-spacing: -.05em; white-space: nowrap; }
.report-kpi h3 { position: relative; z-index: 1; margin-top: auto; color: inherit; font-size: 1.08rem; letter-spacing: -.02em; }
.report-kpi > p { position: relative; z-index: 1; margin-top: 5px; font-size: .78rem; line-height: 1.35; opacity: .76; }
.report-trend { display: inline-flex; min-width: 0; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: inherit; box-shadow: none; }
.report-trend > span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 50%; background: #d9c3cf; color: var(--plum); font: 950 1rem/1 var(--heading); }
.report-trend small { max-width: 86px; font-size: .66rem; font-weight: 750; line-height: 1.1; opacity: .78; }
.report-trend--up > span { background: #c3f2db; color: #12633f; }
.report-trend--down > span { background: #ffd4df; color: #9e2247; }
.report-kpi--pink .report-trend > span { box-shadow: 0 0 0 1px #ffffff3b; }
.report-secondary-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #3f1a4022; border-radius: 20px; background: var(--white); box-shadow: 0 10px 28px #210b2709; }
.report-secondary-metrics article { display: flex; min-width: 0; min-height: 108px; flex-direction: column; gap: 9px; padding: 19px 21px; border-right: 1px solid #3f1a4018; }
.report-secondary-metrics article:last-child { border-right: 0; }
.report-secondary-metrics article > span { color: var(--berry); font-size: .78rem; }
.report-metric-value { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.report-metric-value strong { min-width: 0; color: var(--ink); font: 900 clamp(1.4rem, 2vw, 1.75rem)/1 var(--heading); letter-spacing: -.035em; white-space: nowrap; }
.report-metric-value > small, .report-secondary-metrics article > small { color: var(--berry); font-size: .72rem; line-height: 1.3; }
.report-metric-value > small { flex: 0 1 auto; text-align: right; }
.report-secondary-metrics article > small { display: block; }
.report-secondary-metrics .report-trend { flex: 0 0 auto; }
.report-secondary-metrics .report-trend small { display: none; }
.report-secondary-metrics .report-trend > span { width: 24px; height: 24px; flex-basis: 24px; }
.report-financial-metrics { gap: 15px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.report-financial-metrics article { position: relative; min-height: 154px; padding: 21px; overflow: hidden; border: 1px solid #3f1a4026; border-radius: 20px; background: var(--white); box-shadow: 0 9px 26px #210b2709; }
.report-financial-metrics article::after { position: absolute; right: -44px; bottom: -62px; width: 135px; height: 135px; border: 22px solid currentColor; border-radius: 50%; content: ""; opacity: .045; pointer-events: none; }
.report-financial-metrics article > * { position: relative; z-index: 1; }
.report-financial-metrics article:nth-child(3) { border-color: var(--plum); background: var(--plum); color: var(--white); }
.report-financial-metrics article:nth-child(3) > span, .report-financial-metrics article:nth-child(3) .report-metric-value strong { color: var(--white); }
.report-financial-metrics article:nth-child(3) > small { color: #ffffffa8; }
.report-financial-metrics article:nth-child(3) .report-trend { color: var(--white); }
.report-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #3f1a4024; border-radius: 24px; background: var(--white); box-shadow: 0 12px 32px #210b270b; }
.report-card__head { display: flex; min-height: 106px; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px 26px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff7fb 100%); }
.report-card__head > div:first-child { min-width: 0; }
.report-card__head h2 { margin-top: 6px; color: var(--ink); font-size: 1.35rem; }
.report-card__head p { margin-top: 5px; color: var(--berry); font-size: .87rem; }
.report-card__head > a { color: var(--berry); font: 750 .8rem/1.2 var(--heading); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.report-overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(330px, .55fr); gap: 20px; align-items: stretch; }
.report-card--timeline { min-height: 470px; }
.report-chart-legend { display: flex; flex-wrap: wrap; gap: 13px; padding-top: 6px; }
.report-chart-legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--berry); font-size: .72rem; }
.report-chart-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--pink); }
.report-chart-legend span:last-child i { background: var(--violet); }
.report-column-chart { display: grid; height: 340px; grid-template-columns: repeat(var(--report-items, 1), minmax(13px, 1fr)); gap: 5px; align-items: end; padding: 28px 25px 22px; overflow-x: auto; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 67px, #3f1a400d 68px); scrollbar-width: thin; }
.report-column-chart__item { display: grid; height: 100%; min-width: 0; grid-template-rows: 23px minmax(0, 1fr) 24px; gap: 5px; align-items: end; }
.report-column-chart__value { color: var(--berry); font: 750 .7rem/1 var(--heading); text-align: center; }
.report-column-chart__bars { display: flex; height: 100%; align-items: flex-end; justify-content: center; gap: 3px; }
.report-column-chart__bars i { display: block; width: min(11px, 45%); height: var(--report-height, 0%); min-height: 0; border-radius: 6px 6px 2px 2px; background: var(--pink); transition: height .35s ease; }
.report-column-chart__bars i:last-child { background: var(--violet); }
.report-column-chart__item small { overflow: visible; color: var(--berry); font-size: .61rem; text-align: center; white-space: nowrap; visibility: hidden; }
.report-column-chart__item.has-visible-label small { visibility: visible; }
.report-chart-empty { position: absolute; inset: 148px 24px 30px; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 18px; background: #fffafde6; text-align: center; backdrop-filter: blur(3px); }
.report-chart-empty strong { color: var(--ink); font: 800 1rem/1.2 var(--heading); }
.report-chart-empty span { color: var(--berry); font-size: .82rem; }
.report-card--portfolio { display: flex; min-height: 470px; flex-direction: column; }
.report-donut-wrap { display: grid; flex: 1; place-items: center; align-content: center; gap: 25px; padding: 24px; }
.report-donut { position: relative; display: grid; width: min(72%, 210px); aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(#f0e2ea 0 100%); }
.report-donut::before { grid-area: 1 / 1; width: 68%; aspect-ratio: 1; border-radius: 50%; background: var(--white); box-shadow: 0 7px 20px #210b2714; content: ""; }
.report-donut > span { z-index: 1; display: grid; grid-area: 1 / 1; gap: 4px; text-align: center; }
.report-donut strong { color: var(--ink); font: 900 2rem/1 var(--heading); }
.report-donut small { color: var(--berry); font-size: .75rem; }
.report-donut-legend { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.report-donut-legend > div { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; gap: 7px; align-items: center; padding: 8px 9px; border: 1px solid #3f1a4016; border-radius: 10px; background: #fffafd; }
.report-donut-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--report-color, var(--pink)); }
.report-donut-legend span { overflow: hidden; color: var(--berry); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.report-donut-legend strong { color: var(--ink); font: 800 .78rem/1 var(--heading); }
.report-card__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 23px; border-top: 1px solid #3f1a4018; color: var(--plum); font: 750 .8rem/1.3 var(--heading); }
.report-card__link:hover { background: var(--mist); color: var(--pink); }
.report-card__link span { font-size: 1rem; }
.report-breakdown-grid, .report-pattern-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.report-ranked-list { display: grid; gap: 16px; padding: 25px 26px 28px; }
.report-ranked-list > div:not(.report-mini-empty) { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.report-ranked-list__mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--report-color, var(--pink)); color: var(--white); font: 850 .78rem/1 var(--heading); }
.report-ranked-list--locations .report-ranked-list__mark { background: var(--mist); color: var(--plum); }
.report-ranked-list > div > div { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; align-items: center; }
.report-ranked-list strong { overflow: hidden; color: var(--ink); font: 750 .88rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.report-ranked-list i { display: block; height: 7px; grid-column: 1 / -1; overflow: hidden; border-radius: 99px; background: var(--mist); }
.report-ranked-list b { display: block; width: var(--report-width, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--violet)); }
.report-ranked-list small { color: var(--berry); font-size: .7rem; }
.report-ranked-list > div > span:last-child { color: var(--ink); font: 900 1rem/1 var(--heading); }
.report-mini-empty { display: grid; min-height: 180px; place-items: center; align-content: center; gap: 5px; text-align: center; }
.report-mini-empty strong { color: var(--ink); font-size: .95rem; }
.report-mini-empty span { color: var(--berry); font-size: .8rem; }
.report-weekday-chart { display: grid; gap: 14px; padding: 27px; }
.report-weekday-chart > div { display: grid; grid-template-columns: 35px minmax(0, 1fr) 28px; gap: 11px; align-items: center; }
.report-weekday-chart span, .report-weekday-chart strong { color: var(--berry); font-size: .78rem; }
.report-weekday-chart strong { color: var(--ink); font-weight: 800; text-align: right; }
.report-weekday-chart i { display: block; height: 10px; overflow: hidden; border-radius: 99px; background: var(--mist); }
.report-weekday-chart b { display: block; width: var(--report-width, 0%); height: 100%; border-radius: inherit; background: var(--pink); }
.report-hour-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 27px; }
.report-hour-grid > div { display: grid; min-height: 62px; place-items: center; align-content: center; gap: 3px; border: 1px solid #3f1a4018; border-radius: 11px; background: rgba(63, 26, 64, var(--report-intensity, .05)); transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.report-hour-grid > div:hover { transform: translateY(-2px); }
.report-hour-grid span { color: var(--berry); font-size: .68rem; }
.report-hour-grid strong { color: var(--ink); font: 850 .9rem/1 var(--heading); }
.report-hour-grid > div.has-dark-background { border-color: #ffffff30; }
.report-hour-grid > div.has-dark-background span, .report-hour-grid > div.has-dark-background strong { color: var(--white); }
.report-insights { overflow: hidden; border: 1px solid #3f1a4024; border-radius: 24px; background: var(--plum); color: var(--white); box-shadow: 0 7px 0 var(--pink); }
.report-insights__head { padding: 26px 27px 20px; }
.report-insights__head > span { color: #ff80bb; }
.report-insights__head h2 { margin-top: 7px; color: var(--white); font-size: 1.45rem; }
.report-insights__head p { margin-top: 5px; color: #ffffffb8; font-size: .86rem; }
.report-insights__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid #ffffff1c; }
.report-insight { display: flex; min-width: 0; min-height: 150px; flex-direction: column; padding: 20px; border-right: 1px solid #ffffff1c; }
.report-insight:last-child { border-right: 0; }
.report-insight > span { color: #ffffff9e; font: 750 .66rem/1.2 var(--heading); letter-spacing: .04em; text-transform: uppercase; }
.report-insight strong { margin-top: auto; overflow: hidden; color: var(--white); font: 850 1.12rem/1.2 var(--heading); text-overflow: ellipsis; }
.report-insight p { margin-top: 6px; color: #ffffffad; font-size: .72rem; line-height: 1.35; }
.report-insight--warning strong { color: #ffd4a6; }
.report-print-masthead, .report-print-footer { display: none; }
.report-detail-nav { position: sticky; top: 76px; z-index: 20; display: flex; flex-wrap: wrap; gap: 7px; padding: 9px; border: 1px solid #3f1a4025; border-radius: 15px; background: #fffdfedb; box-shadow: 0 8px 24px #210b270d; backdrop-filter: blur(14px); }
.report-detail-nav a { padding: 8px 12px; border-radius: 9px; color: var(--berry); font: 750 .78rem/1 var(--heading); }
.report-detail-nav a:hover { background: var(--mist); color: var(--plum); }
.report-print-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: hidden; border: 1px solid #3f1a4025; border-radius: 20px; background: var(--white); }
.report-print-summary article { display: grid; gap: 8px; padding: 20px; border-right: 1px solid #3f1a4018; }
.report-print-summary article:last-child { border-right: 0; }
.report-print-summary span { color: var(--berry); font-size: .72rem; }
.report-print-summary strong { color: var(--ink); font: 900 1.65rem/1 var(--heading); }
.report-detail-section { scroll-margin-top: 145px; overflow: hidden; border: 1px solid #3f1a4025; border-radius: 24px; background: var(--white); box-shadow: 0 12px 32px #210b270a; }
.report-detail-section__head { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 27px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(120deg, #fff 0%, #fff7fb 100%); }
.report-detail-section__head h2 { margin-top: 6px; color: var(--ink); font-size: 1.38rem; }
.report-detail-section__head p { margin-top: 5px; color: var(--berry); font-size: .87rem; }
.report-detail-section__head > strong { color: var(--berry); font: 750 .78rem/1.2 var(--heading); text-align: right; }
.report-detail-section .table-shell { border: 0; border-radius: 0; box-shadow: none; }
.report-table-identity { display: flex; min-width: 180px; align-items: center; gap: 10px; }
.report-table-identity i { width: 13px; height: 34px; flex: 0 0 13px; border-radius: 5px; background: var(--report-color, var(--pink)); }
.report-detail-section td > small { display: block; margin-top: 3px; color: var(--berry); font-size: .7rem; }
.report-operational-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 25px; }
.report-operational-grid article { display: grid; min-height: 150px; padding: 20px; border: 1px solid #3f1a401d; border-radius: 17px; background: #fffafd; }
.report-operational-grid span { color: var(--berry); font-size: .76rem; }
.report-operational-grid strong { margin-top: auto; color: var(--ink); font: 900 2rem/1 var(--heading); }
.report-operational-grid p { margin-top: 8px; color: var(--berry); font-size: .78rem; line-height: 1.4; }
.report-void-reasons { margin: 0 25px 25px; overflow: hidden; border: 1px solid #3f1a401d; border-radius: 17px; }
.report-void-reasons h3 { padding: 16px 18px; border-bottom: 1px solid #3f1a4018; background: var(--mist); color: var(--ink); font-size: .95rem; }
.report-void-reasons > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 18px; border-bottom: 1px solid #3f1a4012; }
.report-void-reasons > div:last-child { border-bottom: 0; }
.report-void-reasons span { color: var(--berry); font-size: .8rem; }
.report-void-reasons strong { color: var(--ink); font: 800 .85rem/1 var(--heading); }

@media (max-width: 1400px) {
    .report-filter-form { grid-template-columns: minmax(0, 1fr) auto; }
    .report-period-picker { grid-column: 1 / -1; }
    .report-filter-form > .mc-button { justify-self: end; }
    .report-filter-form__dates { grid-column: 1 / -1; }
}

@media (max-width: 1250px) {
    .report-filter-form { grid-template-columns: minmax(0, 1fr) auto; }
    .report-period-picker { grid-column: 1 / -1; }
    .report-filter-form > .mc-button { justify-self: end; }
    .report-filter-form__dates { grid-column: 1 / -1; }
    .report-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-kpi { min-height: 195px; }
    .report-insights__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .report-insight { border-bottom: 1px solid #ffffff1c; }
    .report-insight:nth-child(3) { border-right: 0; }
    .report-insight:nth-last-child(-n + 2) { border-bottom: 0; }
    .report-print-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .report-print-summary article:nth-child(3) { border-right: 0; }
    .report-print-summary article:nth-child(-n + 3) { border-bottom: 1px solid #3f1a4018; }
}

@media (max-width: 980px) {
    .report-page__top { align-items: flex-start; flex-direction: column; }
    .report-page__hero { min-height: 0; align-items: stretch; }
    .report-page__actions { width: 100%; justify-content: flex-start; }
    .report-overview-grid, .report-breakdown-grid, .report-pattern-grid { grid-template-columns: 1fr; }
    .report-card--timeline, .report-card--portfolio { min-height: 0; }
    .report-donut-wrap { grid-template-columns: minmax(180px, .6fr) minmax(0, 1fr); }
    .report-donut { width: min(100%, 210px); }
    .report-secondary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-secondary-metrics article:nth-child(2) { border-right: 0; }
    .report-secondary-metrics article:nth-child(-n + 2) { border-bottom: 1px solid #3f1a4018; }
    .report-financial-metrics article, .report-financial-metrics article:nth-child(2), .report-financial-metrics article:nth-child(-n + 2) { border: 1px solid #3f1a4026; }
    .report-financial-metrics article:nth-child(3) { border-color: var(--plum); }
    .report-operational-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .report-page { gap: 19px; }
    .report-page__hero { padding: 27px 21px; }
    .report-page__hero h1 { font-size: clamp(2.35rem, 13vw, 3.25rem); }
    .report-section { gap: 13px; }
    .report-section__head { align-items: flex-start; flex-direction: column; gap: 9px; }
    .report-section__head p { font-size: .84rem; }
    .report-page__actions { display: grid; grid-template-columns: 1fr; }
    .report-page__actions .mc-button { width: 100%; }
    .report-filter-card__head { align-items: flex-start; padding: 19px; }
    .report-filter-card__head h2 { font-size: 1.08rem; }
    .report-filter-form { grid-template-columns: 1fr; gap: 17px; padding: 19px; }
    .report-period-picker > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-period-picker label:last-child { grid-column: 1 / -1; }
    .report-filter-form__selects, .report-filter-form__dates { grid-column: auto; grid-template-columns: 1fr; }
    .report-filter-form > .mc-button { width: 100%; justify-self: stretch; }
    .report-filter-summary { align-items: flex-start; padding: 13px 19px; }
    .report-filter-summary > small { width: 100%; margin-left: 0; }
    .report-kpi-grid { grid-template-columns: 1fr; }
    .report-kpi { min-height: 190px; }
    .report-secondary-metrics { grid-template-columns: 1fr; }
    .report-secondary-metrics article { padding: 16px; }
    .report-secondary-metrics article, .report-secondary-metrics article:nth-child(2) { border-right: 0; border-bottom: 1px solid #3f1a4018; }
    .report-secondary-metrics article:last-child { border-bottom: 0; }
    .report-metric-value strong { font-size: 1.45rem; }
    .report-financial-metrics { gap: 12px; }
    .report-financial-metrics article, .report-financial-metrics article:nth-child(2), .report-financial-metrics article:nth-child(-n + 2), .report-financial-metrics article:last-child { min-height: 132px; border: 1px solid #3f1a4026; }
    .report-financial-metrics article:nth-child(3) { border-color: var(--plum); }
    .report-card__head { min-height: 0; padding: 21px; }
    .report-card__head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .report-card__head h2 { font-size: 1.22rem; }
    .report-chart-legend { padding: 0; }
    .report-column-chart { height: 300px; padding-inline: 18px; }
    .report-donut-wrap { grid-template-columns: 1fr; }
    .report-donut { width: 175px; }
    .report-ranked-list, .report-weekday-chart, .report-hour-grid { padding: 21px; }
    .report-hour-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .report-insights__head { padding: 22px; }
    .report-insights__grid { grid-template-columns: 1fr; }
    .report-insight, .report-insight:nth-child(3), .report-insight:nth-last-child(-n + 2) { min-height: 125px; border-right: 0; border-bottom: 1px solid #ffffff1c; }
    .report-insight:last-child { border-bottom: 0; }
    .report-detail-nav { top: 67px; flex-wrap: nowrap; overflow-x: auto; }
    .report-detail-nav a { flex: 0 0 auto; }
    .report-print-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-print-summary article, .report-print-summary article:nth-child(3) { border-right: 1px solid #3f1a4018; border-bottom: 1px solid #3f1a4018; }
    .report-print-summary article:nth-child(even) { border-right: 0; }
    .report-print-summary article:nth-last-child(-n + 2) { border-bottom: 0; }
    .report-detail-section__head { align-items: flex-start; flex-direction: column; padding: 21px; }
    .report-detail-section__head > strong { text-align: left; }
    .report-operational-grid { padding: 20px; }
    .report-void-reasons { margin: 0 20px 20px; }
}

@media (max-width: 430px) {
    .report-hour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .report-donut-legend { grid-template-columns: 1fr; }
}

@media (max-width: 1250px) {
    .company-overview__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-overview__operations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .company-overview__operations article:nth-child(3) { border-right: 0; }
    .company-overview__operations article:nth-child(-n + 3) { border-bottom: 1px solid #3f1a4018; }
    .company-overview__breakdowns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-overview__breakdowns > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
    .company-overview__hero { min-height: 0; align-items: flex-start; flex-direction: column; }
    .company-overview__hero-actions { width: 100%; flex-wrap: wrap; }
    .company-overview__visual-grid, .company-overview__bottom-grid { grid-template-columns: 1fr; }
    .overview-card--activity { min-height: 0; }
    .overview-customer-health { grid-template-columns: minmax(170px, .55fr) minmax(0, 1fr); }
    .overview-customer-health .report-donut { width: min(100%, 180px); }
    .company-overview__channel-grid { grid-template-columns: 1fr; }
    .overview-management nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .overview-management nav > a:nth-child(odd) { border-right: 1px solid #3f1a4015; }
}

@media (max-width: 680px) {
    .company-overview { gap: 20px; }
    .company-overview__hero { gap: 23px; padding: 26px 23px; border-radius: 23px; }
    .company-overview__hero h1 { font-size: 2.45rem; }
    .company-overview__hero p { font-size: .98rem; }
    .company-overview__hero-actions { display: grid; grid-template-columns: 1fr; }
    .company-overview__hero-actions .mc-button { width: 100%; justify-content: center; }
    .company-overview__period { width: auto; justify-self: start; justify-content: flex-start; }
    .company-overview__kpis { grid-template-columns: 1fr; }
    .overview-kpi { min-height: 202px; padding: 22px; }
    .overview-kpi > strong { font-size: 2.65rem; }
    .company-overview__summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-overview__summary article { padding: 17px; border-bottom: 1px solid #3f1a4018; }
    .company-overview__summary article:nth-child(even) { border-right: 0; }
    .company-overview__summary article:nth-last-child(-n + 2) { border-bottom: 0; }
    .overview-card__head { min-height: 0; align-items: flex-start; flex-direction: column; gap: 10px; padding: 21px; }
    .overview-card__head h2 { font-size: 1.3rem; }
    .overview-activity-chart { height: 290px; grid-template-columns: repeat(var(--report-items, 1), minmax(5px, 1fr)); gap: 2px; padding-inline: 16px; overflow-x: hidden; }
    .overview-activity-chart .report-column-chart__item small { font-size: .55rem; }
    .overview-chart-empty { inset: 150px 18px 20px; }
    .overview-chart-empty p { padding-inline: 12px; }
    .overview-customer-health { grid-template-columns: 1fr; }
    .overview-customer-health .report-donut { width: 170px; }
    .company-overview__section-head { align-items: flex-start; flex-direction: column; }
    .company-overview__section-head h2 { font-size: 1.5rem; }
    .company-overview__operations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-overview__operations article, .company-overview__operations article:nth-child(3) { min-height: 126px; border-right: 1px solid #3f1a4018; border-bottom: 1px solid #3f1a4018; }
    .company-overview__operations article:nth-child(even) { border-right: 0; }
    .company-overview__operations article:nth-last-child(-n + 2) { border-bottom: 0; }
    .company-overview__breakdowns { grid-template-columns: 1fr; }
    .company-overview__breakdowns > :last-child:nth-child(odd) { grid-column: auto; }
    .overview-channel { padding: 22px; }
    .overview-channel > header { align-items: flex-start; }
    .overview-channel__metrics > div { padding: 14px 11px; }
    .overview-channel__metrics strong { font-size: 1.45rem; }
    .overview-channel__metrics span { font-size: .7rem; }
    .overview-recent__list article { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 14px 17px; }
    .overview-recent__mark { width: 40px; height: 40px; }
    .overview-recent__list time { grid-column: 3; grid-row: 1; }
    .overview-recent__list article > .team-status { width: fit-content; grid-column: 2; }
    .overview-recent__list article > a { grid-column: 3; grid-row: 2; }
    .overview-management nav { grid-template-columns: 1fr; }
    .overview-management nav > a:nth-child(odd) { border-right: 0; }
}

@media print {
    @page { size: A4 landscape; margin: 11mm; }
    html, body, body.dashboard-body { overflow: visible !important; background: var(--white) !important; color: #221025 !important; }
    .dashboard-layout { display: block !important; min-height: 0 !important; }
    .dashboard-sidebar, .dashboard-sidebar-backdrop, .dashboard-header, .report-page__actions, .report-filter-card, .report-detail-nav, .report-card__link, .dt-search, .dt-length, .dt-info, .dt-paging { display: none !important; }
    .dashboard-shell, .dashboard-main { width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .report-page { display: block; }
    .report-page > * { margin-bottom: 8mm; }
    .report-page__top { display: block !important; margin-bottom: 7mm; }
    .report-page__top h1 { font-size: 24pt; }
    .report-print-masthead { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 8mm; padding-bottom: 4mm; border-bottom: 2px solid #3f1a40; }
    .report-print-masthead > div { display: grid; gap: 2px; }
    .report-print-masthead > div:last-child { text-align: right; }
    .report-print-masthead span { color: #7a1b5c; font-size: 8pt; text-transform: uppercase; }
    .report-print-masthead strong { color: #1c0720; font: 800 12pt/1.2 var(--heading); }
    .report-kpi-grid { grid-template-columns: repeat(4, 1fr); gap: 3mm; }
    .report-kpi { min-height: 43mm; padding: 5mm; border-width: 1px; box-shadow: none; break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .report-kpi > strong { font-size: 24pt; }
    .report-secondary-metrics { grid-template-columns: repeat(4, 1fr); box-shadow: none; break-inside: avoid; }
    .report-print-summary { grid-template-columns: repeat(6, 1fr); box-shadow: none; break-inside: avoid; }
    .report-secondary-metrics article, .report-print-summary article { padding: 4mm; border-right: 1px solid #3f1a4025 !important; border-bottom: 0 !important; }
    .report-overview-grid, .report-breakdown-grid, .report-pattern-grid { grid-template-columns: repeat(2, 1fr); gap: 5mm; }
    .report-card, .report-insights, .report-detail-section { border: 1px solid #3f1a4033; box-shadow: none; break-inside: avoid; }
    .report-card--timeline { min-height: 95mm; }
    .report-column-chart { height: 70mm; }
    .report-insights { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .report-detail-section { margin-bottom: 7mm; overflow: visible; break-inside: auto; }
    .report-detail-section__head { padding: 4mm 5mm; break-after: avoid; }
    .report-detail-section .dt-container, .report-detail-section .dt-layout-table, .report-detail-section .dt-layout-cell { overflow: visible !important; }
    .report-detail-section .dt-layout-row:not(.dt-layout-table) { display: none !important; }
    .report-detail-section table { width: 100% !important; font-size: 8pt; }
    .report-detail-section table th, .report-detail-section table td { display: table-cell !important; padding: 2.5mm 3mm !important; }
    .report-detail-section table th { background: #fff1f7 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .report-detail-section table tr { break-inside: avoid; }
    .report-operational-grid { grid-template-columns: repeat(3, 1fr); padding: 4mm; }
    .report-operational-grid article { min-height: 32mm; }
    .report-print-footer { display: flex; justify-content: space-between; gap: 10mm; margin: 8mm 0 0; padding-top: 3mm; border-top: 1px solid #3f1a4038; color: #7a1b5c; font-size: 8pt; }
    a { text-decoration: none !important; }
}

/* One-time developer credentials */
.developer-secret-notice { position: relative; display: grid; min-width: 0; margin-top: 34px; overflow: hidden; border: 2px solid #ff3d9730; border-radius: 24px; background: var(--white); box-shadow: 0 18px 42px #4016400d; }
.developer-secret-notice::after { position: absolute; width: 170px; height: 170px; right: -105px; top: -110px; border: 32px solid #ff3d9710; border-radius: 50%; content: ""; pointer-events: none; }
.developer-secret-notice__message { position: relative; z-index: 1; display: grid; min-width: 0; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 24px 27px; border-bottom: 1px solid #ff3d9720; background: linear-gradient(110deg, #fff2f8 0%, #fffbfd 68%, #f6e9f2 100%); }
.developer-secret-notice__icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 17px; background: linear-gradient(145deg, var(--pink), #a92372); color: var(--white); box-shadow: 0 9px 22px #ff3d9733; }
.developer-secret-notice__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-secret-notice__message > div { display: grid; min-width: 0; gap: 5px; }
.developer-secret-notice__eyebrow { color: var(--pink); font: 800 .7rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.developer-secret-notice h2 { color: var(--ink); font-size: 1.38rem; line-height: 1.15; }
.developer-secret-notice__message p { max-width: 760px; color: var(--berry); font-size: .9rem; line-height: 1.5; }
.developer-secret-notice__badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #23885f20; border-radius: 999px; background: #eaf8f2; color: #18734c; font: 750 .68rem/1 var(--heading); white-space: nowrap; }
.developer-secret-notice__badge i { width: 7px; height: 7px; border-radius: 50%; background: #28a775; box-shadow: 0 0 0 4px #28a77516; }
.developer-secret-notice__secret { display: grid; min-width: 0; gap: 9px; padding: 21px 27px 24px; }
.developer-secret-notice__secret > label { color: var(--plum); font: 750 .76rem/1 var(--heading); }
.developer-secret-notice__secret > div { display: flex; min-width: 0; overflow: hidden; border: 1px solid #210725; border-radius: 14px; background: #210725; box-shadow: 0 8px 20px #21072514; }
.developer-secret-notice__secret input { min-width: 0; flex: 1 1 auto; padding: 14px 16px; border: 0; outline: 0; background: transparent; color: #fff4fa; font: 600 .82rem/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; }
.developer-secret-notice__secret input::selection { background: #ff3d9770; }
.developer-secret-notice__secret button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; margin: 6px; padding: 0 15px; border: 0; border-radius: 10px; background: var(--pink); color: var(--white); cursor: pointer; font: 750 .72rem/1 var(--heading); transition: transform .15s ease, background-color .15s ease; }
.developer-secret-notice__secret button:hover { background: #e72881; transform: translateY(-1px); }
.developer-secret-notice__secret button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-secret-notice__secret > small { display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.developer-secret-notice__secret > small span { color: var(--pink); font-size: .55rem; line-height: 1.7; }

.developer-rotation-dialog.developer-rotation-dialog { width: min(100% - 32px, 570px); padding: 0; overflow: hidden; border: 1px solid #3f1a4030; border-radius: 24px; background: var(--white); box-shadow: 0 28px 75px #16051955; }
.developer-rotation-dialog .mc-modal__header { position: relative; padding: 22px 24px 18px; border-bottom: 1px solid #3f1a4018; background: linear-gradient(115deg, #fff 0%, #fff2f8 100%); }
.developer-rotation-dialog .mc-modal__header::after { position: absolute; width: 90px; height: 90px; right: -45px; top: -58px; border: 18px solid #ff3d9710; border-radius: 50%; content: ""; pointer-events: none; }
.developer-rotation-dialog .mc-modal__header h2 { position: relative; z-index: 1; color: var(--ink); font-size: 1.35rem; }
.developer-rotation-dialog .mc-modal__header button { position: relative; z-index: 1; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid #3f1a4025; border-radius: 11px; background: var(--white); color: var(--plum); cursor: pointer; font-size: 1.4rem; line-height: 1; }
.developer-rotation-dialog .mc-modal__header button:hover { border-color: var(--pink); color: var(--pink); }
.developer-rotation-dialog > form { padding: 24px; }
.developer-rotation-dialog__intro { display: grid; grid-template-columns: 50px minmax(0, 1fr); align-items: center; gap: 15px; }
.developer-rotation-dialog__intro > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: linear-gradient(145deg, var(--pink), #a92372); color: var(--white); box-shadow: 0 8px 20px #ff3d9728; }
.developer-rotation-dialog__intro > span svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-rotation-dialog__intro > div { display: grid; min-width: 0; gap: 5px; }
.developer-rotation-dialog__intro strong { color: var(--ink); font: 750 .94rem/1.3 var(--heading); }
.developer-rotation-dialog__intro p { color: var(--berry); font-size: .8rem; line-height: 1.45; }
.developer-rotation-dialog__impact { display: grid; margin: 21px 0 0; padding: 0; overflow: hidden; border: 1px solid #3f1a4018; border-radius: 15px; background: #fffafd; list-style: none; }
.developer-rotation-dialog__impact li { display: grid; grid-template-columns: 27px minmax(0, 1fr); align-items: center; gap: 11px; padding: 11px 13px; border-bottom: 1px solid #3f1a4012; }
.developer-rotation-dialog__impact li:last-child { border-bottom: 0; }
.developer-rotation-dialog__impact i { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; background: var(--mist); color: var(--pink); font: 800 .64rem/1 var(--heading); font-style: normal; }
.developer-rotation-dialog__impact span { color: var(--plum); font-size: .78rem; line-height: 1.4; }
.developer-rotation-dialog .mc-modal__actions { margin: 24px -24px -24px; padding: 18px 24px 21px; border-top: 1px solid #3f1a4017; background: #fffdfef2; }

/* Shared company-form action bar: keep the final declaration after page-specific form styles. */
.developer-key-editor__identity-fields { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr); gap: 18px; margin-top: 24px; }
.developer-key-editor__identity .developer-key-editor__identity-fields .form-field { max-width: none; margin: 0 !important; }
.developer-key-editor__identity-fields .field-help { display: block; margin-top: 7px; color: var(--berry); font-size: .76rem; line-height: 1.45; }
.developer-key-editor__identifier { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 15px 17px; border: 1px solid #3f1a401c; border-radius: 15px; background: #fff7fb; }
.developer-key-editor__identifier > div { display: grid; gap: 3px; }
.developer-key-editor__identifier strong { color: var(--ink); font: 750 .88rem/1.25 var(--heading); }
.developer-key-editor__identifier small { color: var(--berry); font-size: .74rem; }
.developer-key-editor__identifier code { flex: 0 0 auto; padding: 8px 11px; border-radius: 10px; background: var(--white); color: var(--plum); }
.developer-key-editor .permission-option > span { display: grid; gap: 3px; }
.developer-key-editor .permission-option > span strong { color: var(--plum); font: 700 .78rem/1.35 var(--heading); }
.developer-key-editor .permission-option > span small { color: var(--berry); font: 500 .68rem/1.3 var(--body); }
.developer-key-editor .permission-group-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dashboard-form-actions.dashboard-form-actions { position: sticky; bottom: 12px; z-index: 25; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; padding: 13px 14px 13px 20px; border: 1px solid #3f1a4030; border-radius: 19px; background: #fffdfef0; box-shadow: 0 15px 38px #210b2721; backdrop-filter: blur(18px); }
.dashboard-form-actions.dashboard-form-actions > p { margin: 0; color: var(--muted); font-size: .92rem; }
.dashboard-form-actions.dashboard-form-actions > div { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 10px; }

@media (max-width: 720px) {
    .developer-secret-notice { margin-top: 26px; border-radius: 20px; }
    .developer-secret-notice__message { grid-template-columns: 47px minmax(0, 1fr); gap: 13px; padding: 20px; }
    .developer-secret-notice__icon { width: 47px; height: 47px; border-radius: 14px; }
    .developer-secret-notice__icon svg { width: 23px; height: 23px; }
    .developer-secret-notice__badge { width: fit-content; grid-column: 2; }
    .developer-secret-notice h2 { font-size: 1.17rem; }
    .developer-secret-notice__message p { font-size: .82rem; }
    .developer-secret-notice__secret { padding: 18px 20px 21px; }
    .developer-secret-notice__secret > div { align-items: stretch; flex-direction: column; padding: 6px; }
    .developer-secret-notice__secret input { width: 100%; padding: 12px 10px; font-size: .74rem; }
    .developer-secret-notice__secret button { min-height: 42px; margin: 0; }
    .developer-rotation-dialog .mc-modal__header { padding: 19px 20px 16px; }
    .developer-rotation-dialog .mc-modal__header h2 { font-size: 1.17rem; }
    .developer-rotation-dialog > form { padding: 20px; }
    .developer-rotation-dialog__intro { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
    .developer-rotation-dialog__intro > span { width: 44px; height: 44px; border-radius: 13px; }
    .developer-rotation-dialog .mc-modal__actions { align-items: stretch; flex-direction: column-reverse; margin: 21px -20px -20px; padding: 17px 20px 20px; }
    .developer-rotation-dialog .mc-modal__actions .mc-button { width: 100%; }
    .developer-key-editor__identity-fields { grid-template-columns: 1fr; }
    .developer-key-editor__identifier { align-items: flex-start; flex-direction: column; }
    .developer-key-editor .permission-group-card:last-child:nth-child(odd) { grid-column: auto; }
    .dashboard-form-actions.dashboard-form-actions { position: static; align-items: stretch; flex-direction: column; padding: 14px; }
    .dashboard-form-actions.dashboard-form-actions > div { width: 100%; align-items: stretch; flex-direction: column-reverse; }
    .dashboard-form-actions.dashboard-form-actions > div .mc-button { width: 100%; text-align: center; }
}

.developer-webhook-editor__connection-fields { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 18px; margin-top: 24px; }
.developer-webhook-editor__connection .developer-webhook-editor__connection-fields .form-field { max-width: none; margin: 0 !important; }
.developer-webhook-editor__connection-fields .field-help { display: block; margin-top: 7px; color: var(--berry); font-size: .76rem; line-height: 1.45; }
.developer-webhook-editor__status { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding: 15px 17px; border: 1px solid #3f1a401c; border-radius: 15px; background: #fff7fb; cursor: pointer; }
.developer-webhook-editor__status input { width: 22px; height: 22px; flex: 0 0 22px; }
.developer-webhook-editor__status span { display: grid; gap: 3px; }
.developer-webhook-editor__status strong { color: var(--ink); font: 750 .88rem/1.25 var(--heading); }
.developer-webhook-editor__status small { color: var(--berry); font-size: .74rem; }
.developer-webhook-editor .permission-option > span { display: grid; gap: 3px; }
.developer-webhook-editor .permission-option > span strong { color: var(--plum); font: 700 .78rem/1.35 var(--heading); text-transform: capitalize; }
.developer-webhook-editor .permission-option > span small { color: var(--berry); font: 500 .68rem/1.3 var(--body); }

.developer-webhook-detail { display: grid; min-width: 0; gap: 22px; }
.developer-webhook-detail > * { min-width: 0; }
.developer-webhook-detail__hero { display: grid; gap: 22px; padding: 26px; overflow: hidden; }
.developer-webhook-detail__hero-head { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.developer-webhook-detail__mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--mist); color: var(--plum); }
.developer-webhook-detail__mark svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.developer-webhook-detail__hero-head > div:nth-child(2) { min-width: 0; }
.developer-webhook-detail__hero-head > div:nth-child(2) > span, .developer-webhook-detail__actions > div:first-child > span, .developer-webhook-detail__events header span { color: var(--pink); font: 750 .7rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.developer-webhook-detail__hero-head h2 { margin-top: 4px; overflow-wrap: anywhere; color: var(--ink); font-size: 1.5rem; }
.developer-webhook-detail__endpoint { display: grid; min-width: 0; gap: 8px; padding: 17px 19px; border: 1px solid #3f1a401b; border-radius: 16px; background: #fff7fb; }
.developer-webhook-detail__endpoint span { color: var(--berry); font-size: .75rem; font-weight: 700; }
.developer-webhook-detail__endpoint code { display: block; min-width: 0; overflow-wrap: anywhere; color: var(--plum); font-size: .88rem; line-height: 1.55; white-space: normal; }
.developer-webhook-detail__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; overflow: hidden; border: 1px solid #3f1a4018; border-radius: 16px; }
.developer-webhook-detail__meta > div { min-width: 0; padding: 15px 17px; border-right: 1px solid #3f1a4018; }
.developer-webhook-detail__meta > div:last-child { border-right: 0; }
.developer-webhook-detail__meta dt { color: var(--berry); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.developer-webhook-detail__meta dd { margin: 5px 0 0; overflow-wrap: anywhere; color: var(--ink); font: 700 .84rem/1.35 var(--heading); }
.developer-webhook-detail__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.developer-webhook-detail__stats article { display: grid; min-width: 0; gap: 4px; padding: 20px; border: 1px solid #3f1a401d; border-radius: 19px; background: var(--white); }
.developer-webhook-detail__stats article span { color: var(--berry); font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.developer-webhook-detail__stats article strong { color: var(--plum); font: 800 2rem/1 var(--heading); }
.developer-webhook-detail__stats article small { color: var(--muted); font-size: .73rem; }
.developer-webhook-detail__stats article.is-success { border-color: #18865b35; background: #f3fcf8; }
.developer-webhook-detail__stats article.is-success strong { color: #18734c; }
.developer-webhook-detail__stats article.is-danger { border-color: #c3286330; background: #fff5f8; }
.developer-webhook-detail__stats article.is-danger strong { color: #a52052; }
.developer-webhook-detail__actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; }
.developer-webhook-detail__actions > div:first-child { min-width: 0; }
.developer-webhook-detail__actions h2, .developer-webhook-detail__events h2 { margin-top: 5px; color: var(--ink); font-size: 1.25rem; }
.developer-webhook-detail__actions p, .developer-webhook-detail__events p { margin-top: 5px; color: var(--berry); font-size: .82rem; }
.developer-webhook-detail__actions > div:last-child { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.developer-webhook-detail__actions form { margin: 0; }
.developer-webhook-detail__events { display: grid; gap: 18px; padding: 24px 26px; }
.developer-webhook-detail__events > div { display: flex; min-width: 0; flex-wrap: wrap; gap: 9px; }
.developer-webhook-detail__events code { max-width: 100%; padding: 9px 12px; overflow-wrap: anywhere; border: 1px solid #3f1a4018; border-radius: 999px; background: #fff7fb; color: var(--plum); font-size: .75rem; white-space: normal; }
.developer-webhook-detail__deliveries { min-width: 0; overflow: visible; }

@media (max-width: 980px) {
    .developer-webhook-editor__connection-fields { grid-template-columns: 1fr; }
    .developer-webhook-detail__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .developer-webhook-detail__actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    .developer-webhook-detail { gap: 17px; }
    .developer-webhook-detail__hero { padding: 20px; }
    .developer-webhook-detail__hero-head { grid-template-columns: 42px minmax(0, 1fr); }
    .developer-webhook-detail__hero-head > .mc-badge { width: fit-content; grid-column: 2; }
    .developer-webhook-detail__mark { width: 42px; height: 42px; }
    .developer-webhook-detail__meta, .developer-webhook-detail__stats { grid-template-columns: 1fr; }
    .developer-webhook-detail__meta > div { border-right: 0; border-bottom: 1px solid #3f1a4018; }
    .developer-webhook-detail__meta > div:last-child { border-bottom: 0; }
    .developer-webhook-detail__actions, .developer-webhook-detail__events { padding: 20px; }
    .developer-webhook-detail__actions > div:last-child { width: 100%; align-items: stretch; flex-direction: column; }
    .developer-webhook-detail__actions form, .developer-webhook-detail__actions .mc-button { width: 100%; }
}

/* Marketing home */
.marketing-body { overflow-x: clip; background: #fff8fc; text-rendering: optimizeLegibility; }
.marketing-body .site-nav { position: fixed; right: 0; left: 0; transition: padding .3s cubic-bezier(.2, .8, .2, 1); will-change: padding; }
.marketing-body .site-nav__bar { box-shadow: 0 5px 0 var(--plum), 0 16px 34px #2a0e2e12; backdrop-filter: blur(0) saturate(1); -webkit-backdrop-filter: blur(0) saturate(1); transition: padding .3s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.marketing-body .site-nav.is-scrolled { padding: 8px 0; }
.marketing-body .site-nav.is-scrolled .site-nav__bar { padding-block: 7px; border-color: #3f1a40d9; background: #fffafdde; box-shadow: 0 2px 0 var(--plum), 0 14px 42px #2a0e2e1d; backdrop-filter: blur(22px) saturate(1.45); -webkit-backdrop-filter: blur(22px) saturate(1.45); }
.marketing-body .site-nav.is-scrolled .brand__mark { transform: scale(.9); }
.marketing-body .site-nav .brand__mark { transition: transform .25s ease; }
.marketing-body .site-nav.is-scrolled .mc-button--sm { min-height: 38px; }
.marketing-body .site-nav .mc-button--sm { transition: min-height .25s ease, transform .18s ease, box-shadow .18s ease; }
.marketing-body .site-nav__links a { position: relative; }
.marketing-body .site-nav__links a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; border-radius: 99px; background: var(--pink); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.marketing-body .site-nav__links a:hover::after, .marketing-body .site-nav__links a:focus-visible::after { transform: scaleX(1); }
.marketing-body main { overflow: clip; }
.marketing-reveal { opacity: 0; filter: blur(4px); scale: .98; translate: 0 36px; transition: opacity .9s cubic-bezier(.22, .65, .3, 1), filter .9s ease, scale .9s cubic-bezier(.22, .65, .3, 1), translate .9s cubic-bezier(.22, .65, .3, 1), border-color .3s ease, box-shadow .3s ease; transition-delay: var(--marketing-reveal-delay, 0ms); }
.marketing-reveal.is-visible { opacity: 1; filter: none; scale: 1; translate: 0 0; }
.marketing-reveal.is-settled { transition-duration: .3s; transition-delay: 0ms; }
.marketing-back-to-top { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45; display: grid; width: 56px; height: 56px; padding: 0; place-items: center; border: 2px solid var(--plum); border-radius: 50%; background: var(--pink); box-shadow: 0 5px 0 var(--plum), 0 16px 34px #2a0e2e2b; color: white; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(18px) scale(.88); visibility: hidden; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s, box-shadow .2s ease; }
.marketing-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); visibility: visible; transition-delay: 0s; }
.marketing-back-to-top:hover { box-shadow: 0 8px 0 var(--plum), 0 20px 40px #2a0e2e34; transform: translateY(-3px) scale(1.03); }
.marketing-back-to-top:active { box-shadow: 0 3px 0 var(--plum); transform: translateY(2px) scale(.98); }
.marketing-back-to-top:focus-visible { outline: 4px solid #ff3d9745; outline-offset: 4px; }
.marketing-back-to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.marketing-section-heading { max-width: 760px; margin-bottom: 44px; }
.marketing-section-heading > span, .marketing-api__copy > .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--pink); font: 800 .76rem/1 var(--heading); letter-spacing: .11em; text-transform: uppercase; }
.marketing-section-heading > span::before { width: 24px; height: 3px; border-radius: 99px; background: currentColor; content: ""; }
.marketing-section-heading h2 { margin-top: 15px; color: var(--ink); font-size: clamp(2.35rem, 5vw, 4.25rem); letter-spacing: -.055em; }
.marketing-section-heading p { margin-top: 17px; color: var(--berry); font-size: 1.05rem; line-height: 1.65; }
.marketing-section-heading--center { margin-inline: auto; text-align: center; }
.marketing-section-heading--center > span { margin-inline: auto; }
.marketing-section-heading--light h2 { color: var(--white); }
.marketing-section-heading--light p { color: #efd3e6; }

.marketing-hero { position: relative; display: flex; min-height: 100vh; min-height: 100svh; padding: 110px 0 70px; align-items: center; background: radial-gradient(circle at 12% 18%, #ff80bb33 0 11%, transparent 28%), radial-gradient(circle at 86% 28%, #9b6bff21 0 15%, transparent 34%), linear-gradient(180deg, #fff8fc 0%, #ffeaf4 100%); }
.marketing-hero::before { position: absolute; top: 130px; left: -100px; width: 220px; height: 220px; border: 38px solid #ff3d9712; border-radius: 50%; content: ""; }
.marketing-hero__grid { display: grid; width: 100%; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); gap: clamp(40px, 6vw, 92px); align-items: center; }
.marketing-hero__copy { position: relative; z-index: 2; max-width: 690px; }
.marketing-hero__copy h1 { color: var(--ink); font-size: clamp(3.25rem, 5.2vw, 5.6rem); letter-spacing: -.068em; line-height: .98; }
.marketing-hero__copy .sticker { margin-top: 9px; padding-inline: .04em .08em; -webkit-text-stroke-width: 6px; filter: drop-shadow(5px 6px 0 var(--plum)); }
.marketing-hero__copy > p { max-width: 660px; margin-top: 30px; color: #6f315e; font-size: clamp(1.05rem, 1.35vw, 1.22rem); font-weight: 520; line-height: 1.7; }
.marketing-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.marketing-hero__visual { position: relative; min-height: 520px; }
.marketing-dashboard-preview { position: absolute; top: 26px; right: -42px; width: min(620px, 100%); overflow: hidden; border: 3px solid var(--plum); border-radius: 27px; background: var(--white); box-shadow: 13px 15px 0 var(--plum), 0 34px 80px #2a0e2e24; transform: rotate(1.5deg); }
.marketing-dashboard-preview > header { display: grid; min-height: 50px; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 9px 15px; border-bottom: 1px solid #3f1a4020; background: #fff7fb; }
.marketing-dashboard-preview > header strong { color: var(--ink); font: 750 .77rem var(--heading); }
.marketing-dashboard-preview > header small { color: var(--berry); font-size: .61rem; }
.marketing-window-dots { display: flex; gap: 5px; }
.marketing-window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff6caf; }
.marketing-window-dots i:nth-child(2) { background: #f8bb48; }
.marketing-window-dots i:nth-child(3) { background: #63c88c; }
.marketing-dashboard-preview__body { display: grid; min-height: 390px; grid-template-columns: 62px minmax(0, 1fr); }
.marketing-dashboard-preview__body > aside { display: grid; align-content: start; gap: 16px; padding: 24px 17px; background: var(--deep); }
.marketing-dashboard-preview__body > aside span { width: 27px; height: 27px; border-radius: 9px; background: #ffffff14; }
.marketing-dashboard-preview__body > aside span.is-active { background: var(--pink); box-shadow: 0 0 0 5px #ff3d9721; }
.marketing-dashboard-preview__canvas { min-width: 0; padding: 25px; background: #fffafd; }
.marketing-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.marketing-preview-heading > div { display: grid; gap: 3px; }
.marketing-preview-heading small { color: var(--pink); font-size: .59rem; font-weight: 750; text-transform: uppercase; }
.marketing-preview-heading strong { color: var(--ink); font: 800 1.05rem/1.2 var(--heading); }
.marketing-preview-heading > span { padding: 6px 9px; border: 1px solid #3f1a4024; border-radius: 8px; color: var(--berry); font-size: .57rem; font-weight: 700; }
.marketing-preview-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 18px; }
.marketing-preview-kpis article { position: relative; display: grid; gap: 3px; padding: 13px; border: 1px solid #3f1a4018; border-radius: 13px; background: var(--white); }
.marketing-preview-kpis small { color: var(--berry); font-size: .52rem; text-transform: uppercase; }
.marketing-preview-kpis strong { color: var(--ink); font: 750 .76rem var(--heading); }
.marketing-preview-kpis article > i { position: absolute; top: 10px; right: 10px; font-size: .75rem; font-style: normal; }
.marketing-preview-kpis .is-up { color: #16855a; }
.marketing-preview-kpis .is-down { color: #bd3157; }
.marketing-preview-chart { margin-top: 13px; padding: 16px; border: 1px solid #3f1a4018; border-radius: 15px; background: var(--white); }
.marketing-preview-chart header { display: flex; justify-content: space-between; color: var(--ink); font: 700 .66rem var(--heading); }
.marketing-preview-chart header span { color: var(--berry); font: 600 .52rem var(--body); }
.marketing-preview-chart header i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--pink); }
.marketing-preview-chart > div { display: flex; height: 125px; align-items: end; gap: 8px; margin-top: 14px; padding: 0 4px; border-bottom: 1px solid #3f1a401c; }
.marketing-preview-chart > div i { height: 50%; flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--pink), #ff8abe); }
.marketing-preview-chart > div i:nth-child(1) { height: 32%; }.marketing-preview-chart > div i:nth-child(2) { height: 48%; }.marketing-preview-chart > div i:nth-child(3) { height: 41%; }.marketing-preview-chart > div i:nth-child(4) { height: 62%; }.marketing-preview-chart > div i:nth-child(5) { height: 54%; }.marketing-preview-chart > div i:nth-child(6) { height: 76%; }.marketing-preview-chart > div i:nth-child(7) { height: 68%; }.marketing-preview-chart > div i:nth-child(8) { height: 86%; }.marketing-preview-chart > div i:nth-child(9) { height: 72%; }.marketing-preview-chart > div i:nth-child(10) { height: 91%; }.marketing-preview-chart > div i:nth-child(11) { height: 78%; }.marketing-preview-chart > div i:nth-child(12) { height: 96%; }
.marketing-phone-preview { position: absolute; right: -8px; bottom: -12px; z-index: 3; width: 238px; min-height: 430px; overflow: hidden; padding: 14px 12px 12px; border: 3px solid var(--plum); border-radius: 35px; background: #fff8fc; box-shadow: 8px 10px 0 var(--pink), 0 25px 50px #2a0e2e31; transform: rotate(-4deg); }
.marketing-phone-preview__speaker { width: 62px; height: 6px; margin: 0 auto 14px; border-radius: 99px; background: var(--plum); }
.marketing-phone-preview > header { display: flex; justify-content: space-between; padding: 0 5px; color: var(--ink); font: 750 .67rem var(--heading); }
.marketing-phone-preview > header i { color: var(--berry); font-style: normal; letter-spacing: .08em; }
.marketing-phone-preview__wallet { margin-top: 13px; padding: 0 2px; }
.marketing-client-card { position: relative; display: flex; aspect-ratio: 1.58; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 12px; border: 1px solid #ffffff38; border-radius: 18px; background: #3f1a40; color: var(--white); box-shadow: 0 8px 18px #210b2735; isolation: isolate; }
.marketing-client-card__glow { position: absolute; top: -62%; right: -24%; z-index: -1; width: 178px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ff3d97 0 9%, #ff3d9785 28%, transparent 66%); }
.marketing-client-card > header, .marketing-client-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.marketing-client-card > header > div { display: flex; min-width: 0; align-items: center; gap: 7px; }
.marketing-client-card > header span { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border: 1px solid #ffffff4a; border-radius: 8px; background: #ffffff20; font: 900 .54rem/1 var(--heading); }
.marketing-client-card > header strong { overflow: hidden; font: 800 .61rem/1.1 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.marketing-client-card > header i { color: #f3d5e7; font-size: .48rem; font-style: normal; letter-spacing: .08em; }
.marketing-client-card__reward small, .marketing-client-card__reward strong { display: block; }
.marketing-client-card__reward small { margin-bottom: 2px; color: #ff9acb; font-size: .43rem; font-weight: 800; letter-spacing: .09em; }
.marketing-client-card__reward strong { max-width: 150px; font: 900 .84rem/1.08 var(--heading); letter-spacing: -.02em; }
.marketing-client-card > footer { color: #f5dce9; font-size: .49rem; font-weight: 800; }
.marketing-client-card > footer i { width: 46%; height: 5px; overflow: hidden; border-radius: 99px; background: #ffffff2b; }
.marketing-client-card > footer i::after { display: block; width: 70%; height: 100%; border-radius: inherit; background: var(--pink); content: ""; }
.marketing-phone-preview__scrim { position: absolute; inset: 86px 0 0; z-index: 3; background: linear-gradient(180deg, #2a0e2e08, #2a0e2e5e); backdrop-filter: blur(1px); }
.marketing-phone-preview__drawer { position: absolute; right: 0; bottom: 0; left: 0; z-index: 4; display: flex; min-height: 285px; padding: 11px 16px 14px; flex-direction: column; border-radius: 27px 27px 0 0; background: #fffafd; color: var(--ink); box-shadow: 0 -14px 30px #210b2738; text-align: center; }
.marketing-phone-preview__handle { display: block; width: 38px; height: 4px; margin: 0 auto 7px; border-radius: 99px; background: #3f1a4036; }
.marketing-phone-preview__close { position: absolute; top: 11px; right: 13px; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--plum); font: 700 .9rem/1 var(--body); }
.marketing-phone-preview__logo { display: grid; width: 43px; height: 43px; margin: 0 auto 4px; place-items: center; border: 2px solid var(--plum); border-radius: 13px; background: var(--pink); color: var(--white); box-shadow: 0 3px 0 var(--plum); font: 900 .68rem/1 var(--heading); }
.marketing-phone-preview__drawer > small { display: block; color: var(--berry); font-size: .48rem; font-weight: 750; }
.marketing-phone-preview__drawer h3 { margin-top: 2px; color: var(--ink); font: 850 .83rem/1.15 var(--heading); }
.marketing-phone-preview__drawer p { max-width: 190px; margin: 4px auto 0; color: var(--berry); font-size: .49rem; line-height: 1.35; }
.marketing-phone-preview__stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 9px; }
.marketing-phone-preview__stamps i { position: relative; display: grid; aspect-ratio: 1; place-items: center; border: 1.5px solid var(--pink); border-radius: 50%; background: var(--white); color: var(--pink); font-size: .48rem; font-style: normal; font-weight: 800; isolation: isolate; }
.marketing-phone-preview__stamps i.is-filled { color: white; }
.marketing-phone-preview__stamps i.is-filled::before { position: absolute; z-index: -1; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); content: ""; }
.marketing-phone-preview__button { display: grid; min-height: 31px; margin-top: auto; place-items: center; border: 1.5px solid var(--plum); border-radius: 10px; background: var(--pink); color: var(--white); box-shadow: 0 3px 0 var(--plum); font: 800 .55rem/1 var(--heading); }
.marketing-hero-note { position: absolute; bottom: 32px; left: 6px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border: 2px solid var(--plum); border-radius: 16px; background: var(--white); box-shadow: 5px 6px 0 var(--plum); transform: rotate(2deg); }
.marketing-hero-note > span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; background: #e9fbf4; color: #187754; font-weight: 900; }
.marketing-hero-note > div { display: grid; gap: 2px; }
.marketing-hero-note small { color: var(--berry); font-size: .56rem; font-weight: 750; text-transform: uppercase; }
.marketing-hero-note strong { color: var(--ink); font: 750 .72rem var(--heading); }
.marketing-scroll-cue { position: absolute; bottom: 18px; left: 50%; z-index: 6; display: grid; gap: 7px; justify-items: center; color: var(--plum); transform: translateX(-50%); }
.marketing-scroll-cue:hover, .marketing-scroll-cue:focus-visible { color: var(--pink); }
.marketing-scroll-cue:focus-visible { outline: 3px solid #ff3d9745; outline-offset: 7px; border-radius: 10px; }
.marketing-scroll-cue small { font: 750 .66rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.marketing-scroll-cue__mouse { position: relative; display: block; width: 25px; height: 39px; border: 2px solid currentColor; border-radius: 15px; }
.marketing-scroll-cue__mouse i { position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; border-radius: 99px; background: currentColor; transform: translateX(-50%); }

.marketing-ecosystem { padding: 82px 0 92px; background: var(--white); }
.marketing-ecosystem__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--plum); border-radius: 28px; background: #fffafd; box-shadow: 0 7px 0 var(--plum); }
.marketing-ecosystem__grid article { position: relative; min-width: 0; padding: 28px; border-right: 1px solid #3f1a4024; }
.marketing-ecosystem__grid article:last-child { border-right: 0; }
.marketing-ecosystem__grid article > span, .marketing-control__grid article > span { display: grid; width: 47px; height: 47px; place-items: center; border-radius: 14px; background: var(--mist); color: var(--plum); }
.marketing-ecosystem__grid svg, .marketing-control__grid svg, .marketing-feature__icon svg, .marketing-step-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.marketing-ecosystem__grid small, .marketing-feature > small, .marketing-feature > div > small, .marketing-app-card__copy > span { display: block; margin-top: 18px; color: var(--pink); font: 750 .68rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.marketing-ecosystem__grid h3 { margin-top: 8px; color: var(--ink); font-size: 1.22rem; }
.marketing-ecosystem__grid p { margin-top: 10px; color: var(--berry); font-size: .88rem; line-height: 1.55; }

.marketing-steps { background: linear-gradient(180deg, #fff3f9, #ffe8f3); }
.marketing-steps__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.marketing-steps__grid::before { position: absolute; top: 53px; right: 12%; left: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--pink) 0 10px, transparent 10px 18px); content: ""; }
.marketing-steps__grid article { position: relative; z-index: 1; padding: 23px; border: 2px solid var(--plum); border-radius: 22px; background: var(--white); box-shadow: 0 5px 0 var(--plum); }
.marketing-steps__grid article > span { position: absolute; top: 14px; right: 17px; color: #d7aec8; font: italic 900 1.25rem var(--display); }
.marketing-step-icon { display: grid; width: 58px; height: 58px; place-items: center; border: 2px solid var(--plum); border-radius: 17px; background: var(--pink); color: white; box-shadow: 0 4px 0 var(--plum); }
.marketing-steps__grid h3 { margin-top: 22px; color: var(--ink); font-size: 1.22rem; }
.marketing-steps__grid p { margin-top: 10px; color: var(--berry); font-size: .9rem; line-height: 1.55; }

.marketing-features { position: relative; background: radial-gradient(circle at 90% 10%, #9b6bff29, transparent 27%), radial-gradient(circle at 5% 76%, #ff3d971c, transparent 28%), var(--deep); }
.marketing-feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.marketing-feature { position: relative; display: flex; min-height: 280px; grid-column: span 3; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid #ffffff25; border-radius: 25px; background: #ffffff0c; color: #f7e9f2; }
.marketing-feature::after { position: absolute; right: -50px; bottom: -70px; width: 150px; height: 150px; border: 30px solid #ffffff0b; border-radius: 50%; content: ""; }
.marketing-feature--large { grid-column: span 6; grid-row: span 2; }
.marketing-feature--wide { min-height: 250px; grid-column: span 6; }
.marketing-feature--pink { border-color: var(--pink); background: linear-gradient(145deg, #ff3d97, #cc2775); color: white; }
.marketing-feature--violet { border-color: #ad8cff; background: linear-gradient(145deg, #6f3bd8, #9b6bff); color: white; }
.marketing-feature__icon { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border: 1px solid currentColor; border-radius: 15px; color: inherit; }
.marketing-feature h3 { margin-top: 9px; color: white; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.marketing-feature > p, .marketing-feature > div > p { margin-top: 13px; color: inherit; font-size: .94rem; line-height: 1.6; opacity: .82; }
.marketing-feature ul { display: grid; gap: 10px; margin: auto 0 0; padding: 28px 0 0; list-style: none; }
.marketing-feature li { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 650; }
.marketing-feature li::before { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; background: #ffffff24; content: "✓"; font-size: .7rem; }
.marketing-feature--wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .48fr); gap: 24px; align-items: end; }
.marketing-feature--wide > .marketing-feature__icon { position: absolute; top: 28px; right: 28px; }
.marketing-mini-bars { display: flex; height: 125px; align-items: end; gap: 9px; }
.marketing-mini-bars i { height: 50%; flex: 1; border-radius: 7px 7px 2px 2px; background: #ffffffd6; }
.marketing-mini-bars i:nth-child(1) { height: 46%; }.marketing-mini-bars i:nth-child(2) { height: 72%; }.marketing-mini-bars i:nth-child(3) { height: 54%; }.marketing-mini-bars i:nth-child(4) { height: 88%; }.marketing-mini-bars i:nth-child(5) { height: 67%; }.marketing-mini-bars i:nth-child(6) { height: 94%; }
.marketing-segment-cloud { display: flex; flex-wrap: wrap; gap: 8px; align-content: end; justify-content: flex-end; }
.marketing-segment-cloud span { padding: 8px 11px; border: 1px solid #ffffff38; border-radius: 999px; background: #ffffff10; font-size: .72rem; font-weight: 700; }

.marketing-analytics { padding-block: clamp(76px, 9vw, 122px); }
.marketing-analytics__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); gap: clamp(40px, 7vw, 92px); align-items: center; }
.marketing-check-list { display: grid; gap: 18px; margin: -10px 0 30px; }
.marketing-check-list > div { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.marketing-check-list > div > i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--pink); color: white; font-size: .72rem; font-style: normal; font-weight: 900; }
.marketing-check-list p { display: grid; gap: 3px; }
.marketing-check-list strong { color: var(--ink); font: 750 .98rem var(--heading); }
.marketing-check-list span { color: var(--berry); font-size: .88rem; line-height: 1.5; }
.marketing-analytics-preview { overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: #fffafd; box-shadow: 10px 12px 0 var(--plum), 0 30px 70px #2a0e2e1a; transform: rotate(1deg); }
.marketing-analytics-preview > header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 24px; border-bottom: 1px solid #3f1a401c; background: var(--white); }
.marketing-analytics-preview > header > div { display: grid; gap: 3px; }
.marketing-analytics-preview > header small, .marketing-analytics-preview__trend small, .marketing-analytics-preview__bottom article > small { color: var(--pink); font-size: .65rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.marketing-analytics-preview > header strong { color: var(--ink); font: 800 1.1rem var(--heading); }
.marketing-analytics-preview > header > span { padding: 7px 10px; border-radius: 999px; background: var(--mist); color: var(--berry); font-size: .61rem; font-weight: 700; }
.marketing-analytics-preview__trend { margin: 20px; padding: 22px; border: 1px solid #3f1a401b; border-radius: 19px; background: white; }
.marketing-analytics-preview__trend > div:first-child { display: grid; gap: 3px; }
.marketing-analytics-preview__trend strong, .marketing-analytics-preview__bottom strong { color: var(--ink); font: 750 .94rem var(--heading); }
.marketing-line-chart { height: 180px; margin-top: 18px; }
.marketing-line-chart svg { width: 100%; height: 100%; overflow: visible; }
.marketing-line-chart .area { fill: url(#marketingChartFill); }
.marketing-line-chart .line { fill: none; stroke: var(--pink); stroke-linecap: round; stroke-width: 5; }
.marketing-analytics-preview__bottom { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; padding: 0 20px 20px; }
.marketing-analytics-preview__bottom article { display: grid; min-height: 180px; align-content: start; gap: 5px; padding: 20px; border: 1px solid #3f1a401b; border-radius: 18px; background: white; }
.marketing-donut { position: relative; display: grid; width: 102px; height: 102px; margin: 15px auto 0; place-items: center; border-radius: 50%; background: conic-gradient(var(--pink) 0 44%, var(--violet) 44% 72%, #ffc068 72% 88%, #f3dce9 88%); }
.marketing-donut::before { width: 67px; height: 67px; border-radius: 50%; background: white; content: ""; }
.marketing-donut span { position: absolute; color: var(--berry); font-size: .57rem; font-weight: 700; }
.marketing-analytics-preview__bottom ul { display: grid; gap: 12px; margin: 15px 0 0; padding: 0; list-style: none; }
.marketing-analytics-preview__bottom li { display: flex; align-items: center; gap: 8px; color: var(--berry); font-size: .73rem; font-weight: 650; }
.marketing-analytics-preview__bottom li i { width: 9px; height: 9px; border-radius: 3px; background: var(--pink); }
.marketing-analytics-preview__bottom li i.is-green { background: #2bad75; }.marketing-analytics-preview__bottom li i.is-amber { background: #e7a63d; }

.marketing-apps { background: linear-gradient(180deg, #ffe9f4, #fff7fb); }
.marketing-apps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.marketing-app-card { display: grid; min-height: 520px; grid-template-columns: minmax(0, 1fr) 225px; gap: 26px; align-items: center; padding: clamp(26px, 4vw, 42px); overflow: hidden; border: 2px solid var(--plum); border-radius: 30px; background: var(--white); box-shadow: 0 7px 0 var(--plum); }
.marketing-app-card--company { background: var(--plum); color: white; box-shadow: 0 7px 0 var(--pink); }
.marketing-app-card__copy { position: relative; z-index: 2; }
.marketing-app-card__copy h3 { margin-top: 10px; color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.marketing-app-card--company .marketing-app-card__copy h3 { color: white; }
.marketing-app-card__copy p { margin-top: 15px; color: var(--berry); line-height: 1.6; }
.marketing-app-card--company .marketing-app-card__copy p { color: #eed5e5; }
.marketing-app-card__copy ul { display: grid; gap: 10px; margin: 25px 0 0; padding: 0; list-style: none; }
.marketing-app-card__copy li { display: flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 650; }
.marketing-app-card__copy li::before { color: var(--pink); content: "✓"; font-weight: 900; }
.marketing-app-phone, .marketing-scan-phone { position: relative; min-height: 420px; padding: 20px 14px; border: 3px solid var(--plum); border-radius: 36px; background: #fff8fc; box-shadow: 7px 9px 0 var(--pink); transform: rotate(3deg); }
.marketing-app-phone { overflow: hidden; }
.marketing-app-phone__speaker { display: block; width: 58px; height: 5px; margin: 0 auto 13px; border-radius: 99px; background: var(--plum); }
.marketing-app-phone > header, .marketing-scan-phone > header { display: flex; align-items: center; justify-content: space-between; color: var(--ink); font: 750 .66rem var(--heading); }
.marketing-scan-phone > header i { width: 23px; height: 23px; border-radius: 8px; background: var(--pink); }
.marketing-app-phone > header b, .marketing-scan-phone > header b { color: var(--pink); font-style: normal; letter-spacing: .08em; }
.marketing-app-wallet-card { position: relative; display: flex; aspect-ratio: 1.58; margin-top: 16px; padding: 11px; flex-direction: column; justify-content: space-between; overflow: hidden; border: 1px solid #ffffff38; border-radius: 17px; background: var(--plum); color: var(--white); box-shadow: 0 7px 16px #210b2738; isolation: isolate; }
.marketing-app-wallet-card__glow { position: absolute; top: -65%; right: -27%; z-index: -1; width: 155px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #ff3d97 0 9%, #ff3d9785 28%, transparent 67%); }
.marketing-app-wallet-card > header, .marketing-app-wallet-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.marketing-app-wallet-card > header > div { display: flex; min-width: 0; align-items: center; gap: 6px; }
.marketing-app-wallet-card > header span { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border: 1px solid #ffffff4a; border-radius: 8px; background: #ffffff20; font: 900 .49rem/1 var(--heading); }
.marketing-app-wallet-card > header strong { overflow: hidden; font: 800 .57rem/1 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.marketing-app-wallet-card > header i { color: #efd1e3; font-size: .42rem; font-style: normal; letter-spacing: .08em; }
.marketing-app-wallet-card > div:not(.marketing-app-wallet-card__glow) small, .marketing-app-wallet-card > div:not(.marketing-app-wallet-card__glow) strong { display: block; }
.marketing-app-wallet-card > div:not(.marketing-app-wallet-card__glow) small { color: #ff9acb; font-size: .38rem; font-weight: 800; letter-spacing: .09em; }
.marketing-app-wallet-card > div:not(.marketing-app-wallet-card__glow) strong { max-width: 135px; font: 900 .75rem/1.08 var(--heading); }
.marketing-app-wallet-card > footer { color: #f5dce9; font-size: .44rem; font-weight: 800; }
.marketing-app-wallet-card > footer i { width: 45%; height: 4px; overflow: hidden; border-radius: 99px; background: #ffffff2b; }
.marketing-app-wallet-card > footer i::after { display: block; width: 70%; height: 100%; border-radius: inherit; background: var(--pink); content: ""; }
.marketing-app-phone__scrim { position: absolute; inset: 118px 0 0; z-index: 3; background: linear-gradient(180deg, #2a0e2e08, #2a0e2e5e); backdrop-filter: blur(1px); }
.marketing-app-phone__drawer { position: absolute; right: 0; bottom: 0; left: 0; z-index: 4; display: flex; min-height: 272px; padding: 10px 14px 13px; flex-direction: column; border-radius: 26px 26px 0 0; background: #fffafd; color: var(--ink); box-shadow: 0 -13px 28px #210b2738; text-align: center; }
.marketing-app-phone__handle { display: block; width: 35px; height: 4px; margin: 0 auto 6px; border-radius: 99px; background: #3f1a4036; }
.marketing-app-phone__close { position: absolute; top: 10px; right: 11px; display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--mist); color: var(--plum); font: 700 .82rem/1 var(--body); }
.marketing-app-phone__logo { display: grid; width: 39px; height: 39px; margin: 0 auto 3px; place-items: center; border: 2px solid var(--plum); border-radius: 12px; background: var(--pink); color: white; box-shadow: 0 3px 0 var(--plum); font: 900 .61rem/1 var(--heading); }
.marketing-app-phone__drawer > small { color: var(--berry); font-size: .42rem; font-weight: 750; }
.marketing-app-phone__drawer h4 { margin-top: 2px; color: var(--ink); font: 850 .76rem/1.1 var(--heading); }
.marketing-app-phone__drawer p { margin: 3px auto 0; color: var(--berry); font-size: .43rem; line-height: 1.3; }
.marketing-app-phone__stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 8px; }
.marketing-app-phone__stamps i { position: relative; display: grid; aspect-ratio: 1; place-items: center; border: 1.5px solid var(--pink); border-radius: 50%; background: white; color: var(--pink); font-size: .42rem; font-style: normal; font-weight: 800; isolation: isolate; }
.marketing-app-phone__stamps i.is-filled { color: white; }
.marketing-app-phone__stamps i.is-filled::before { position: absolute; z-index: -1; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--pink); content: ""; }
.marketing-app-phone__button { display: grid; min-height: 29px; margin-top: auto; place-items: center; border: 1.5px solid var(--plum); border-radius: 9px; background: var(--pink); color: white; box-shadow: 0 3px 0 var(--plum); font: 800 .49rem/1 var(--heading); }
.marketing-scan-phone { border-color: white; background: #2f1233; box-shadow: 7px 9px 0 var(--pink); color: white; transform: rotate(-3deg); }
.marketing-scan-phone > header { color: white; }
.marketing-scan-frame { position: relative; display: grid; min-height: 285px; margin-top: 28px; place-items: center; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, #5a2851, #1e0921); }
.marketing-scan-frame::after { position: absolute; right: 20px; left: 20px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, transparent, #ff77b7 18% 82%, transparent); box-shadow: 0 0 16px #ff3d97; content: ""; opacity: .9; }
.marketing-scan-frame > i { position: absolute; width: 38px; height: 38px; border-color: var(--pink); border-style: solid; }
.marketing-scan-frame > i:nth-child(1) { top: 18px; left: 18px; border-width: 3px 0 0 3px; border-radius: 10px 0 0; }.marketing-scan-frame > i:nth-child(2) { top: 18px; right: 18px; border-width: 3px 3px 0 0; border-radius: 0 10px 0 0; }.marketing-scan-frame > i:nth-child(3) { bottom: 18px; left: 18px; border-width: 0 0 3px 3px; border-radius: 0 0 0 10px; }.marketing-scan-frame > i:nth-child(4) { right: 18px; bottom: 18px; border-width: 0 3px 3px 0; border-radius: 0 0 10px; }
.marketing-barcode { display: block; padding: 16px 12px; border-radius: 8px; background: white; color: var(--ink); font: 900 1.2rem/1 monospace; letter-spacing: .06em; white-space: nowrap; }
.marketing-scan-phone > small { display: block; margin-top: 15px; color: #efd6e6; font-size: .61rem; text-align: center; }

.marketing-api { position: relative; background: radial-gradient(circle at 18% 30%, #ff3d9728, transparent 30%), var(--deep); color: white; }
.marketing-api__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(500px, 1.15fr); gap: clamp(44px, 7vw, 92px); align-items: center; }
.marketing-api__copy h2 { margin-top: 20px; color: white; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.055em; }
.marketing-api__copy > p { margin-top: 20px; color: #efd3e5; font-size: 1.02rem; line-height: 1.65; }
.marketing-api__copy > ul { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.marketing-api__copy > ul li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; }
.marketing-api__copy > ul li > span { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #ffffff2b; border-radius: 13px; background: #ffffff0c; color: var(--pink); }
.marketing-api__copy svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.marketing-api__copy li > div { display: grid; gap: 4px; }
.marketing-api__copy li strong { font: 750 .97rem var(--heading); }
.marketing-api__copy li small { color: #dcbdd2; font-size: .82rem; line-height: 1.5; }
.marketing-code-window { overflow: hidden; border: 1px solid #ffffff31; border-radius: 25px; background: #130617; box-shadow: 12px 14px 0 #ff3d973d, 0 30px 80px #0000004f; transform: rotate(1deg); }
.marketing-code-window > header { display: grid; min-height: 55px; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 10px 16px; border-bottom: 1px solid #ffffff14; background: #210b26; }
.marketing-code-window > header > span { display: flex; gap: 6px; }.marketing-code-window > header > span i { width: 9px; height: 9px; border-radius: 50%; background: #ff668f; }.marketing-code-window > header > span i:nth-child(2) { background: #ffc45b; }.marketing-code-window > header > span i:nth-child(3) { background: #58cf8e; }
.marketing-code-window > header strong { font: 700 .82rem var(--heading); }.marketing-code-window > header small { color: #bd9cb3; font-size: .65rem; }
.marketing-code-window__terminal { position: relative; min-height: 330px; overflow: hidden; }
.marketing-code-window pre { min-height: 330px; margin: 0; padding: 32px; overflow-x: auto; color: #f5e7f0; font: 500 .88rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.marketing-code-window code { color: inherit; }.code-method { color: #6ce3a8; font-weight: 800; }.code-muted { color: #a58aa1; }.code-key { color: #ff7eb9; }.code-number { color: #c6a8ff; }.code-null { color: #d6a9ff; }.code-boolean { color: #76d8ff; }
.marketing-code-window__request { transition: opacity .42s ease, filter .42s ease, transform .5s cubic-bezier(.22, .65, .3, 1); }
.marketing-code-window__cursor { display: none; width: 2px; height: 1.15em; margin-left: 3px; vertical-align: -.18em; background: #ff6fae; box-shadow: 0 0 9px #ff3d97; }
.marketing-code-window.is-demo-ready .marketing-code-window__cursor { display: inline-block; animation: marketing-code-cursor .72s steps(1, end) infinite; }
.marketing-code-window.is-request-complete .marketing-code-window__cursor { display: none; }
.marketing-code-window.is-response-visible .marketing-code-window__request { opacity: .06; filter: blur(3px); transform: translateY(-14px) scale(.985); }
.marketing-code-window__response { position: absolute; inset: 0; display: flex; padding: 24px 28px 20px; flex-direction: column; background: linear-gradient(145deg, #18071d, #100414); opacity: 0; pointer-events: none; transform: translateY(24px) scale(.985); transition: opacity .48s ease, transform .58s cubic-bezier(.22, .72, .25, 1); }
.marketing-code-window.is-response-visible .marketing-code-window__response { opacity: 1; transform: translateY(0) scale(1); }
.marketing-code-window.is-resetting .marketing-code-window__response { opacity: 0; transform: translateY(-18px) scale(.99); }
.marketing-code-window__response > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid #ffffff16; }
.marketing-code-window__response > header > span { color: #b89db1; font: 700 .67rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; }
.marketing-code-window__response > header strong { display: flex; align-items: center; gap: 7px; color: #79e3ad; font: 750 .7rem/1 var(--heading); }
.marketing-code-window__response > header i { width: 8px; height: 8px; border-radius: 50%; background: #50ce8b; box-shadow: 0 0 0 5px #50ce8b17; }
.marketing-code-window__response-body { flex: 1; padding-top: 14px; overflow: hidden; color: #f5e7f0; font: 500 .72rem/1.48 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; }
.marketing-code-window__response footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 11px; border-top: 1px solid #ffffff14; }
.marketing-code-window__response footer span { color: #e9d7e4; font: 700 .69rem var(--heading); }
.marketing-code-window__response footer small { color: #9f8399; font-size: .62rem; }
.marketing-code-window__status { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; border-top: 1px solid #ffffff14; background: #1c0920; }
.marketing-code-window__status span { display: flex; align-items: center; gap: 7px; color: #79e3ad; font: 700 .72rem var(--heading); }.marketing-code-window__status span i { width: 8px; height: 8px; border-radius: 50%; background: #50ce8b; }.marketing-code-window__status small { color: #a98fa4; font-size: .64rem; }
.marketing-code-window__status-running, .marketing-code-window__status-submitting { display: none !important; }
.marketing-code-window.is-demo-ready:not(.is-request-complete) .marketing-code-window__status-running { display: flex !important; }
.marketing-code-window.is-request-complete:not(.is-response-visible) .marketing-code-window__status-submitting { display: flex !important; }
.marketing-code-window.is-demo-ready:not(.is-response-visible) .marketing-code-window__status-success { display: none !important; }
.marketing-code-window__status-running i { background: #f5be5b !important; }
.marketing-code-window__status-submitting i { background: #76d8ff !important; }

.marketing-control { padding-block: clamp(78px, 9vw, 116px); }
.marketing-control__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.marketing-control__grid article { padding: 25px; border: 1px solid #3f1a4022; border-radius: 22px; background: #fffafd; }
.marketing-control__grid article:nth-child(even) > span { background: var(--plum); color: white; }
.marketing-control__grid h3 { margin-top: 20px; color: var(--ink); font-size: 1.18rem; }
.marketing-control__grid p { margin-top: 10px; color: var(--berry); font-size: .88rem; line-height: 1.55; }

.marketing-pricing { position: relative; overflow: hidden; background: radial-gradient(circle at 8% 10%, #ff3d9718 0 9%, transparent 26%), radial-gradient(circle at 94% 34%, #9b6bff1c 0 11%, transparent 28%), linear-gradient(135deg, #ffe8f3, #fff9fc 48%, #f2edff); }
.marketing-pricing::before, .marketing-pricing::after { position: absolute; border: 34px solid #3f1a4009; border-radius: 50%; content: ""; pointer-events: none; }.marketing-pricing::before { top: 130px; left: -115px; width: 245px; height: 245px; }.marketing-pricing::after { right: -155px; bottom: 220px; width: 330px; height: 330px; }
.marketing-pricing > .container { position: relative; z-index: 1; }
.marketing-pricing__plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.marketing-pricing__card { position: relative; display: flex; min-width: 0; min-height: 590px; padding: 33px; flex-direction: column; overflow: hidden; border: 2px solid #3f1a4030; border-radius: 29px; background: #ffffffec; box-shadow: 0 8px 0 #3f1a4028, 0 22px 55px #2a0e2e10; backdrop-filter: blur(10px); }
.marketing-pricing__card::after { position: absolute; top: -75px; right: -70px; width: 175px; height: 175px; border: 28px solid #3f1a4009; border-radius: 50%; content: ""; }
.marketing-pricing__card > header { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marketing-pricing__card > header > span { color: var(--ink); font: 850 1.42rem/1 var(--heading); letter-spacing: -.03em; }
.marketing-pricing__price { display: flex; align-items: flex-end; gap: 9px; margin-top: 31px; }
.marketing-pricing__price strong { color: var(--ink); font: 850 clamp(3.5rem, 5vw, 4.8rem)/.88 var(--heading); letter-spacing: -.07em; }
.marketing-pricing__price sup { position: relative; top: -.95em; margin-right: 4px; font-size: .32em; letter-spacing: 0; }
.marketing-pricing__price > span { padding-bottom: 6px; color: var(--berry); font-size: .8rem; font-weight: 700; }
.marketing-pricing__card > p { min-height: 78px; margin-top: 23px; color: var(--berry); font-size: .92rem; line-height: 1.55; }
.marketing-pricing__card > ul { display: grid; gap: 13px; margin: 7px 0 31px; padding: 24px 0 0; border-top: 1px solid #3f1a401c; list-style: none; }
.marketing-pricing__card > ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: .85rem; font-weight: 650; line-height: 1.35; }
.marketing-pricing__card > ul li::before { display: grid; width: 21px; height: 21px; flex: 0 0 21px; margin-top: -1px; place-items: center; border-radius: 50%; background: #dff7eb; color: #11784e; content: "✓"; font-size: .68rem; font-weight: 900; }
.marketing-pricing__card > .mc-button { width: 100%; margin-top: auto; padding-inline: 18px; }
.marketing-pricing__card--growth { border-color: var(--pink); background: linear-gradient(155deg, #fff 0%, #fff6fb 100%); box-shadow: 0 9px 0 var(--pink), 0 28px 65px #ff3d971b; }
.marketing-pricing__card--growth::before { position: absolute; inset: 0 0 auto; height: 7px; background: var(--pink); content: ""; }
.marketing-pricing__recommended { position: absolute; top: 0; left: 50%; z-index: 2; padding: 7px 14px 8px; border-radius: 0 0 12px 12px; background: var(--pink); color: var(--white); font: 800 .63rem/1 var(--heading); letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); }
.marketing-pricing__card--growth > header { margin-top: 22px; }
.marketing-pricing__card--scale { border-color: var(--plum); background: radial-gradient(circle at 92% 6%, #ff3d9738 0 6%, transparent 26%), linear-gradient(150deg, var(--deep), #4d164b); box-shadow: 0 9px 0 var(--pink), 0 28px 65px #2a0e2e2a; }
.marketing-pricing__card--scale::after { border-color: #ffffff0b; }
.marketing-pricing__card--scale > header > span, .marketing-pricing__card--scale .marketing-pricing__price strong, .marketing-pricing__card--scale > ul li { color: var(--white); }
.marketing-pricing__card--scale .marketing-pricing__price > span, .marketing-pricing__card--scale > p { color: #e2bfd5; }
.marketing-pricing__card--scale > ul { border-top-color: #ffffff1c; }
.marketing-pricing__card--scale > ul li::before { background: #ffffff17; color: #77e1ad; }
.marketing-pricing__comparison { margin-top: 70px; overflow: hidden; border: 2px solid var(--plum); border-radius: 30px; background: #ffffffed; box-shadow: 0 8px 0 var(--plum), 0 28px 65px #2a0e2e12; backdrop-filter: blur(12px); }
.marketing-pricing__comparison > header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 30px 32px; border-bottom: 1px solid #3f1a401e; background: linear-gradient(110deg, #fff, #fff1f8); }
.marketing-pricing__comparison > header > div > span { color: var(--pink); font: 800 .68rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.marketing-pricing__comparison h3 { margin-top: 8px; color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.marketing-pricing__comparison > header > small { display: none; color: var(--berry); font-size: .72rem; font-weight: 700; }
.marketing-pricing__table-wrap { overflow-x: auto; outline: none; scrollbar-color: var(--pink) #f3e7ef; scrollbar-width: thin; }
.marketing-pricing__table-wrap:focus-visible { box-shadow: inset 0 0 0 4px #ff3d9740; }
.marketing-pricing__table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; color: var(--ink); }
.marketing-pricing__table th, .marketing-pricing__table td { height: 68px; padding: 15px 22px; border-bottom: 1px solid #3f1a4017; font-size: .83rem; text-align: center; vertical-align: middle; }
.marketing-pricing__table thead th { position: sticky; top: 0; z-index: 2; height: 84px; background: #fffafd; color: var(--ink); font: 800 .91rem/1.2 var(--heading); }
.marketing-pricing__table thead th small { display: block; margin-top: 5px; color: var(--berry); font: 650 .68rem/1.2 var(--body); }
.marketing-pricing__table th:first-child { position: sticky; left: 0; z-index: 3; width: 37%; min-width: 270px; background: #fff; text-align: left; }
.marketing-pricing__table tbody th { font-weight: 700; }
.marketing-pricing__table td { width: 21%; font-weight: 750; }
.marketing-pricing__table .is-highlighted { background: #fff1f8; }
.marketing-pricing__table tbody tr:not(.marketing-pricing__group):hover > * { background-color: #fff8fc; }
.marketing-pricing__table tbody tr:not(.marketing-pricing__group):hover > .is-highlighted { background-color: #ffe8f3; }
.marketing-pricing__group th:first-child { position: static; height: 46px; padding-block: 11px; border-bottom-color: #ff3d9726; background: var(--mist); color: var(--pink); font: 850 .68rem/1 var(--heading); letter-spacing: .1em; text-transform: uppercase; }
.marketing-pricing__table tbody tr:last-child > * { border-bottom: 0; }
.marketing-plan-status { display: inline-grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; font: 900 .85rem/1 var(--heading); }
.marketing-plan-status.is-included { background: #dff7eb; color: #11784e; box-shadow: inset 0 0 0 1px #16825913; }
.marketing-plan-status.is-unavailable { background: #ede8ec; color: #8f7c89; box-shadow: inset 0 0 0 1px #3f1a400d; }

.marketing-faq { max-width: 940px; gap: 14px; }
.marketing-faq details { overflow: hidden; border-width: 1px; border-radius: 19px; box-shadow: 0 4px 0 #3f1a4030; }
.marketing-faq summary { position: relative; padding: 22px 58px 22px 24px; color: var(--ink); font-size: 1.08rem; list-style: none; }
.marketing-faq summary::-webkit-details-marker { display: none; }
.marketing-faq summary::after { position: absolute; top: 50%; right: 21px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--mist); color: var(--plum); content: "+"; font-size: 1.2rem; transform: translateY(-50%); }
.marketing-faq details[open] summary::after { background: var(--pink); color: white; content: "−"; }
.marketing-faq details p { padding: 0 24px 24px; font-size: .94rem; line-height: 1.65; }
.marketing-final-cta { background: #fff8fc; }
.marketing-cta-box { position: relative; overflow: hidden; }
.marketing-cta-box::before, .marketing-cta-box::after { position: absolute; border: 35px solid #ffffff0a; border-radius: 50%; content: ""; }.marketing-cta-box::before { top: -110px; left: -85px; width: 240px; height: 240px; }.marketing-cta-box::after { right: -110px; bottom: -140px; width: 290px; height: 290px; }
.marketing-cta-box > * { position: relative; z-index: 1; }.marketing-cta-box > .eyebrow { margin-inline: auto; }.marketing-cta-box h2 { max-width: 900px; margin: 22px auto 0; }.marketing-cta-box p { max-width: 700px; font-size: 1.05rem; line-height: 1.6; }
.marketing-body .site-footer p { max-width: 520px; margin-top: 17px; color: #d8b8cd; line-height: 1.6; }

@media (hover: hover) and (pointer: fine) {
    .marketing-ecosystem__grid article:hover, .marketing-steps__grid article:hover, .marketing-control__grid article:hover, .marketing-faq details:hover { border-color: #ff3d9770; box-shadow: 0 12px 30px #2a0e2e12; translate: 0 -7px; }
    .marketing-feature:hover { border-color: #ffffff55; box-shadow: 0 20px 45px #0000002e; translate: 0 -8px; }
    .marketing-feature--pink:hover { border-color: #ff9acb; }.marketing-feature--violet:hover { border-color: #d1c0ff; }
    .marketing-app-card:hover { box-shadow: 0 11px 0 var(--plum), 0 28px 55px #2a0e2e17; translate: 0 -8px; }
    .marketing-app-card--company:hover { box-shadow: 0 11px 0 var(--pink), 0 28px 55px #2a0e2e25; }
    .marketing-ecosystem__grid article > span, .marketing-control__grid article > span, .marketing-step-icon, .marketing-feature__icon { transition: background-color .25s ease, color .25s ease, rotate .3s cubic-bezier(.2, .8, .2, 1), scale .3s cubic-bezier(.2, .8, .2, 1); }
    .marketing-ecosystem__grid article:hover > span, .marketing-control__grid article:hover > span, .marketing-steps__grid article:hover .marketing-step-icon, .marketing-feature:hover .marketing-feature__icon { rotate: -5deg; scale: 1.08; }
    .marketing-ecosystem__grid article:hover > span { background: var(--pink); color: white; }
    .marketing-feature::after { transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
    .marketing-feature:hover::after { opacity: 1.7; transform: translate(-18px, -14px) scale(1.12); }
}

@media (prefers-reduced-motion: no-preference) {
    .marketing-hero__copy > * { animation: marketing-copy-enter .9s cubic-bezier(.22, .65, .3, 1) both; }
    .marketing-hero__copy > :nth-child(2) { animation-delay: .1s; }.marketing-hero__copy > :nth-child(3) { animation-delay: .2s; }.marketing-hero__copy > :nth-child(4) { animation-delay: .3s; }.marketing-hero__copy > :nth-child(5) { animation-delay: .4s; }
    .marketing-preview-chart > div i { animation: marketing-preview-bar-pulse 3.2s ease-in-out infinite alternate; transform-origin: bottom; }.marketing-preview-chart > div i:nth-child(3n + 2) { animation-delay: -.8s; }.marketing-preview-chart > div i:nth-child(3n) { animation-delay: -1.6s; }
    .marketing-feature.is-visible .marketing-mini-bars i { animation: marketing-bar-rise .82s cubic-bezier(.22, .65, .3, 1) both; transform-origin: bottom; }.marketing-feature.is-visible .marketing-mini-bars i:nth-child(2) { animation-delay: .09s; }.marketing-feature.is-visible .marketing-mini-bars i:nth-child(3) { animation-delay: .18s; }.marketing-feature.is-visible .marketing-mini-bars i:nth-child(4) { animation-delay: .27s; }.marketing-feature.is-visible .marketing-mini-bars i:nth-child(5) { animation-delay: .36s; }.marketing-feature.is-visible .marketing-mini-bars i:nth-child(6) { animation-delay: .45s; }
    .marketing-analytics-preview.is-visible .marketing-line-chart .line { stroke-dasharray: 760; stroke-dashoffset: 760; animation: marketing-line-draw 1.7s .4s ease forwards; }
    .marketing-analytics-preview.is-visible .marketing-line-chart .area { animation: marketing-chart-area-enter 1.15s .75s ease both; }
    .marketing-scan-frame::after { animation: marketing-scan-line 3.1s ease-in-out infinite; }
    .marketing-app-card.is-visible .marketing-app-phone__scrim { animation: marketing-phone-scrim-enter .35s .55s ease both; }
    .marketing-app-card.is-visible .marketing-app-phone__drawer { animation: marketing-phone-drawer-open .65s .55s cubic-bezier(.22, .72, .25, 1) both; }
    .marketing-code-window__status span i { animation: marketing-status-pulse 1.9s ease-out infinite; }
    .marketing-code-window.is-demo-ready:not(.is-response-visible) .marketing-code-window__status-running i { animation: marketing-code-working 1.15s ease-out infinite; }
    .marketing-code-window.is-request-complete:not(.is-response-visible) .marketing-code-window__status-submitting i { animation: marketing-code-sending .9s ease-in-out infinite alternate; }
    .marketing-faq details[open] p { animation: marketing-faq-answer-enter .28s ease both; }
    .marketing-scroll-cue__mouse i { animation: marketing-scroll-wheel 1.7s ease-in-out infinite; }
    .marketing-phone-preview__scrim { animation: marketing-phone-scrim-enter .38s 1.55s ease both; }
    .marketing-phone-preview__drawer { animation: marketing-phone-drawer-open .72s 1.55s cubic-bezier(.22, .72, .25, 1) both; }
}

@media (min-width: 681px) and (prefers-reduced-motion: no-preference) {
    .marketing-dashboard-preview { animation: marketing-dashboard-enter 1s .22s cubic-bezier(.22, .65, .3, 1) both, marketing-dashboard-float 8s 1.3s ease-in-out infinite; }
    .marketing-phone-preview { animation: marketing-phone-enter .95s .48s cubic-bezier(.22, .65, .3, 1) both, marketing-phone-float 6.5s 1.55s ease-in-out infinite; }
    .marketing-hero-note { animation: marketing-note-enter .8s .72s cubic-bezier(.22, .65, .3, 1) both, marketing-note-float 5.5s 1.65s ease-in-out infinite; }
}

@keyframes marketing-copy-enter { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes marketing-dashboard-enter { from { opacity: 0; transform: translateY(34px) rotate(1.5deg) scale(.97); } to { opacity: 1; transform: translateY(0) rotate(1.5deg) scale(1); } }
@keyframes marketing-dashboard-float { 0%, 100% { transform: translateY(0) rotate(1.5deg); } 50% { transform: translateY(-8px) rotate(.8deg); } }
@keyframes marketing-phone-enter { from { opacity: 0; transform: translateY(38px) rotate(-7deg) scale(.94); } to { opacity: 1; transform: translateY(0) rotate(-4deg) scale(1); } }
@keyframes marketing-phone-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-11px) rotate(-2.8deg); } }
@keyframes marketing-note-enter { from { opacity: 0; transform: translate(-18px, 16px) rotate(-2deg); } to { opacity: 1; transform: translate(0) rotate(2deg); } }
@keyframes marketing-note-float { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes marketing-preview-bar-pulse { from { filter: saturate(.9) brightness(.94); scale: 1 .94; } to { filter: saturate(1.15) brightness(1.08); scale: 1 1; } }
@keyframes marketing-bar-rise { from { opacity: .2; scale: 1 .2; } to { opacity: 1; scale: 1 1; } }
@keyframes marketing-line-draw { to { stroke-dashoffset: 0; } }
@keyframes marketing-chart-area-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes marketing-scan-line { 0%, 100% { opacity: .25; transform: translateY(-112px); } 50% { opacity: 1; transform: translateY(112px); } }
@keyframes marketing-status-pulse { 0% { box-shadow: 0 0 0 0 #50ce8b80; } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@keyframes marketing-faq-answer-enter { from { opacity: 0; translate: 0 -5px; } to { opacity: 1; translate: 0 0; } }
@keyframes marketing-scroll-wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 75%, 100% { opacity: 0; transform: translate(-50%, 12px); } }
@keyframes marketing-phone-scrim-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes marketing-phone-drawer-open { from { transform: translateY(104%); } to { transform: translateY(0); } }
@keyframes marketing-code-cursor { 0%, 52% { opacity: 1; } 53%, 100% { opacity: 0; } }
@keyframes marketing-code-working { 0% { box-shadow: 0 0 0 0 #f5be5b7a; } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@keyframes marketing-code-sending { from { box-shadow: 0 0 0 0 #76d8ff5c; opacity: .65; } to { box-shadow: 0 0 0 6px #76d8ff0a; opacity: 1; } }

/* Customer app download page */
.download-body { background: #fffafd; color: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: geometricPrecision; }
.download-nav { position: absolute; inset: 0 0 auto; z-index: 40; padding: clamp(18px, 2.7vh, 28px) 0; }
.download-nav__bar { display: flex; align-items: center; }
.download-hero { position: relative; display: flex; height: 100vh; height: 100svh; padding: clamp(94px, 12vh, 126px) 0 clamp(66px, 8vh, 88px); align-items: center; overflow: hidden; background: radial-gradient(circle at 10% 13%, #ff6cae2b 0 12%, transparent 31%), radial-gradient(circle at 90% 20%, #8f61e92b 0 15%, transparent 34%), linear-gradient(145deg, #fff9fc 0%, #ffe9f4 56%, #f3e8ff 100%); isolation: isolate; }
.download-hero::before { position: absolute; right: -130px; bottom: -170px; z-index: -1; width: 470px; height: 470px; border: 62px solid #ff3d9710; border-radius: 50%; content: ""; }
.download-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); gap: clamp(42px, 6vw, 96px); align-items: center; }
.download-hero__copy { position: relative; z-index: 3; width: min(100%, 610px); }
.download-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--pink); font: 850 .72rem/1 var(--heading); letter-spacing: .11em; text-transform: uppercase; }
.download-eyebrow i { width: 9px; height: 9px; border: 2px solid var(--pink); border-radius: 50%; box-shadow: 0 0 0 5px #ff3d9717; }
.download-hero__copy h1 { max-width: 610px; margin: 0; color: var(--ink); font-size: clamp(3.25rem, 5.2vw, 5.6rem); letter-spacing: -.068em; line-height: .98; text-wrap: balance; }
.download-hero__copy h1 span { display: block; }
.download-hero__copy .download-hero__sticker { width: fit-content; margin-top: 9px; padding-inline: .04em .08em; -webkit-text-stroke-width: 6px; filter: drop-shadow(5px 6px 0 var(--plum)); transform-origin: left center; }
.download-hero__copy > p { max-width: 555px; margin-top: clamp(22px, 3vh, 30px); color: #764064; font-size: clamp(1.02rem, 1.25vw, 1.18rem); font-weight: 520; line-height: 1.65; text-wrap: pretty; }
.download-store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3.5vh, 34px); }
.download-store-buttons__shell { min-height: 60px; animation: none !important; translate: none !important; }
.download-store-button { display: flex; min-width: 184px; min-height: 60px; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 18px; border: 2px solid #19091c; border-radius: 15px; background: linear-gradient(145deg, #321134, #19091c); color: white; box-shadow: 0 5px 0 var(--pink), 0 12px 26px #3f1a4018; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, border-color .2s ease; }
.download-store-button:hover { border-color: var(--pink); color: white; box-shadow: 0 7px 0 var(--pink), 0 16px 30px #3f1a4024; transform: translateY(-2px); }
.download-store-button.is-unavailable { cursor: default; opacity: 1; }
.download-store-button.is-unavailable:hover { border-color: #19091c; box-shadow: 0 5px 0 var(--pink), 0 12px 26px #3f1a4018; transform: none; }
.download-store-button__icon { display: grid; width: 31px; height: 34px; flex: 0 0 31px; place-items: center; }
.download-store-button__icon svg { width: 28px; height: 28px; fill: currentColor; }
.download-store-button strong { font: 800 1.04rem/1 var(--heading); letter-spacing: -.02em; }
.download-hero__visual { position: relative; display: grid; height: min(69vh, 650px); min-height: 500px; place-items: center; }
.download-hero__scene { position: relative; width: min(100%, 620px); height: 100%; transform-origin: center; }
.download-orbit { position: absolute; border: 1.5px solid #ff3d9730; border-radius: 50%; }
.download-orbit--one { inset: 8% 3% 4%; }.download-orbit--two { inset: 18% 14% 14%; border-color: #3f1a4024; }
.download-phone { position: relative; display: flex; width: 310px; min-height: 610px; padding: 24px 18px 15px; flex-direction: column; overflow: hidden; border: 3px solid var(--plum); border-radius: 46px; background: #fffafd; box-shadow: 11px 14px 0 var(--pink), 0 35px 75px #3f1a403b; }
.download-phone--wallet { position: absolute; top: 50%; left: 50%; z-index: 3; transform: translate(-50%, -50%) rotate(2.3deg); }
.download-phone__speaker { display: block; width: 63px; height: 5px; margin: 0 auto 24px; border-radius: 99px; background: #3f1a4033; }
.download-phone > header { display: flex; align-items: center; justify-content: space-between; }
.download-phone > header div { display: grid; gap: 3px; }.download-phone > header small { color: var(--berry); font-size: .61rem; }.download-phone > header strong { color: var(--ink); font: 850 1.05rem var(--heading); }
.download-phone > header > span { display: grid; width: 38px; height: 38px; place-items: center; border: 2px solid var(--plum); border-radius: 13px; background: var(--pink); color: white; box-shadow: 0 3px 0 var(--plum); font: 850 .65rem var(--heading); }
.download-wallet-stack { position: relative; min-height: 270px; margin-top: 28px; }
.download-wallet-card { position: absolute; display: flex; flex-direction: column; overflow: hidden; border: 2px solid #ffffff40; color: white; box-shadow: 0 17px 30px #2a0e2e30; }
.download-wallet-card--main { inset: 0 0 34px; z-index: 2; padding: 17px; border-radius: 22px; background: radial-gradient(circle at 90% 12%, #ff72b682, transparent 34%), linear-gradient(135deg, #3f1a40, #6a2858); }
.download-wallet-card--main::after { position: absolute; right: -32px; bottom: -70px; width: 190px; height: 190px; border: 29px solid #ffffff13; border-radius: 50%; content: ""; }
.download-wallet-card--main header { display: flex; align-items: center; justify-content: space-between; }.download-wallet-card--main header div { display: flex; align-items: center; gap: 8px; }.download-wallet-card--main header span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: var(--pink); font: 850 .52rem var(--heading); }.download-wallet-card--main header strong { font: 750 .68rem var(--heading); }.download-wallet-card--main header i { font-style: normal; letter-spacing: .1em; }
.download-wallet-card--main > div { display: grid; margin-top: auto; gap: 5px; }.download-wallet-card--main > div small { font-size: .48rem; font-weight: 800; letter-spacing: .12em; }.download-wallet-card--main > div strong { max-width: 200px; font: 850 1.15rem/1.05 var(--heading); }.download-wallet-card--main footer { position: relative; z-index: 1; display: grid; margin-top: 17px; gap: 8px; font-size: .56rem; font-weight: 750; }.download-wallet-card--main footer i { height: 5px; border-radius: 99px; background: linear-gradient(90deg, var(--pink) 70%, #ffffff35 70%); }
.download-wallet-card--back { right: 14px; bottom: 0; left: 14px; z-index: 1; min-height: 72px; padding: 44px 14px 10px; flex-direction: row; align-items: center; gap: 8px; border-radius: 18px; background: #1a5963; }.download-wallet-card--back span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #71e1d1; color: #12343b; font: 850 .48rem var(--heading); }.download-wallet-card--back strong { font: 750 .6rem var(--heading); }
.download-phone__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.download-phone__quick article { display: grid; padding: 13px; border: 1px solid #3f1a4018; border-radius: 16px; background: #fff; box-shadow: 0 6px 17px #3f1a400c; }.download-phone__quick span { color: var(--pink); font: 850 1.25rem var(--heading); }.download-phone__quick small { color: var(--berry); font-size: .56rem; }
.download-phone nav { display: flex; min-height: 49px; margin-top: auto; align-items: center; justify-content: space-around; border-top: 1px solid #3f1a4018; color: #a2899c; }.download-phone nav span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; }.download-phone nav .is-active { background: var(--mist); color: var(--pink); }
.download-membership-card { position: relative; overflow: hidden; border: 3px solid var(--plum); border-radius: 25px; background: white; color: var(--deep); box-shadow: 8px 8px 0 var(--plum); }.download-membership-card__body { position: relative; padding: 22px; overflow: hidden; }.download-membership-card__shape { position: absolute; pointer-events: none; }.download-membership-card__shape--large { top: -76px; right: -48px; width: 150px; height: 150px; border-radius: 50%; background: #ea459217; }.download-membership-card__shape--ring { top: 56px; right: 28px; width: 54px; height: 54px; border: 8px solid #8c66ee29; border-radius: 50%; transform: rotate(18deg); }.download-membership-card__shape--small { top: 21px; right: 88px; width: 17px; height: 17px; border-radius: 50%; background: #7a1b5c1a; }.download-membership-card header { position: relative; display: flex; align-items: center; gap: 14px; }.download-membership-card__avatar { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border: 1px solid #7a1b5c33; border-radius: 16px; background: var(--mist); box-shadow: inset 0 0 0 3px white; color: var(--plum); font: 850 .85rem var(--heading); }.download-membership-card header strong { color: var(--deep); font: 850 1.55rem/1.15 var(--heading); }.download-membership-card__barcode { position: relative; display: block; width: 100%; height: 112px; margin-top: 24px; color: #080308; shape-rendering: crispEdges; }.download-membership-card footer { display: grid; gap: 5px; padding: 15px 22px; border-top: 2px solid #3f1a4029; background: var(--mist); color: var(--deep); }.download-membership-card footer strong, .download-membership-card footer span { font-size: .78rem; line-height: 1.2; letter-spacing: .02em; }.download-membership-card footer strong { font-weight: 800; }.download-membership-card--floating { position: absolute; right: -1%; bottom: 42px; z-index: 5; width: 285px; transform: rotate(5deg); }.download-membership-card--floating .download-membership-card__body { padding: 15px; }.download-membership-card--floating .download-membership-card__avatar { width: 38px; height: 38px; flex-basis: 38px; border-radius: 12px; font-size: .62rem; }.download-membership-card--floating header { gap: 10px; }.download-membership-card--floating header strong { font-size: .92rem; }.download-membership-card--floating .download-membership-card__barcode { height: 65px; margin-top: 14px; }.download-membership-card--floating footer { gap: 3px; padding: 10px 15px; }.download-membership-card--floating footer strong, .download-membership-card--floating footer span { font-size: .55rem; }
.download-reward-pop { position: absolute; bottom: 30px; left: -7%; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 10px; border: 2px solid var(--plum); border-radius: 17px; background: #fff; box-shadow: 5px 6px 0 var(--pink); transform: rotate(-3deg); }.download-reward-pop > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--pink); color: white; font-size: 1.1rem; }.download-reward-pop div { display: grid; gap: 2px; }.download-reward-pop small { color: var(--berry); font-size: .52rem; }.download-reward-pop strong { font: 800 .68rem var(--heading); }
.download-benefits { padding: 110px 0; background: #fffafd; }.download-security { padding: 88px 0 64px; background: #fffafd; }.download-section-heading { max-width: 850px; margin-inline: auto; }.download-section-heading p { max-width: 720px; margin-inline: auto; }.download-security .download-section-heading { margin-bottom: 34px; }
.download-benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }.download-benefits__grid article { position: relative; min-height: 325px; padding: 30px; overflow: hidden; border: 2px solid var(--plum); border-radius: 28px; background: white; box-shadow: 0 7px 0 var(--plum); transition: border-color .3s ease, box-shadow .3s ease, translate .35s cubic-bezier(.2,.8,.2,1); }.download-benefits__grid article::after { position: absolute; top: -82px; right: -72px; width: 180px; height: 180px; border: 29px solid #ff3d970d; border-radius: 50%; content: ""; transition: opacity .35s ease, transform .55s cubic-bezier(.2,.8,.2,1); }.download-benefits__grid article:nth-child(2) { background: var(--mist); }.download-benefits__grid article:nth-child(3) { background: #f1e9ff; }.download-benefits__grid article > span { position: relative; z-index: 1; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 17px; background: var(--pink); color: white; box-shadow: 0 4px 0 var(--plum); transition: rotate .32s cubic-bezier(.2,.8,.2,1), scale .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease; }.download-benefits__grid svg { width: 25px; height: 25px; fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; }.download-benefits__grid small { display: block; margin-top: 44px; color: var(--pink); font-size: .63rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }.download-benefits__grid h3 { margin-top: 8px; font-size: clamp(1.45rem, 2vw, 1.9rem); }.download-benefits__grid p { margin-top: 12px; color: var(--berry); line-height: 1.62; }
.download-experience { padding: 115px 0; overflow: hidden; background: linear-gradient(145deg, var(--deep), #4c164d); color: white; }.download-experience__grid { display: grid; grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr); gap: clamp(55px, 8vw, 120px); align-items: center; }.download-experience__visual { display: grid; place-items: center; }.download-phone--pass { width: 300px; min-height: 585px; border-color: #fff; box-shadow: 11px 14px 0 var(--pink), 0 30px 80px #0005; transform: rotate(-3deg); }.download-pass-card { display: grid; min-height: 250px; margin-top: 32px; padding: 22px; border-radius: 24px; background: radial-gradient(circle at 88% 10%, #ff78b99e, transparent 35%), linear-gradient(145deg, var(--plum), #782f64); color: white; box-shadow: 0 18px 32px #3f1a4032; }.download-pass-card > span { font: 800 .65rem var(--heading); }.download-pass-card small { margin-top: 35px; font-size: .5rem; letter-spacing: .14em; }.download-pass-card strong { margin-top: 4px; font: 850 1.25rem var(--heading); }.download-pass-card div { margin-top: 29px; font: 900 1.5rem monospace; letter-spacing: -.12em; }.download-pass-card b { justify-self: center; font: 700 .65rem var(--body); letter-spacing: .2em; }.download-phone--pass > p { margin: 25px auto 0; color: var(--berry); font-size: .7rem; text-align: center; }.download-experience__copy { max-width: 670px; }.download-experience__copy h2 { margin-top: 20px; color: white; font-size: clamp(2.7rem, 4.8vw, 5.2rem); letter-spacing: -.065em; line-height: .98; }.download-experience__copy > p { margin-top: 24px; color: #e1bfd5; font-size: 1.08rem; line-height: 1.7; }.download-checks { display: grid; margin-top: 35px; gap: 13px; }.download-checks > div { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid #ffffff20; border-radius: 17px; background: #ffffff0a; }.download-checks i { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 12px; background: var(--pink); color: white; font: 850 .8rem var(--heading); font-style: normal; }.download-checks p { display: grid; margin: 0; gap: 3px; }.download-checks strong { color: white; font: 750 .86rem var(--heading); }.download-checks span { color: #d6b4ca; font-size: .77rem; }
.download-security__grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 2px solid #3f1a4028; border-radius: 26px; background: white; box-shadow: 0 7px 0 var(--plum), 0 22px 46px #3f1a400d; }.download-security__grid article { display: grid; min-height: 0; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: 17px; padding: 24px 25px; border-right: 1px solid #3f1a401c; background: linear-gradient(145deg,#fff,#fffafd); transition: background-color .3s ease, translate .35s cubic-bezier(.2,.8,.2,1); }.download-security__grid article:last-child { border-right: 0; }.download-security__grid article > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; background: var(--pink); color: white; box-shadow: 0 4px 0 var(--plum); transition: rotate .32s cubic-bezier(.2,.8,.2,1), scale .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease; }.download-security__grid svg { width: 25px; height: 25px; fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }.download-security__grid h3 { font-size: 1.02rem; }.download-security__grid p { margin-top: 6px; color: var(--berry); font-size: .82rem; line-height: 1.45; }
.download-cta { padding: 25px 0 110px; background: #fffafd; }.download-cta__box { display: flex; min-height: 360px; align-items: center; justify-content: space-between; gap: 50px; padding: clamp(36px, 6vw, 76px); overflow: hidden; border: 3px solid var(--plum); border-radius: 38px; background: radial-gradient(circle at 90% 10%, #ff79b873, transparent 28%), var(--pink); color: white; box-shadow: 0 10px 0 var(--plum); }.download-cta__box > div:first-child { max-width: 680px; }.download-cta__box > div:first-child > span { font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }.download-cta__box h2 { margin-top: 12px; color: white; font-size: clamp(2.4rem, 4vw, 4.5rem); letter-spacing: -.065em; line-height: .98; }.download-cta__box p { margin-top: 17px; color: #fff2f8; font-size: 1rem; }.download-cta__box .download-store-buttons { min-width: 220px; margin-top: 0; flex-direction: column; }.download-store-button--light { border-color: white; background: white; color: var(--plum); box-shadow: 0 5px 0 var(--plum), 0 12px 26px #3f1a4028; }.download-store-button--light:hover { border-color: var(--plum); color: var(--plum); box-shadow: 0 7px 0 var(--plum), 0 16px 30px #3f1a4030; }.download-store-button--light.is-unavailable:hover { border-color: white; box-shadow: 0 5px 0 var(--plum), 0 12px 26px #3f1a4028; }
.download-cta { padding-top: 30px; }
.download-membership-card--floating { box-shadow: 9px 11px 0 var(--plum), 0 24px 50px #3f1a4038; transform: rotate(0); }
.download-membership-card .download-membership-card__barcode { height: auto; object-fit: contain; image-rendering: crisp-edges; }
.download-phone--pass { width: 330px; min-height: 650px; }
.download-membership-card--in-phone { width: calc(100% + 8px); margin: 28px 0 0 -4px; border-width: 2px; border-radius: 20px; box-shadow: 7px 8px 0 var(--plum), 0 18px 32px #3f1a402b; transform: rotate(3deg); }
.download-membership-card--in-phone .download-membership-card__body { padding: 17px; }
.download-membership-card--in-phone .download-membership-card__avatar { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; font-size: .68rem; }
.download-membership-card--in-phone header { gap: 10px; }
.download-membership-card--in-phone header strong { font-size: 1rem; }
.download-membership-card--in-phone .download-membership-card__barcode { height: 83px; margin-top: 17px; }
.download-membership-card--in-phone footer { padding: 12px 17px; }
.download-membership-card--in-phone footer strong, .download-membership-card--in-phone footer span { font-size: .6rem; }
.download-membership-card.download-membership-card--floating .download-membership-card__barcode, .download-membership-card.download-membership-card--in-phone .download-membership-card__barcode { height: auto; }
.download-footer { padding: 32px 0; background: var(--deep); color: white; }.download-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 22px; }.download-footer__bar p { margin: 0; color: #d8b8cd; }.download-footer__bar > span:last-child { color: #ffffff78; font-size: .75rem; }

@media (prefers-reduced-motion: no-preference) {
    .download-hero__copy > * { animation: marketing-copy-enter .9s cubic-bezier(.22,.65,.3,1) both; }.download-hero__copy > :nth-child(2) { animation-delay: .1s; }.download-hero__copy > :nth-child(3) { animation-delay: .2s; }
    .download-phone--wallet { animation: download-phone-enter .95s .25s cubic-bezier(.22,.65,.3,1) both, download-phone-float 6.5s 1.4s ease-in-out infinite; }.download-membership-card--floating { animation: download-pass-enter .8s .62s cubic-bezier(.22,.65,.3,1) both, download-pass-float 5.5s 1.5s ease-in-out infinite; }.download-reward-pop { animation: marketing-note-enter .8s .78s cubic-bezier(.22,.65,.3,1) both, marketing-note-float 5.5s 1.7s ease-in-out infinite; }
    .download-benefits__grid article.is-visible > span, .download-security__grid article.is-visible > span { animation: download-card-icon-enter .72s .28s cubic-bezier(.22,.72,.25,1) both; }
}
@media (hover: hover) and (pointer: fine) {
    .download-benefits__grid article:hover, .download-security__grid article:hover { border-color: #ff3d9780; box-shadow: 0 12px 0 var(--plum), 0 25px 48px #3f1a4018; translate: 0 -7px; }
    .download-security__grid article:hover { box-shadow: 0 8px 0 #ff3d9754, 0 24px 46px #3f1a4016; }
    .download-benefits__grid article:hover > span, .download-security__grid article:hover > span { rotate: -6deg; scale: 1.1; box-shadow: 0 6px 0 var(--plum), 0 12px 22px #ff3d9730; }
    .download-benefits__grid article:hover::after { opacity: 1.7; transform: translate(-18px, 16px) scale(1.12); }
}
@keyframes download-phone-enter { from { opacity: 0; transform: translate(-50%, calc(-50% + 40px)) rotate(5deg) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) rotate(2.3deg) scale(1); } }
@keyframes download-phone-float { 0%,100% { transform: translate(-50%,-50%) rotate(2.3deg); } 50% { transform: translate(-50%,calc(-50% - 11px)) rotate(1deg); } }
@keyframes download-pass-enter { from { opacity: 0; transform: translate(28px,22px) scale(.82); } to { opacity: 1; transform: translate(0,0) scale(1); } }
@keyframes download-pass-float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.015); } }
@keyframes download-card-icon-enter { from { opacity: 0; rotate: -12deg; scale: .72; } to { opacity: 1; rotate: 0deg; scale: 1; } }
@keyframes download-stores-dock { from { opacity: 0; transform: translateY(-18px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (min-width: 981px) and (max-height: 700px) {
    .download-nav { padding-block: 17px; }
    .download-hero { padding-block: 80px 52px; }
    .download-hero__copy h1 { font-size: clamp(3.35rem, 4.75vw, 4.65rem); }
    .download-hero__copy > p { margin-top: 18px; font-size: 1rem; }
    .download-hero__copy .download-store-buttons { margin-top: 22px; }
    .download-hero__visual { height: min(75vh, 540px); }
    .download-hero__scene { scale: .84; }
}

@media (max-width: 980px) {
    .download-hero__copy .download-store-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; }
    .download-hero__copy .download-store-button { width: 100%; min-width: 0; justify-content: center; }
    .download-store-buttons[data-download-stores-sticky].is-sticky { position: fixed; top: max(10px, env(safe-area-inset-top)); right: 12px; left: 12px; z-index: 80; margin: 0; padding: 9px; border: 1px solid #ffffff80; border-radius: 20px; background: #fffafded; box-shadow: 0 5px 0 var(--plum), 0 18px 45px #2a0e2e30; backdrop-filter: blur(20px) saturate(1.35); -webkit-backdrop-filter: blur(20px) saturate(1.35); animation: download-stores-dock .34s cubic-bezier(.2,.8,.2,1) both; }
    .download-store-buttons[data-download-stores-sticky].is-sticky .download-store-button { min-height: 50px; padding: 8px 13px; border-radius: 13px; box-shadow: 0 3px 0 var(--pink); }
    .download-store-buttons[data-download-stores-sticky].is-sticky .download-store-button__icon { width: 25px; height: 28px; flex-basis: 25px; }
    .download-store-buttons[data-download-stores-sticky].is-sticky .download-store-button__icon svg { width: 23px; height: 23px; }
    .download-store-buttons[data-download-stores-sticky].is-sticky strong { font-size: .9rem; }
    .download-hero { height: auto; min-height: 100svh; padding: 118px 0 76px; }.download-hero__grid, .download-experience__grid { grid-template-columns: 1fr; }.download-hero__grid { gap: 44px; }.download-hero__copy { max-width: 720px; margin-inline: auto; text-align: center; }.download-hero__copy h1, .download-hero__copy > p { margin-inline: auto; }.download-hero__copy .download-store-buttons { justify-content: center; }.download-hero__visual { width: min(100%, 680px); height: 620px; margin: 0 auto; }.download-experience__copy { max-width: 760px; order: -1; }.download-benefits__grid, .download-security__grid { grid-template-columns: 1fr; }.download-benefits__grid article { min-height: 250px; }.download-cta__box { align-items: flex-start; flex-direction: column; }.download-cta__box .download-store-buttons { width: 100%; flex-direction: row; }.download-cta__box .download-store-button { flex: 1; }
}
@media (max-width: 680px) {
    .download-hero__copy .download-store-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .download-store-buttons:not([data-download-stores-sticky]) { flex-direction: column; }
    .download-hero__copy .download-store-button { min-height: 56px; gap: 8px; padding: 9px 10px; }
    .download-hero__copy .download-store-button__icon { width: 26px; flex-basis: 26px; }
    .download-hero__copy .download-store-button__icon svg { width: 24px; height: 24px; }
    .download-hero__copy .download-store-button strong { font-size: clamp(.78rem,3.7vw,.96rem); }
    .download-nav { padding: 16px 0; }.download-nav__bar .brand { font-size: 1rem; }
    .download-hero { min-height: 100svh; padding: 94px 0 62px; }.download-hero__grid { gap: 28px; }.download-hero__copy { text-align: left; }.download-hero__copy h1 { margin-inline: 0; font-size: clamp(2.75rem, 12vw, 3.65rem); }.download-hero__copy .download-hero__sticker { -webkit-text-stroke-width: 4px; filter: drop-shadow(3px 4px 0 var(--plum)); }.download-hero__copy > p { margin: 24px 0 0; font-size: .98rem; line-height: 1.55; }.download-hero__copy .download-store-buttons { justify-content: stretch; }.download-store-buttons { flex-direction: column; }.download-store-button { width: 100%; min-width: 0; }
    .download-hero__visual { width: 100%; height: 500px; min-height: 0; margin: 0; }.download-hero__scene { width: min(100%, 390px); }.download-phone { width: 245px; min-height: 490px; border-radius: 37px; }.download-phone--wallet { scale: .9; }.download-membership-card--floating { right: -2%; bottom: 44px; width: 205px; transform: rotate(3deg); }.download-membership-card--floating .download-membership-card__barcode { height: 48px; }.download-membership-card--floating footer strong, .download-membership-card--floating footer span { font-size: .48rem; }.download-reward-pop { bottom: 13px; left: 0; max-width: 205px; }.download-orbit--one { inset: 8% -15% 3%; }.download-orbit--two { inset: 18% 3% 13%; }
    .download-benefits { padding: 78px 0; }.download-security { padding: 68px 0 45px; }.download-benefits__grid article { min-height: 0; padding: 25px; }.download-benefits__grid small { margin-top: 30px; }.download-security__grid { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; gap: 12px; }.download-security__grid article { padding: 20px; border: 1.5px solid #3f1a4023; border-radius: 19px; box-shadow: 0 5px 0 var(--plum); }
    .download-experience { padding: 82px 0; }.download-experience__grid { gap: 50px; }.download-experience__copy h2 { font-size: 2.75rem; }.download-phone--pass { width: 285px; min-height: 600px; }.download-checks > div { align-items: flex-start; }
    .download-security__grid article { min-height: 0; }.download-cta { padding-bottom: 75px; }.download-cta__box { min-height: 0; padding: 31px 24px; border-radius: 27px; }.download-cta__box h2 { font-size: 2.55rem; }.download-cta__box .download-store-buttons { flex-direction: column; }
    .download-footer__bar { align-items: flex-start; flex-direction: column; }.download-footer__bar p { font-size: .84rem; }
}

@media (max-width: 1199px) {
    .marketing-hero__grid { grid-template-columns: minmax(0, .85fr) minmax(470px, 1.15fr); gap: 35px; }
    .marketing-dashboard-preview { right: -70px; }
    .marketing-ecosystem__grid { grid-template-columns: repeat(2, 1fr); }
    .marketing-ecosystem__grid article { border-right: 1px solid #3f1a4024; border-bottom: 1px solid #3f1a4024; }.marketing-ecosystem__grid article:nth-child(2n) { border-right: 0; }.marketing-ecosystem__grid article:nth-last-child(-n + 2) { border-bottom: 0; }
    .marketing-app-card { min-height: 580px; grid-template-columns: 1fr 180px; padding: 30px; }.marketing-app-phone, .marketing-scan-phone { min-height: 390px; }
}

@media (max-width: 980px) {
    .marketing-hero { min-height: 0; padding-top: 150px; }
    .marketing-hero__grid, .marketing-analytics__grid, .marketing-api__grid { grid-template-columns: 1fr; }
    .marketing-hero__copy { max-width: 780px; }
    .marketing-hero__visual { width: min(100%, 760px); min-height: 555px; margin: 10px auto 0; }
    .marketing-dashboard-preview { right: 0; left: 0; width: 90%; margin-inline: auto; }
    .marketing-phone-preview { right: 2%; }
    .marketing-steps__grid { grid-template-columns: repeat(2, 1fr); }.marketing-steps__grid::before { display: none; }
    .marketing-feature, .marketing-feature--large { grid-column: span 6; }.marketing-feature--wide { grid-column: 1 / -1; }
    .marketing-analytics__copy { max-width: 760px; }
    .marketing-analytics-preview { width: min(100%, 760px); margin-inline: auto; }
    .marketing-apps__grid { grid-template-columns: 1fr; }.marketing-app-card { min-height: 480px; grid-template-columns: minmax(0, 1fr) 230px; }
    .marketing-api__copy { max-width: 760px; }.marketing-code-window { width: min(100%, 760px); margin-inline: auto; }
    .marketing-control__grid { grid-template-columns: repeat(2, 1fr); }
    .marketing-pricing__plans { gap: 14px; }
    .marketing-pricing__card { min-height: 570px; padding: 25px 21px; border-radius: 24px; }
    .marketing-pricing__card > header { align-items: flex-start; flex-direction: column; }
    .marketing-pricing__card--growth > header { margin-top: 24px; }
    .marketing-pricing__price { margin-top: 26px; }
    .marketing-pricing__card > p { min-height: 96px; }
    .marketing-pricing__card > ul { gap: 11px; }
    .marketing-pricing__comparison { margin-top: 58px; }
}

@media (max-width: 680px) {
    .marketing-back-to-top { right: max(15px, env(safe-area-inset-right)); bottom: max(15px, env(safe-area-inset-bottom)); width: 50px; height: 50px; }
    .marketing-section-heading { margin-bottom: 32px; }.marketing-section-heading h2 { font-size: clamp(2.1rem, 11vw, 3.25rem); }.marketing-section-heading p { font-size: .97rem; }
    .marketing-hero { padding: 132px 0 70px; }.marketing-hero::before { display: none; }
    .marketing-hero__copy h1 { font-size: clamp(2.75rem, 12vw, 3.65rem); }.marketing-hero__copy .sticker { -webkit-text-stroke-width: 4px; filter: drop-shadow(3px 4px 0 var(--plum)); }
    .marketing-hero__copy > p { margin-top: 24px; font-size: 1rem; }.marketing-hero__actions { flex-direction: column; }.marketing-hero__actions .mc-button { width: 100%; }
    .marketing-hero__visual { min-height: 435px; margin-top: 20px; }
    .marketing-dashboard-preview { top: 15px; width: 100%; border-width: 2px; border-radius: 20px; box-shadow: 7px 8px 0 var(--plum); transform: rotate(0); }
    .marketing-dashboard-preview > header { grid-template-columns: auto 1fr; }.marketing-dashboard-preview > header small { display: none; }
    .marketing-dashboard-preview__body { min-height: 320px; grid-template-columns: 42px minmax(0, 1fr); }.marketing-dashboard-preview__body > aside { gap: 12px; padding: 18px 9px; }.marketing-dashboard-preview__body > aside span { width: 23px; height: 23px; }
    .marketing-dashboard-preview__canvas { padding: 15px; }.marketing-preview-heading > span { display: none; }.marketing-preview-heading strong { font-size: .84rem; }.marketing-preview-kpis { grid-template-columns: repeat(2, 1fr); }.marketing-preview-kpis article:nth-child(3) { display: none; }
    .marketing-preview-chart { padding: 12px; }.marketing-preview-chart > div { height: 95px; gap: 4px; }
    .marketing-phone-preview { right: -5px; bottom: -5px; width: 160px; min-height: 315px; padding: 10px 8px; border-width: 2px; border-radius: 25px; box-shadow: 5px 6px 0 var(--pink); }.marketing-phone-preview__speaker { width: 42px; height: 4px; margin-bottom: 9px; }.marketing-phone-preview > header { font-size: .5rem; }.marketing-phone-preview__wallet { margin-top: 8px; padding: 0; }.marketing-client-card { padding: 8px; border-radius: 13px; }.marketing-client-card__glow { width: 118px; }.marketing-client-card > header span { width: 20px; height: 20px; flex-basis: 20px; border-radius: 6px; font-size: .38rem; }.marketing-client-card > header strong { font-size: .43rem; }.marketing-client-card > header i { font-size: .34rem; }.marketing-client-card__reward small { font-size: .3rem; }.marketing-client-card__reward strong { max-width: 100px; font-size: .58rem; }.marketing-client-card > footer { font-size: .34rem; }.marketing-client-card > footer i { height: 3px; }.marketing-phone-preview__scrim { inset-block-start: 62px; }.marketing-phone-preview__drawer { min-height: 207px; padding: 7px 10px 9px; border-radius: 19px 19px 0 0; }.marketing-phone-preview__handle { width: 27px; height: 3px; margin-bottom: 4px; }.marketing-phone-preview__close { top: 7px; right: 8px; width: 18px; height: 18px; font-size: .66rem; }.marketing-phone-preview__logo { width: 30px; height: 30px; margin-bottom: 3px; border-width: 1.5px; border-radius: 9px; box-shadow: 0 2px 0 var(--plum); font-size: .47rem; }.marketing-phone-preview__drawer > small { font-size: .34rem; }.marketing-phone-preview__drawer h3 { font-size: .58rem; }.marketing-phone-preview__drawer p { max-width: 132px; margin-top: 2px; font-size: .34rem; }.marketing-phone-preview__stamps { gap: 3px; margin-top: 6px; }.marketing-phone-preview__stamps i { font-size: .34rem; }.marketing-phone-preview__button { min-height: 23px; margin-top: auto; border-width: 1px; border-radius: 7px; box-shadow: 0 2px 0 var(--plum); font-size: .39rem; }
    .marketing-hero-note { display: none; }
    .marketing-scroll-cue { display: none; }
    .marketing-ecosystem { padding: 68px 0; }.marketing-ecosystem__grid { grid-template-columns: 1fr; border-radius: 22px; }.marketing-ecosystem__grid article, .marketing-ecosystem__grid article:nth-child(2n) { padding: 24px; border-right: 0; border-bottom: 1px solid #3f1a4024; }.marketing-ecosystem__grid article:last-child { border-bottom: 0; }
    .marketing-steps__grid { grid-template-columns: 1fr; }
    .marketing-feature-grid { grid-template-columns: 1fr; }.marketing-feature, .marketing-feature--large, .marketing-feature--wide { min-height: 0; grid-column: 1; }.marketing-feature--wide { display: flex; }.marketing-feature--wide > .marketing-feature__icon { position: static; }.marketing-mini-bars, .marketing-segment-cloud { display: none; }
    .marketing-analytics-preview { border-radius: 21px; box-shadow: 6px 7px 0 var(--plum); transform: none; }.marketing-analytics-preview > header { padding: 18px; }.marketing-analytics-preview__trend { margin: 14px; padding: 16px; }.marketing-line-chart { height: 130px; }.marketing-analytics-preview__bottom { grid-template-columns: 1fr; padding: 0 14px 14px; }.marketing-analytics-preview__bottom article { min-height: 150px; }
    .marketing-app-card { min-height: 0; grid-template-columns: 1fr; padding: 26px; border-radius: 24px; }.marketing-app-phone, .marketing-scan-phone { width: min(100%, 235px); min-height: 400px; margin: 4px auto 0; }
    .marketing-code-window { border-radius: 19px; transform: none; }.marketing-code-window > header { grid-template-columns: auto 1fr; }.marketing-code-window > header small { display: none; }.marketing-code-window__terminal, .marketing-code-window pre { min-height: 300px; }.marketing-code-window pre { padding: 22px 18px; font-size: .72rem; }.marketing-code-window__response { padding: 19px 18px 16px; }.marketing-code-window__response-body { overflow-x: auto; font-size: .64rem; line-height: 1.52; }.marketing-code-window__response footer { align-items: flex-start; flex-direction: column; gap: 2px; }.marketing-code-window__status { align-items: flex-start; flex-direction: column; }
    .marketing-control__grid { grid-template-columns: 1fr; }
    .marketing-pricing__plans { grid-template-columns: 1fr; gap: 24px; }.marketing-pricing__card { min-height: 0; padding: 28px 25px; }.marketing-pricing__card > header { align-items: center; flex-direction: row; }.marketing-pricing__card--growth > header { margin-top: 22px; }.marketing-pricing__card > p { min-height: 0; }.marketing-pricing__card > ul { margin-bottom: 28px; }.marketing-pricing__card > .mc-button { margin-top: 0; }.marketing-pricing__comparison { margin-top: 48px; border-radius: 24px; box-shadow: 0 6px 0 var(--plum); }.marketing-pricing__comparison > header { align-items: flex-start; flex-direction: column; gap: 13px; padding: 24px 21px; }.marketing-pricing__comparison > header > small { display: block; }.marketing-pricing__table { width: 760px; min-width: 760px; table-layout: fixed; }.marketing-pricing__table th, .marketing-pricing__table td { height: 62px; padding-inline: 16px; }.marketing-pricing__table th:first-child { width: 205px; min-width: 205px; max-width: 205px; }
    .marketing-faq summary { padding: 20px 54px 20px 20px; font-size: 1rem; }.marketing-faq details p { padding: 0 20px 22px; }
    .marketing-cta-box { border-radius: 28px; }.marketing-cta-box .cta-box__actions { flex-direction: column; }.marketing-cta-box .mc-button { width: 100%; }
}

/* Guided company onboarding */
.auth-register--onboarding { grid-template-columns: minmax(430px, 44%) minmax(0, 56%); overflow: hidden; }
.auth-register--onboarding .auth-register__story { position: sticky; top: 0; justify-content: flex-start; gap: clamp(20px, 3vh, 34px); padding-top: clamp(92px, 10vh, 112px); }
.auth-register--onboarding .auth-register__story-copy { min-height: 160px; }
.auth-register--onboarding .auth-register__story h1 { max-width: 620px; font-size: clamp(2.05rem, 3.15vw, 3.45rem); transition: opacity .2s ease, transform .2s ease; }
.auth-register--onboarding .auth-register__story-copy > p { max-width: 590px; margin-top: 13px; font-size: .9rem; line-height: 1.52; }
.auth-register--onboarding .auth-register__preview { display: grid; width: min(100%, 440px); min-height: 0; margin: auto; place-items: center; align-content: center; gap: 15px; }
.auth-register--onboarding [data-registration-preview][hidden] { display: none !important; }
.auth-register--onboarding [data-registration-logo-image][hidden] { display: none !important; }
.auth-register__card-preview { width: min(100%, 430px); border-color: #ffffff5c; box-shadow: 0 26px 58px #17051a70, 8px 10px 0 #ff3d974d; transform: rotate(-1.4deg); }
.auth-register__card-preview .card-design-preview__identity strong { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-register--onboarding .auth-register__drawer-preview { min-height: min(470px, 52vh); }
.auth-register--onboarding .auth-register__form-panel { position: relative; height: 100dvh; padding: clamp(26px, 4vh, 42px) clamp(32px, 5vw, 76px) 0; overflow: hidden; }
.auth-register--onboarding .auth-register__form-head, .auth-register__form-inner { width: min(100%, 820px); margin-right: auto; margin-left: auto; }
.auth-register--onboarding .auth-register__form-head { justify-content: flex-end; }
.auth-register__return-links { display: flex; align-items: center; gap: 11px; }
.auth-register__return-links > button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--berry); cursor: pointer; font: 750 .78rem/1.2 var(--heading); }
.auth-register__return-links > button:hover { color: var(--pink); }
.auth-register__return-links > span { width: 4px; height: 4px; border-radius: 50%; background: #9c7292; }
.auth-register__return-links p { white-space: nowrap; }
.auth-register__save-trigger { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #3f1a4026; border-radius: 12px; background: #fff8fc; color: var(--plum); cursor: pointer; font: 800 .74rem/1 var(--heading); transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.auth-register__save-trigger > span:first-child { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 7px; background: #ffe2f0; color: var(--pink); font-size: .7rem; }
.auth-register__save-trigger:hover { border-color: #ff3d9770; color: var(--pink); transform: translateY(-1px); }
.auth-register__save-trigger.is-saving { cursor: wait; opacity: .72; }
.auth-register__save-trigger.is-saved { border-color: #2094683d; background: #effbf6; color: #16724e; }
.auth-register__save-trigger.is-saved > span:first-child { background: #d9f4e8; color: #16724e; }
.auth-register__save-trigger[hidden] { display: none !important; }
.auth-register--onboarding .form-field input:not([type="checkbox"], [type="radio"], [type="color"]), .auth-register--onboarding .form-field select, .auth-register--onboarding .stamp-icon-search .form-control { box-sizing: border-box; height: 58px; min-height: 58px; padding-top: 0; padding-bottom: 0; font-family: inherit; font-size: 1rem; line-height: 1.25; }
.auth-register--onboarding .form-field select { padding-right: 48px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 2.5 5 5 5-5' fill='none' stroke='%233f1a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 17px center; background-size: 14px 10px; }
.auth-register--onboarding .wizard-actions--first { justify-content: flex-end; }
.auth-register__form-inner { display: flex; min-height: 0; padding-bottom: 124px; overflow-x: hidden; overflow-y: auto; flex: 1 1 auto; flex-direction: column; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-width: none; }
.auth-register__form-inner:has(.searchable-select.is-open) { padding-bottom: min(590px, 72vh); }
.auth-register__form-inner::-webkit-scrollbar, .auth-registration-body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.auth-registration-body { scrollbar-width: none; }
html:has(.auth-registration-body) { background: var(--deep); scrollbar-width: none; }
html:has(.auth-registration-body)::-webkit-scrollbar { display: none; width: 0; height: 0; }
.auth-register--onboarding .wizard-step { padding-bottom: 10px; }
.auth-register--onboarding .wizard-step--compact { display: flex; min-height: 0; flex: 1 0 auto; flex-direction: column; justify-content: center; }
.auth-register--onboarding .wizard-step--designer, .auth-register--onboarding .wizard-step--location { min-height: 0; flex: 0 0 auto; }
.auth-register__step-kicker { display: block; margin-bottom: 9px; color: var(--pink); font: 800 .72rem/1 var(--heading); letter-spacing: .09em; text-transform: uppercase; }
.auth-register--onboarding .wizard-step h2 { font-size: clamp(2.15rem, 3.2vw, 3.3rem); }
.auth-register--onboarding .wizard-step > p { margin-top: 9px; }
.auth-register__identity-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-register__identity-fields > :last-child { grid-column: 1 / -1; }
.auth-register__programme-basics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px; gap: 12px; margin-top: 25px; }
.auth-register__logo-editor { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 16px; margin-top: 18px; padding: 16px; border: 1px solid #3f1a4020; border-radius: 19px; background: linear-gradient(145deg, #fff 0%, #fff8fc 100%); }
.auth-register__logo-mark { display: grid; width: 68px; height: 68px; place-items: center; overflow: hidden; border: 1px solid #3f1a4028; border-radius: 17px; background: var(--mist); color: var(--plum); }
.auth-register__logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.auth-register__logo-mark.has-image { border-color: transparent; background: transparent; }
.auth-register__logo-mark svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.auth-register__logo-mark .program-logo-editor__initials { font: 900 1.35rem/1 var(--heading); letter-spacing: -.05em; }
.auth-register__logo-editor .company-logo-editor__copy { min-width: 0; }
.auth-register__logo-editor .company-logo-editor__copy strong { font-size: .92rem; }
.auth-register__logo-editor .company-logo-editor__copy p { max-width: 460px; font-size: .78rem; }
.auth-register__logo-editor .company-logo-editor__actions { justify-content: flex-end; }
.auth-register__logo-editor .company-logo-editor__actions .mc-button { min-height: 52px; padding-inline: 22px; white-space: nowrap; }
.program-logo-editor { margin-top: 0; }
.auth-register__randomizer { margin-top: 18px; }
.auth-register__randomizer .card-randomizer__history-button span { font-size: 1.05rem; }
.auth-register__design-group, .auth-register__advanced-design, .auth-register__map-card { margin-top: 18px; padding: 18px; border: 1px solid #3f1a401c; border-radius: 20px; background: linear-gradient(145deg, #fff 0%, #fff8fc 100%); box-shadow: 0 10px 28px #32112d09; }
.auth-register__design-group .editor-control-group__head { margin-bottom: 13px; }
.auth-register__option-scroll { max-height: 248px; }
.auth-register__advanced-design summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--ink); cursor: pointer; font: 800 .9rem/1.3 var(--heading); }
.auth-register__advanced-design summary span { padding: 5px 8px; border-radius: 999px; background: var(--mist); color: var(--berry); font-size: .64rem; }
.auth-register__advanced-design[open] summary { margin-bottom: 15px; }
.auth-register__advanced-design .check-row { margin-top: 4px; }
.auth-register__stamp-options { max-height: 330px; }
.auth-register__stamp-options.stamp-icon-options--compact { max-height: none; }
.auth-register__drawer-colours > .check-row span { display: grid; gap: 2px; }
.auth-register__drawer-colours .drawer-color-controls { margin-top: 15px; }
.auth-register__drawer-colours .drawer-color-controls section { padding: 14px; border-radius: 16px; }
.auth-register__location-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.auth-register__map-card { padding: 0; overflow: hidden; }
.auth-register__map-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid #3f1a4018; }
.auth-register__map-head > div { display: grid; gap: 3px; }
.auth-register__map-head strong { color: var(--ink); font: 800 .95rem/1.25 var(--heading); }
.auth-register__map-head small { color: var(--berry); font-size: .74rem; }
.auth-register__map-head .location-tool-button { min-height: 42px; }
.auth-register__geolocation-status { margin: 12px 18px 0; padding: 10px 12px; border-radius: 12px; background: #f4eaf0; color: var(--berry); font-size: .76rem; line-height: 1.4; }
.auth-register__geolocation-status.is-loading { background: #fff1f7; color: #8a2e67; }
.auth-register__geolocation-status.is-success { background: #eaf8f1; color: #176b4a; }
.auth-register__geolocation-status.is-error { background: #fff0f4; color: #9c214d; }
.auth-register__geolocation-status[hidden] { display: none !important; }
.auth-register__map-shell { height: 320px; min-height: 280px; margin: 14px; }
.auth-register__map-shell .location-map { min-height: 280px; }
.auth-register__map-card .location-map-feedback { padding: 15px 18px 17px; }
.auth-register__map-card > .field-error { margin: 0 18px 17px; padding: 0; }
.auth-register__action-dock { position: absolute; z-index: 30; right: 0; bottom: 0; left: 0; padding: 30px clamp(32px, 5vw, 76px) clamp(20px, 3vh, 30px); border-top: 1px solid #3f1a4012; background: linear-gradient(0deg, #fff 0 72%, #fffdfef2 84%, #fff0 100%); pointer-events: none; }
.auth-register__action-dock .wizard-actions { width: min(100%, 820px); margin: 0 auto; padding: 0; pointer-events: auto; }
.auth-register__action-dock .mc-button:disabled { border-color: #3f1a4038; background: #f2edf0; color: #806d7c; box-shadow: 0 3px 0 #3f1a4024; cursor: not-allowed; filter: saturate(.35); opacity: .72; pointer-events: auto; transform: none; }
.auth-register__action-dock [hidden] { display: none !important; }
.onboarding-progress-dialog { width: min(100% - 32px, 540px); padding: 0; overflow: hidden; border-width: 1.5px; border-radius: 24px; background: #fff; box-shadow: 0 10px 0 var(--plum), 0 30px 80px #21082359; }
.onboarding-progress-dialog::backdrop { background: #210823b3; backdrop-filter: blur(7px); }
.onboarding-progress-dialog .mc-modal__header { position: relative; padding: 22px 24px 18px; overflow: hidden; border-bottom: 1px solid #3f1a4015; background: linear-gradient(120deg, #fff 0%, #fff3f9 100%); }
.onboarding-progress-dialog .mc-modal__header::after { position: absolute; top: -67px; right: -45px; width: 125px; height: 125px; border: 22px solid #ff3d970d; border-radius: 50%; content: ""; }
.onboarding-progress-dialog .mc-modal__header h2 { position: relative; z-index: 1; max-width: calc(100% - 52px); margin: 0; color: var(--ink); font-size: 1.32rem; line-height: 1.15; letter-spacing: -.025em; }
.onboarding-progress-dialog .mc-modal__header button { position: relative; z-index: 1; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid #3f1a4024; border-radius: 12px; background: #fff; color: var(--plum); cursor: pointer; font-size: 1.35rem; line-height: 1; transition: border-color .2s ease, color .2s ease, transform .2s ease; }
.onboarding-progress-dialog .mc-modal__header button:hover { border-color: var(--pink); color: var(--pink); transform: rotate(5deg); }
.onboarding-progress-dialog .mc-modal__header button:focus-visible { border-color: #ff3d9770; box-shadow: 0 0 0 4px #ff3d9718; }
.onboarding-progress-dialog__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px 24px; border-bottom: 1px solid #3f1a4015; background: #fffafd; }
.onboarding-progress-dialog__tabs > button { display: grid; min-width: 0; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 11px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--berry); cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.onboarding-progress-dialog__tabs > button > span:first-child { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #f4e9f0; color: var(--berry); font: 900 .82rem/1 var(--heading); }
.onboarding-progress-dialog__tabs > button > span:last-child { display: grid; min-width: 0; gap: 3px; }
.onboarding-progress-dialog__tabs strong { overflow: hidden; font: 800 .75rem/1.2 var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.onboarding-progress-dialog__tabs small { overflow: hidden; font-size: .63rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.onboarding-progress-dialog__tabs > button:hover:not(:disabled) { border-color: #ff3d9735; background: #fff; color: var(--pink); transform: translateY(-1px); }
.onboarding-progress-dialog__tabs > button[aria-selected="true"] { border-color: #ff3d9745; background: #fff; color: var(--plum); box-shadow: 0 5px 16px #3f1a400d; }
.onboarding-progress-dialog__tabs > button[aria-selected="true"] > span:first-child { background: linear-gradient(145deg, var(--pink), #b02677); color: #fff; box-shadow: 0 5px 12px #ff3d9723; }
.onboarding-progress-dialog__tabs > button:focus { outline: 0; }
.onboarding-progress-dialog__tabs > button:focus-visible { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 3px #ff3d9718; }
.onboarding-progress-dialog__tabs > button:disabled { cursor: not-allowed; opacity: .42; }
.onboarding-progress-dialog [data-onboarding-progress-panel][hidden] { display: none !important; }
.onboarding-progress-dialog__form { display: grid; gap: 16px; padding: 22px 24px 24px; }
.onboarding-progress-dialog__intro { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 14px; }
.onboarding-progress-dialog__intro > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: linear-gradient(145deg, var(--pink), #b02677); color: #fff; box-shadow: 0 8px 20px #ff3d9725; font: 900 1.15rem/1 var(--heading); }
.onboarding-progress-dialog__intro--resume > span { background: var(--plum); box-shadow: 0 8px 20px #3f1a4025; }
.onboarding-progress-dialog__intro strong { display: block; color: var(--ink); font: 800 .95rem/1.3 var(--heading); }
.onboarding-progress-dialog__intro p { margin-top: 4px; color: var(--berry); font-size: .8rem; line-height: 1.5; }
.onboarding-progress-dialog .form-field { gap: 7px; }
.onboarding-progress-dialog .form-field .form-control { min-height: 56px; border-width: 1.5px; border-color: #7a1b5c3b; border-radius: 15px; background: #fffbfd; font-size: 1rem; }
.onboarding-progress-dialog .form-field .form-control:focus { border-color: var(--pink); box-shadow: 0 0 0 4px #ff3d9713; }
.onboarding-progress-dialog__consent { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--ink); cursor: pointer; font-family: inherit; font-size: .88rem; font-weight: 400; line-height: 1.4; }
.onboarding-progress-dialog__consent .form-check-input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; border-width: 1.5px; border-color: #7a1b5c7a; border-radius: 6px; }
.onboarding-progress-dialog__consent span { padding-top: 1px; }
.onboarding-progress-dialog__status { color: #237052; font: 750 .76rem/1.4 var(--heading); }
.onboarding-progress-dialog__status:empty { display: none; }
.onboarding-progress-dialog__status.is-error { color: #a52052; }
.onboarding-progress-dialog .mc-modal__actions { margin: 4px -24px -24px; padding: 18px 24px 22px; border-top: 1px solid #3f1a4017; background: #fffafd; }
.auth-register__access-fields { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-register__access-fields > :first-child, .auth-register__access-fields > [data-email-status], .auth-register__access-fields > .auth-register__password-rules, .auth-register__access-fields > .auth-register__terms, .auth-register__access-fields > .field-error { grid-column: 1 / -1; }
.auth-register__access-fields .auth-register__terms { padding: 4px 0; border: 0; border-radius: 0; background: transparent; }
.auth-register__location-preview { position: relative; width: min(100%, 380px); min-height: 390px; padding: 230px 28px 26px; overflow: hidden; border: 1px solid #ffffff42; border-radius: 28px; background: #fffafd; color: var(--ink); box-shadow: 0 25px 55px #14051673, 8px 10px 0 #ff3d9766; transform: rotate(-1deg); }
.auth-register__location-map-art { position: absolute; inset: 0 0 auto; height: 218px; overflow: hidden; background: #f6e7ef; }
.auth-register__location-map-art::before, .auth-register__location-map-art::after, .auth-register__location-map-art span { position: absolute; content: ""; }
.auth-register__location-map-art::before { inset: 35px -30px auto; height: 24px; border-top: 13px solid #fff; border-bottom: 13px solid #fff; transform: rotate(17deg); }
.auth-register__location-map-art::after { top: -20px; left: 110px; width: 42px; height: 280px; border-right: 15px solid #fff; border-left: 15px solid #fff; transform: rotate(-24deg); }
.auth-register__location-map-art span { top: 35px; left: 22px; width: 92px; height: 72px; border-radius: 15px; background: #dcebdc; box-shadow: 205px 68px 0 #dcebdc, 120px 118px 0 #eadce8; }
.auth-register__location-pin { position: absolute; z-index: 2; top: 73px; left: 50%; display: grid; width: 55px; height: 55px; place-items: center; border: 4px solid var(--plum); border-radius: 50% 50% 50% 10px; background: var(--pink); box-shadow: 0 7px 0 var(--plum), 0 12px 22px #3f1a4045; transform: translateX(-50%) rotate(-45deg); }
.auth-register__location-pin span { width: 17px; height: 17px; border-radius: 50%; background: #fff; }
.auth-register__location-preview > small { color: var(--pink); font: 800 .66rem/1 var(--heading); letter-spacing: .09em; }.auth-register__location-preview h3 { margin-top: 7px; font-size: 1.55rem; }.auth-register__location-preview > p { margin-top: 5px; color: var(--berry); font-size: .82rem; }
.auth-register__location-preview > div:last-child { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #3f1a4018; color: var(--berry); font-size: .75rem; }.auth-register__location-preview > div:last-child span { width: 10px; height: 10px; border-radius: 50%; background: #20a36b; box-shadow: 0 0 0 5px #20a36b18; }

@media (max-width: 1100px) {
    .auth-register--onboarding { grid-template-columns: minmax(360px, 40%) minmax(0, 60%); }
    .auth-register--onboarding .auth-register__story { padding-right: 30px; padding-left: 30px; }.auth-register--onboarding .auth-register__story-copy { min-height: 175px; }
    .auth-register__programme-basics { grid-template-columns: 1fr 1fr; }.auth-register__programme-basics > :last-child { grid-column: 1 / -1; }
    .auth-register__access-fields { grid-template-columns: 1fr; }
    .auth-register__access-fields > * { grid-column: auto; }
}

@media (max-width: 900px) {
    html:has(.auth-registration-body) { min-height: 100%; overflow-y: auto; }
    .auth-registration-body { width: 100%; height: auto; min-height: 100dvh; overflow: visible; overscroll-behavior-y: auto; background: linear-gradient(var(--deep) 0 52%, #fff 52% 100%); }.auth-registration-body .auth-shell { width: 100%; height: auto; min-height: 100dvh; overflow: visible; background: transparent; }
    .auth-registration-body .auth-shell::before, .auth-registration-body .auth-shell::after { display: none; }
    .auth-registration-body .auth-brand { position: absolute; z-index: 15; top: calc(env(safe-area-inset-top) + 20px); left: max(20px, calc(env(safe-area-inset-left) + 14px)); }.auth-registration-body .auth-brand .brand { color: #fff; }
    .auth-register--onboarding { display: flex; width: 100%; max-width: 100%; height: auto; min-height: 100dvh; overflow: visible; flex-direction: column; }
    .auth-register--onboarding .auth-register__story { position: relative; z-index: 1; top: auto; display: flex; width: 100%; height: calc(clamp(286px, 40svh, 330px) + env(safe-area-inset-top)); min-height: calc(286px + env(safe-area-inset-top)); flex: 0 0 auto; gap: 10px; padding: calc(72px + env(safe-area-inset-top)) max(18px, calc(env(safe-area-inset-right) + 14px)) 18px max(18px, calc(env(safe-area-inset-left) + 14px)); }
    .auth-register--onboarding .auth-register__story-copy { min-height: 0; }.auth-register--onboarding .auth-register__story-copy > p { display: none; }
    .auth-register--onboarding .auth-register__story h1 { max-width: 52%; font-size: clamp(1.35rem, 6.5vw, 1.8rem); line-height: 1.04; }
    .auth-register--onboarding .auth-register__preview { position: absolute; right: 16px; bottom: 26px; width: 44%; margin: 0; }
    .auth-register__card-preview { border-radius: 14px; padding: 8px; box-shadow: 0 12px 24px #17051a66, 4px 5px 0 #ff3d974d; }.auth-register__card-preview .card-design-preview__logo { width: 24px; height: 24px; border-radius: 7px; font-size: .55rem; }.auth-register__card-preview .card-design-preview__identity strong { max-width: 72px; font-size: .52rem; }.auth-register__card-preview .card-design-preview__reward small { font-size: .39rem; }.auth-register__card-preview .card-design-preview__reward strong { font-size: .7rem; }.auth-register__card-preview .card-design-preview__footer { font-size: .48rem; }
    .auth-register--onboarding .auth-register__drawer-preview { width: 155px; min-height: 220px; padding: 7px 9px 9px; border-radius: 17px 17px 11px 11px; }.auth-register__drawer-preview .drawer-design-preview__handle { width: 34px; }.auth-register__drawer-preview .drawer-design-preview__close { top: 8px; right: 8px; width: 24px; height: 24px; }.auth-register__drawer-preview .drawer-design-preview__logo { width: 35px; height: 35px; margin-top: 7px; border-radius: 9px; font-size: .7rem; }.auth-register__drawer-preview .drawer-design-preview__company { margin-top: 5px; font-size: .48rem; }.auth-register__drawer-preview h3 { font-size: .8rem; }.auth-register__drawer-preview .drawer-design-preview__description { margin-top: 2px; font-size: .44rem; }.auth-register__drawer-preview .drawer-design-preview__stamps { gap: 3px; margin-top: 7px; }.auth-register__drawer-preview .drawer-design-preview__stamps > span { width: 22px; height: 22px; border-width: 1px; }.auth-register__drawer-preview .drawer-design-preview__stamps > span.is-received::before { width: 16px; height: 16px; }.auth-register__drawer-preview .drawer-design-preview__stamps i, .auth-register__drawer-preview .drawer-design-preview__stamps i svg { width: 10px; height: 10px; }.auth-register__drawer-preview .drawer-design-preview__button { min-height: 24px; margin-top: auto; font-size: .5rem; }
    .auth-register__location-preview { width: 155px; min-height: 216px; padding: 126px 12px 12px; border-radius: 17px; }.auth-register__location-map-art { height: 116px; }.auth-register__location-pin { top: 34px; width: 36px; height: 36px; border-width: 3px; }.auth-register__location-pin span { width: 10px; height: 10px; }.auth-register__location-preview h3 { margin-top: 4px; font-size: .8rem; }.auth-register__location-preview > p { font-size: .54rem; }.auth-register__location-preview > div:last-child { margin-top: 8px; padding-top: 8px; font-size: .48rem; }
    .auth-register--onboarding .auth-register__form-panel { position: relative; z-index: 3; width: 100%; max-width: 100%; height: auto; min-height: 100svh; margin-top: -22px; padding: 26px max(22px, calc(env(safe-area-inset-right) + 18px)) 0 max(22px, calc(env(safe-area-inset-left) + 18px)); overflow: visible; border-radius: 28px 28px 0 0; box-shadow: 0 -12px 35px #1d081f25; }
    .auth-register--onboarding .auth-register__form-head { width: 100%; min-width: 0; align-items: flex-end; margin-bottom: 20px; }.auth-register__return-links { min-width: 0; align-items: flex-start; flex-direction: column-reverse; gap: 6px; }.auth-register__return-links > span { display: none; }.auth-register--onboarding .auth-register__form-head p { max-width: none; line-height: 1.35; text-align: left; white-space: normal; }.auth-register--onboarding .auth-register__form-head a { display: inline; width: auto; margin-left: 0; white-space: nowrap; }.auth-register__save-trigger { min-height: 36px; flex: 0 0 auto; padding: 6px 10px; font-size: .68rem; }.auth-register__form-inner { display: block; width: 100%; max-width: 100%; padding-bottom: 24px; overflow: visible; flex: none; overscroll-behavior: auto; }
    .onboarding-progress-dialog { width: min(100% - 24px, 520px); border-radius: 21px; }.onboarding-progress-dialog .mc-modal__header { padding: 18px 19px 15px; }.onboarding-progress-dialog .mc-modal__header h2 { font-size: 1.15rem; }.onboarding-progress-dialog .mc-modal__header button { width: 35px; height: 35px; }.onboarding-progress-dialog__tabs { gap: 6px; padding: 11px 14px; }.onboarding-progress-dialog__tabs > button { grid-template-columns: 29px minmax(0, 1fr); gap: 7px; padding: 9px 7px; border-radius: 12px; }.onboarding-progress-dialog__tabs > button > span:first-child { width: 29px; height: 29px; border-radius: 9px; }.onboarding-progress-dialog__tabs strong { font-size: .67rem; }.onboarding-progress-dialog__tabs small { display: none; }.onboarding-progress-dialog__form { gap: 15px; padding: 18px 19px 19px; }.onboarding-progress-dialog__intro { grid-template-columns: 43px minmax(0, 1fr); }.onboarding-progress-dialog__intro > span { width: 43px; height: 43px; border-radius: 13px; }.onboarding-progress-dialog .mc-modal__actions { align-items: stretch; flex-direction: column-reverse; margin: 2px -19px -19px; padding: 16px 19px 19px; }.onboarding-progress-dialog .mc-modal__actions .mc-button { width: 100%; }
    .auth-register--onboarding .wizard-step, .auth-register--onboarding .wizard-step--designer, .auth-register--onboarding .wizard-step--location { width: 100%; max-width: 100%; min-width: 0; min-height: calc(100svh - 160px); }
    .auth-register--onboarding .wizard-step--compact { justify-content: flex-start; }
    .auth-register__identity-fields, .auth-register__programme-basics, .auth-register__location-fields { grid-template-columns: 1fr; }.auth-register__identity-fields > :last-child, .auth-register__programme-basics > :last-child { grid-column: auto; }
    .auth-register__logo-editor { grid-template-columns: 58px minmax(0, 1fr); gap: 13px; padding: 14px; }
    .auth-register__logo-mark { width: 58px; height: 58px; border-radius: 15px; }
    .auth-register__logo-editor .company-logo-editor__actions { width: 100%; grid-column: 1 / -1; align-items: stretch; flex-direction: row; }
    .auth-register__logo-editor .company-logo-editor__actions .mc-button { width: auto; flex: 1; text-align: center; }
    .auth-register__design-group, .auth-register__advanced-design, .auth-register__map-card, .stamp-icon-browser { width: 100%; max-width: 100%; min-width: 0; }.auth-register__design-group, .auth-register__advanced-design { padding: 14px; border-radius: 17px; }.auth-register__option-scroll { max-height: 290px; }.auth-register__stamp-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .auth-register--onboarding .form-field input:not([type="checkbox"], [type="radio"], [type="color"]), .auth-register--onboarding .form-field select, .auth-register--onboarding .stamp-icon-search .form-control { height: 54px; min-height: 54px; font-size: 1rem; }
    .auth-register__map-head { align-items: stretch; flex-direction: column; }.auth-register__map-shell { height: 300px; }
    .auth-register--onboarding .auth-register__form-inner { overflow: visible; padding-bottom: 118px; }
    .auth-register--onboarding .auth-register__form-inner:has(.searchable-select.is-open) { padding-bottom: min(570px, 68vh); }
    .auth-register__action-dock { position: fixed; width: 100%; max-width: 100vw; box-sizing: border-box; padding: 25px max(18px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); background: linear-gradient(0deg, #fff 0 74%, #fffdfef2 86%, #fff0 100%); }
    .auth-register__action-dock .wizard-actions { align-items: stretch; flex-direction: row; gap: 9px; }
    .auth-register__action-dock .wizard-actions .mc-button { width: auto; min-width: 0; }
    .auth-register__action-dock .wizard-actions:not(.wizard-actions--first) .mc-button--line { flex: 0 0 auto; }
    .auth-register__action-dock .wizard-actions:not(.wizard-actions--first) .mc-button:not(.mc-button--line) { flex: 1 1 auto; }
    .auth-register__action-dock .wizard-actions--first .mc-button { width: 100%; }
}

@media (max-width: 460px) {
    .auth-register__action-dock .wizard-actions .mc-button { min-height: 48px; padding-right: 14px; padding-left: 14px; font-size: .74rem; line-height: 1.2; text-align: center; white-space: normal; }
}

/* Revenue views are declared after the shared dashboard breakpoints, so keep
   their responsive overrides last in the cascade. */
@media (max-width: 1100px) {
    .revenue-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .revenue-grid { grid-template-columns: 1fr; }
    .revenue-card--chart, .revenue-card--setup { grid-column: 1 / -1; }
    .revenue-card--chart::before, .revenue-card--setup::before { display: none; }
    .revenue-card--setup { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; }
    .revenue-card--setup > header { border-bottom: 0; }
    .revenue-card--setup > a { grid-column: 1 / -1; margin: 0 24px 22px; }
    .revenue-programmes__list > article { grid-template-columns: 44px minmax(180px, 1.2fr) repeat(2, minmax(100px, .7fr)) minmax(140px, .9fr) auto; }
    .revenue-programmes__list > article > div:nth-of-type(4) { display: none; }
    .overview-revenue { grid-template-columns: 58px minmax(0, 1fr) minmax(180px, .65fr); }
    .overview-revenue__coverage { grid-column: 2; }
    .overview-revenue > a { grid-column: 3; grid-row: 2; }
}

@media (max-width: 680px) {
    .revenue-hero { min-height: 0; align-items: stretch; flex-direction: column; padding: 27px 21px; }
    .revenue-period { width: 100%; overflow-x: auto; }
    .revenue-period button { flex: 1 0 auto; }
    .revenue-kpis { grid-template-columns: 1fr; }
    .revenue-kpi { min-height: 205px; }
    .program-projection__profit { grid-template-columns: 1fr; }
    .revenue-card > header, .revenue-programmes > header { align-items: flex-start; flex-direction: column; padding: 20px; }
    .revenue-card--chart { min-height: 390px; }
    .revenue-chart { padding-inline: 15px; }
    .revenue-card--setup { display: flex; }
    .revenue-programmes__list > article, .revenue-programmes__list > article.is-unconfigured { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
    .revenue-programmes__list > article > div:not(.revenue-programmes__identity, .revenue-programmes__missing) { display: none; }
    .revenue-programmes__missing { grid-column: 2 / -1; }
    .overview-revenue { grid-template-columns: 50px minmax(0, 1fr); gap: 17px; padding: 19px; }
    .overview-revenue__icon { width: 50px; height: 50px; border-radius: 15px; }
    .overview-revenue__forecast, .overview-revenue__coverage, .overview-revenue > a { grid-column: 1 / -1; grid-row: auto; }
    .overview-revenue__forecast, .overview-revenue__coverage { padding-top: 14px; border-top: 1px solid #3f1a4018; }
}
