:root {
    --bg: #f4f7fb;
    --panel: #ffffff;
    --text: #101828;
    --muted: #667085;
    --line: #d9e2f2;
    --blue: #0757c8;
    --blue-dark: #063f98;
    --red: #e21d3d;
    --green: #1c9a5b;
    --shadow: rgba(28, 45, 84, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(18px, 4vw, 56px);
    border-top: 4px solid var(--red);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.editor-page {
    min-height: 100vh;
    background: #eef3fa;
}

.editor-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 clamp(18px, 4vw, 48px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.editor-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.editor-shell {
    display: grid;
    gap: 18px;
    padding: 24px clamp(16px, 4vw, 48px) 42px;
}

.editor-toolbar {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(220px, 1fr) auto;
    gap: 16px;
    align-items: end;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(28, 45, 84, 0.08);
}

.editor-toolbar label,
.editor-panel label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.editor-toolbar select,
.editor-toolbar input,
.editor-panel textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: #fff;
    font: inherit;
}

.editor-toolbar select,
.editor-toolbar input {
    height: 44px;
    padding: 0 12px;
}

.editor-toolbar p {
    margin: 0;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.editor-workspace {
    display: grid;
    grid-template-columns: minmax(280px, 38%) minmax(360px, 1fr);
    gap: 18px;
    align-items: start;
}

.editor-list,
.editor-panel {
    min-height: 620px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(28, 45, 84, 0.08);
}

.editor-list {
    overflow: hidden;
}

.editor-list-head,
.editor-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
}

.editor-list-head span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

#block-list {
    max-height: 562px;
    overflow: auto;
    padding: 10px;
}

.editor-block {
    width: 100%;
    display: grid;
    gap: 6px;
    margin: 0 0 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px;
    color: var(--text);
    background: #f7faff;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.editor-block:hover,
.editor-block.active {
    border-color: var(--blue);
    background: #eef5ff;
}

.editor-block.edited {
    border-color: rgba(28, 154, 91, 0.45);
}

.editor-block strong {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    line-height: 1.35;
}

.editor-block span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.editor-panel {
    padding: 0 20px 20px;
}

.editor-panel-head {
    margin: 0 -20px 18px;
}

.editor-panel-head button {
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--blue-dark);
    background: #fff;
    cursor: pointer;
    font-weight: 800;
}

.source-preview {
    min-height: 88px;
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 8px;
    color: #243b63;
    background: #f7faff;
}

.editor-panel textarea {
    min-height: 260px;
    padding: 14px;
    resize: vertical;
}

.editor-hint {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--blue);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.84);
}

.lang-switcher button {
    min-width: 34px;
    min-height: 30px;
    border: 0;
    border-radius: 6px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
}

.lang-switcher button.active,
.lang-switcher button:hover {
    color: #fff;
    background: var(--blue);
}

.header-action,
.secondary-button,
.primary-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 800;
}

.header-action,
.secondary-button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue-dark);
}

.primary-button {
    border: 1px solid var(--blue);
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 28px rgba(7, 87, 200, 0.18);
}

.hero-section {
    position: relative;
    min-height: calc(100vh - 72px);
    display: grid;
    align-items: center;
    padding: 72px clamp(18px, 5vw, 72px);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(244, 247, 251, 0.97) 0%, rgba(244, 247, 251, 0.88) 42%, rgba(244, 247, 251, 0.28) 100%),
        radial-gradient(circle at 78% 34%, rgba(7, 87, 200, 0.2), transparent 26%),
        radial-gradient(circle at 88% 66%, rgba(226, 29, 61, 0.12), transparent 24%),
        linear-gradient(135deg, #f9fbff, #dfe8f6 52%, #c9d7ed);
}

.global-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.72;
    pointer-events: none;
    background:
        radial-gradient(circle at 73% 28%, rgba(7, 87, 200, 0.18), transparent 24%),
        radial-gradient(circle at 56% 58%, rgba(226, 29, 61, 0.12), transparent 22%),
        linear-gradient(90deg, rgba(7, 87, 200, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.055) 1px, transparent 1px);
    background-size: auto, auto, 42px 42px, 42px 42px;
}

.global-backdrop::before {
    content: "";
    position: absolute;
    inset: 9% 3% 6% 39%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 25% 38%, rgba(7, 87, 200, 0.2) 0 2px, transparent 3px),
        radial-gradient(circle at 38% 24%, rgba(7, 87, 200, 0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 51% 44%, rgba(226, 29, 61, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 68% 36%, rgba(28, 154, 91, 0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 76% 58%, rgba(7, 87, 200, 0.16) 0 2px, transparent 3px),
        radial-gradient(circle at 58% 71%, rgba(7, 87, 200, 0.14) 0 2px, transparent 3px);
    border: 1px solid rgba(7, 87, 200, 0.08);
    box-shadow: inset 0 0 90px rgba(7, 87, 200, 0.08);
}

.continent {
    position: absolute;
    display: block;
    border: 1px solid rgba(7, 87, 200, 0.13);
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 20px 50px rgba(28, 45, 84, 0.08);
}

.continent-europe {
    right: 33%;
    top: 22%;
    width: 140px;
    height: 92px;
    border-radius: 60% 44% 54% 48%;
    transform: rotate(-14deg);
}

.continent-asia {
    right: 11%;
    top: 20%;
    width: 270px;
    height: 174px;
    border-radius: 46% 62% 50% 64%;
    transform: rotate(11deg);
}

.continent-middle-east {
    right: 34%;
    top: 43%;
    width: 168px;
    height: 88px;
    border-radius: 42% 58% 46% 54%;
    transform: rotate(18deg);
}

.continent-africa {
    right: 40%;
    top: 55%;
    width: 138px;
    height: 170px;
    border-radius: 54% 46% 62% 40%;
    transform: rotate(-6deg);
}

.global-route {
    position: absolute;
    z-index: 1;
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(226, 29, 61, 0.1), rgba(7, 87, 200, 0.42), rgba(28, 154, 91, 0.16));
}

.route-a {
    left: 49%;
    top: 40%;
    width: 31%;
    transform: rotate(-17deg);
}

.route-b {
    left: 52%;
    top: 52%;
    width: 28%;
    transform: rotate(11deg);
}

.route-c {
    left: 45%;
    top: 64%;
    width: 34%;
    transform: rotate(-35deg);
}

.hero-media {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center end;
    padding-right: clamp(20px, 7vw, 96px);
    pointer-events: none;
}

.route-map {
    position: relative;
    width: min(520px, 44vw);
    aspect-ratio: 1.18;
    border: 1px solid rgba(7, 87, 200, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(7, 87, 200, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.08) 1px, transparent 1px),
        rgba(255, 255, 255, 0.62);
    background-size: 46px 46px;
    box-shadow: 0 30px 70px var(--shadow);
}

.map-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 0 0 9px rgba(7, 87, 200, 0.1);
}

.dot-client {
    left: 16%;
    top: 62%;
}

.dot-rapay {
    left: 48%;
    top: 36%;
    background: var(--red);
    box-shadow: 0 0 0 9px rgba(226, 29, 61, 0.12);
}

.dot-platform {
    right: 16%;
    top: 54%;
    background: var(--green);
    box-shadow: 0 0 0 9px rgba(28, 154, 91, 0.12);
}

.map-line {
    position: absolute;
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(7, 87, 200, 0.22), rgba(7, 87, 200, 0.78));
}

.line-client {
    left: 19%;
    top: 61%;
    width: 34%;
    transform: rotate(-31deg);
}

.line-platform {
    left: 51%;
    top: 39%;
    width: 34%;
    transform: rotate(25deg);
}

.map-label {
    position: absolute;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(28, 45, 84, 0.12);
}

.label-client {
    left: 8%;
    top: 68%;
}

.label-rapay {
    left: 43%;
    top: 22%;
}

.label-platform {
    right: 7%;
    top: 62%;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
}

.eyebrow,
.section-kicker {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.hero-copy {
    width: min(610px, 100%);
    margin-bottom: 32px;
    color: #344054;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.metrics-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--line);
}

.metrics-band div {
    min-height: 124px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 24px clamp(18px, 5vw, 72px);
    background: #fff;
}

.metrics-band strong {
    font-size: 28px;
    line-height: 1;
}

.metrics-band span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.section {
    padding: 92px clamp(18px, 5vw, 72px);
}

.two-column {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 1.14fr);
    gap: clamp(32px, 6vw, 90px);
    align-items: start;
}

.text-stack {
    display: grid;
    gap: 18px;
    color: #344054;
    font-size: 18px;
}

.section-heading {
    width: min(760px, 100%);
    margin-bottom: 34px;
}

.section-heading p {
    color: var(--muted);
    font-size: 18px;
}

.company-section {
    background: #fff;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.company-grid article {
    min-height: 250px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 16px 34px rgba(28, 45, 84, 0.07);
}

.sector-code {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.company-grid p {
    color: var(--muted);
}

.proof-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7, 87, 200, 0.08), rgba(226, 29, 61, 0.06)),
        linear-gradient(90deg, rgba(7, 87, 200, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.055) 1px, transparent 1px),
        #f4f7fb;
    background-size: auto, 44px 44px, 44px 44px, auto;
}

.finance-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0.68;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 22%, rgba(7, 87, 200, 0.16), transparent 24%),
        radial-gradient(circle at 82% 74%, rgba(226, 29, 61, 0.1), transparent 24%),
        linear-gradient(90deg, rgba(7, 87, 200, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.055) 1px, transparent 1px);
    background-size: auto, auto, 54px 54px, 54px 54px;
}

.finance-backdrop::before,
.finance-backdrop::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 126px;
    border: 1px solid rgba(7, 87, 200, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(7, 87, 200, 0.14), rgba(7, 87, 200, 0.03)),
        rgba(255, 255, 255, 0.42);
    box-shadow: 0 24px 55px rgba(28, 45, 84, 0.08);
}

.finance-backdrop::before {
    left: 7%;
    top: 18%;
    transform: rotate(-11deg);
}

.finance-backdrop::after {
    right: 8%;
    bottom: 14%;
    transform: rotate(13deg);
}

.proof-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(28px, 5vw, 56px);
    background: #fff;
    box-shadow: 0 24px 54px rgba(28, 45, 84, 0.11);
}

.proof-card > p {
    grid-column: 1 / -1;
    width: min(820px, 100%);
    margin-bottom: 0;
    color: var(--muted);
    font-size: 18px;
}

.proof-visual {
    position: relative;
    min-height: 310px;
    border: 1px solid rgba(7, 87, 200, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(7, 87, 200, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.08) 1px, transparent 1px),
        #f8fbff;
    background-size: 38px 38px;
    overflow: hidden;
}

.proof-visual::before,
.proof-visual::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 50%;
    height: 2px;
    background: rgba(7, 87, 200, 0.22);
}

.proof-visual::after {
    left: 50%;
    right: auto;
    top: 20%;
    bottom: 20%;
    width: 2px;
    height: auto;
}

.proof-node {
    position: absolute;
    z-index: 1;
    width: 170px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(28, 45, 84, 0.12);
}

.proof-node strong {
    font-size: 18px;
}

.proof-node span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.node-support {
    left: 8%;
    top: 38%;
}

.node-payment {
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    border-top: 4px solid var(--red);
}

.node-control {
    right: 8%;
    top: 38%;
    border-top: 4px solid var(--green);
}

.market-section {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.market-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.7;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 18%, rgba(7, 87, 200, 0.08), transparent 23%),
        radial-gradient(circle at 72% 32%, rgba(28, 154, 91, 0.08), transparent 22%),
        radial-gradient(circle at 44% 76%, rgba(226, 29, 61, 0.06), transparent 20%);
}

.market-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 1.05fr) minmax(300px, 0.95fr);
    gap: clamp(28px, 5vw, 62px);
    align-items: center;
}

.market-map {
    position: relative;
    min-height: 390px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(7, 87, 200, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #f8fbff, #eef4fc);
    background-size: 44px 44px, 44px 44px, auto;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(28, 45, 84, 0.09);
}

.market-map::before {
    content: "Global payment demand";
    position: absolute;
    left: 24px;
    top: 24px;
    color: rgba(16, 24, 40, 0.72);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.region-tag {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 13px;
    background: #fff;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(28, 45, 84, 0.12);
}

.tag-cis {
    left: 18%;
    top: 46%;
    color: var(--red);
}

.tag-middle-east {
    left: 45%;
    top: 58%;
}

.tag-asia {
    right: 10%;
    top: 38%;
    color: var(--green);
}

.tag-caucasus {
    left: 36%;
    top: 28%;
}

.travel-path {
    position: absolute;
    height: 2px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(226, 29, 61, 0.12), rgba(7, 87, 200, 0.58));
}

.path-one {
    left: 26%;
    top: 50%;
    width: 28%;
    transform: rotate(-19deg);
}

.path-two {
    left: 50%;
    top: 61%;
    width: 27%;
    transform: rotate(-31deg);
}

.path-three {
    left: 42%;
    top: 34%;
    width: 25%;
    transform: rotate(24deg);
}

.market-points {
    display: grid;
    gap: 16px;
}

.market-points article {
    display: grid;
    gap: 6px;
    padding: 22px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--blue);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(28, 45, 84, 0.06);
}

.market-points article:nth-child(2) {
    border-left-color: var(--red);
}

.market-points article:nth-child(3) {
    border-left-color: var(--green);
}

.market-points strong {
    font-size: 19px;
}

.market-points span {
    color: var(--muted);
}

.flow-section {
    background: #fff;
}

.technology-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.92), rgba(238, 244, 252, 0.9)),
        radial-gradient(circle at 80% 20%, rgba(7, 87, 200, 0.13), transparent 26%),
        radial-gradient(circle at 18% 82%, rgba(226, 29, 61, 0.08), transparent 24%);
}

.technology-backdrop {
    opacity: 0.52;
}

.technology-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
    gap: clamp(28px, 5vw, 62px);
    align-items: start;
}

.terminal-mock,
.dashboard-mock {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 54px rgba(28, 45, 84, 0.11);
    overflow: hidden;
}

.mock-browser {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: #f7f9fe;
}

.mock-browser span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #c7d2e5;
}

.mock-browser strong {
    margin-left: 8px;
    color: var(--muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.mock-form {
    display: grid;
    gap: 12px;
    padding: 28px;
}

.mock-form img {
    width: 136px;
    margin-bottom: 18px;
}

.mock-form label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.mock-input {
    min-height: 52px;
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 16px;
    color: var(--blue-dark);
    font-size: 20px;
    font-weight: 900;
    background: #fff;
}

.mock-amount-row {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 16px;
    background: #fff;
}

.mock-amount-row input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--blue-dark);
    background: transparent;
    font-family: inherit;
    font-size: 30px;
    font-weight: 900;
}

.mock-amount-row strong {
    color: var(--blue-dark);
    font-size: 26px;
    line-height: 1;
}

.mock-input.muted {
    color: #8a96aa;
    font-size: 16px;
}

.mock-customer-grid {
    display: grid;
    gap: 12px;
}

.mock-customer-grid label {
    display: grid;
    gap: 7px;
    letter-spacing: 0;
    text-transform: none;
}

.mock-customer-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.mock-customer-grid input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 14px;
    color: var(--text);
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    outline: 0;
}

.mock-customer-grid input:focus,
.mock-amount-row input:focus {
    box-shadow: 0 0 0 4px rgba(7, 87, 200, 0.1);
}

.currency-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -2px 0 8px;
}

.currency-strip button {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 9px;
    color: var(--blue-dark);
    background: #f8fbff;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
}

.currency-strip button:hover,
.currency-strip button.active {
    border-color: rgba(226, 29, 61, 0.28);
    color: var(--red);
    background: rgba(226, 29, 61, 0.06);
}

.mock-form button {
    min-height: 50px;
    margin-top: 10px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--blue);
    font-weight: 900;
}

.mock-qr-result {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
    margin-top: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #f8fbff;
}

.mock-qr {
    width: 96px;
    height: 96px;
    border: 8px solid #fff;
    border-radius: 8px;
    background:
        linear-gradient(90deg, #101828 10px, transparent 10px 18px, #101828 18px 26px, transparent 26px 34px, #101828 34px 42px, transparent 42px 50px, #101828 50px 58px, transparent 58px 66px, #101828 66px 74px, transparent 74px),
        linear-gradient(0deg, #101828 10px, transparent 10px 18px, #101828 18px 26px, transparent 26px 34px, #101828 34px 42px, transparent 42px 50px, #101828 50px 58px, transparent 58px 66px, #101828 66px 74px, transparent 74px),
        #fff;
    background-blend-mode: multiply;
    box-shadow: 0 10px 24px rgba(28, 45, 84, 0.12);
}

.mock-qr-result strong,
.mock-qr-result span {
    display: block;
}

.mock-qr-result strong {
    color: var(--blue-dark);
    font-size: 16px;
}

.mock-qr-result span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.mock-payment-timeline {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.mock-payment-timeline div {
    position: relative;
    display: grid;
    gap: 3px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 12px 12px 38px;
    background: #fff;
}

.mock-payment-timeline div::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 16px;
    width: 12px;
    height: 7px;
    border-left: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
    transform: rotate(-45deg);
}

.mock-payment-timeline strong {
    color: var(--blue-dark);
    font-size: 14px;
}

.mock-payment-timeline span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.mock-payment-timeline a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    background: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

[hidden] {
    display: none !important;
}

.tech-stack {
    display: grid;
    gap: 16px;
}

.tech-stack article {
    display: grid;
    gap: 8px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(28, 45, 84, 0.06);
}

.tech-stack span {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
}

.tech-stack p {
    color: var(--muted);
}

code {
    padding: 2px 5px;
    border-radius: 5px;
    background: #eef4fc;
    color: var(--blue-dark);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.92em;
}

.cabinet-section {
    background: #fff;
}

.cabinet-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
    gap: clamp(28px, 5vw, 62px);
    align-items: center;
}

.cabinet-panel p {
    color: var(--muted);
    font-size: 18px;
}

.dashboard-mock {
    padding: 24px;
}

.dashboard-head,
.dashboard-stats,
.dashboard-table {
    display: grid;
}

.dashboard-head {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-head span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 10px;
    color: var(--blue-dark);
    background: #eef4fc;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-stats div {
    display: grid;
    gap: 3px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbff;
}

.dashboard-stats strong {
    font-size: 26px;
    line-height: 1;
}

.dashboard-stats span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.dashboard-table {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.dashboard-table span,
.dashboard-table strong,
.dashboard-table em {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #fff;
    font-size: 13px;
    font-style: normal;
}

.dashboard-table strong {
    color: var(--green);
}

.dashboard-table em {
    color: var(--blue-dark);
    font-weight: 900;
}

.flow-grid,
.terms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.flow-grid article,
.terms-grid article,
.contact-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(28, 45, 84, 0.07);
}

.flow-grid span {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.flow-grid p,
.terms-grid p,
.pilot-panel p,
.contact-section p {
    color: var(--muted);
}

.pilot-section {
    background: linear-gradient(135deg, #0b2f6e, #0757c8);
}

.pilot-panel {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1.08fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: start;
    border-radius: 8px;
    padding: clamp(28px, 5vw, 56px);
    background: #fff;
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.16);
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 16px 16px 16px 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbff;
    font-weight: 800;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 20px;
    width: 12px;
    height: 7px;
    border-left: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
    transform: rotate(-45deg);
}

.terms-grid {
    grid-template-columns: repeat(3, 1fr);
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
    gap: clamp(32px, 6vw, 84px);
    align-items: start;
    background: #fff;
}

.contact-card {
    display: grid;
    gap: 7px;
}

.contact-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
    margin-bottom: 16px;
    color: var(--blue-dark);
    font-size: 18px;
    overflow-wrap: anywhere;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px clamp(18px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.footer img {
    width: 96px;
}

.partner-cabinet-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    background:
        linear-gradient(90deg, rgba(244, 247, 251, 0.98), rgba(244, 247, 251, 0.86)),
        linear-gradient(90deg, rgba(7, 87, 200, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.045) 1px, transparent 1px);
    background-size: auto, 48px 48px, 48px 48px;
}

.cabinet-sidebar {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 28px 20px;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.cabinet-sidebar img {
    width: 126px;
}

.cabinet-sidebar nav {
    display: grid;
    gap: 8px;
}

.cabinet-sidebar a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 900;
}

.cabinet-sidebar a.active,
.cabinet-sidebar a:hover {
    color: var(--blue-dark);
    background: #eef4fc;
}

.cabinet-back {
    margin-top: auto;
}

.cabinet-main {
    padding: 32px clamp(20px, 4vw, 54px);
}

.cabinet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.cabinet-top span {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cabinet-top h1 {
    margin: 6px 0 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.05;
}

.cabinet-hero-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.cabinet-hero-panel div,
.cabinet-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 40px rgba(28, 45, 84, 0.1);
}

.cabinet-hero-panel div {
    display: grid;
    gap: 5px;
    padding: 22px;
}

.cabinet-hero-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.cabinet-hero-panel strong {
    color: var(--blue-dark);
    font-size: 30px;
}

.cabinet-hero-panel span {
    color: var(--muted);
    font-size: 13px;
}

.cabinet-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.cabinet-card {
    padding: 22px;
}

.cabinet-card.wide {
    grid-column: 1 / -1;
}

.cabinet-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.cabinet-card-head h2 {
    margin: 0;
    font-size: 22px;
}

.cabinet-card-head span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.cabinet-order-table {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto auto auto;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.cabinet-order-table > * {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: #fff;
    font-size: 13px;
    font-style: normal;
}

.cabinet-order-table > span {
    color: var(--muted);
    background: #f8fbff;
    font-weight: 900;
}

.cabinet-order-table mark {
    border-radius: 999px;
    justify-content: center;
    padding: 0 10px;
    font-weight: 900;
}

.cabinet-order-table .paid {
    color: #0c7a3d;
    background: rgba(28, 154, 91, 0.12);
}

.cabinet-order-table .pending {
    color: var(--blue-dark);
    background: #eef4fc;
}

.cabinet-order-table .review {
    color: var(--red);
    background: rgba(226, 29, 61, 0.08);
}

.cabinet-status-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cabinet-status-list li {
    border: 1px solid var(--line);
    border-left: 5px solid var(--green);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
}

.cabinet-status-list strong,
.cabinet-status-list span {
    display: block;
}

.cabinet-status-list span {
    color: var(--muted);
    font-size: 13px;
}

.cabinet-bars {
    display: grid;
    gap: 14px;
}

.cabinet-bars div {
    display: grid;
    grid-template-columns: 42px 1fr 54px;
    gap: 10px;
    align-items: center;
}

.cabinet-bars b {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue) var(--bar), #e6edf8 var(--bar));
}

.cabinet-bars span,
.cabinet-bars strong {
    font-size: 13px;
    font-weight: 900;
}

.presentation-body {
    background: #dce5f2;
}

.deck {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto;
    display: grid;
    gap: 18px;
}

.slide {
    min-height: 620px;
    display: grid;
    align-content: center;
    gap: 28px;
    padding: 58px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(28, 45, 84, 0.11);
    page-break-after: always;
}

.cover-slide {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
        radial-gradient(circle at 72% 30%, rgba(7, 87, 200, 0.2), transparent 28%),
        radial-gradient(circle at 82% 68%, rgba(226, 29, 61, 0.1), transparent 24%),
        linear-gradient(135deg, #dce7f8, #f8fbff);
}

.cover-slide img {
    width: 170px;
}

.cover-slide h1 {
    width: min(820px, 100%);
}

.slide p {
    max-width: 760px;
    color: var(--muted);
    font-size: 19px;
}

.slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.slide-grid div {
    display: grid;
    gap: 10px;
    min-height: 190px;
    align-content: start;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbff;
}

.slide-grid strong {
    font-size: 21px;
}

.slide-grid span {
    color: var(--muted);
}

.slide-grid.compact div {
    min-height: 150px;
}

.number-list {
    display: grid;
    gap: 18px;
    margin: 0;
    padding-left: 28px;
    color: #344054;
    font-size: 24px;
    font-weight: 800;
}

.final-slide {
    background: linear-gradient(135deg, #0b2f6e, #0757c8);
    color: #fff;
}

.final-slide .section-kicker,
.final-slide p,
.final-slide a {
    color: #fff;
}

.final-slide .primary-button {
    width: fit-content;
    border-color: #fff;
    background: #fff;
    color: var(--blue-dark);
}

.image-slide {
    position: relative;
    overflow: hidden;
    color: #101828;
    background: #fff;
}

.image-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.25));
    z-index: 0;
}

.image-slide > div {
    position: relative;
    z-index: 1;
    width: min(650px, 100%);
}

.global-image-slide {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2)),
        radial-gradient(circle at 70% 36%, rgba(7, 87, 200, 0.2), transparent 28%),
        radial-gradient(circle at 84% 70%, rgba(226, 29, 61, 0.1), transparent 24%);
}

.operations-image-slide {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.26)),
        linear-gradient(90deg, rgba(7, 87, 200, 0.07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(7, 87, 200, 0.07) 1px, transparent 1px);
    background-size: auto, 46px 46px, 46px 46px;
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .hero-media {
        opacity: 0.34;
        place-items: center;
        padding: 0;
    }

    .global-backdrop {
        opacity: 0.42;
    }

    .global-backdrop::before {
        inset: 12% 0 8% 4%;
    }

    .continent {
        transform: scale(0.8);
    }

    .route-map {
        width: min(540px, 86vw);
    }

    .metrics-band,
    .two-column,
    .pilot-panel,
    .contact-section,
    .proof-card,
    .market-layout,
    .technology-layout,
    .cabinet-panel,
    .slide-grid {
        grid-template-columns: 1fr;
    }

    .flow-grid,
    .terms-grid,
    .company-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .site-header {
        height: auto;
        min-height: 68px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .brand img {
        width: 104px;
    }

    .header-tools {
        width: 100%;
        justify-content: space-between;
    }

    .header-action {
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }

    .hero-section {
        min-height: 760px;
        padding-top: 56px;
    }

    .global-route,
    .continent {
        opacity: 0.62;
    }

    .hero-copy {
        font-size: 17px;
    }

    .flow-grid,
    .terms-grid,
    .company-grid {
        grid-template-columns: 1fr;
    }

    .proof-visual {
        min-height: 430px;
    }

    .market-map {
        min-height: 450px;
    }

    .dashboard-stats,
    .dashboard-table {
        grid-template-columns: 1fr;
    }

    .mock-amount-row input {
        font-size: 24px;
    }

    .mock-amount-row strong {
        font-size: 22px;
    }

    .mock-qr-result {
        grid-template-columns: 1fr;
    }

    .proof-visual::before,
    .proof-visual::after {
        display: none;
    }

    .proof-node {
        left: 50%;
        right: auto;
        width: min(240px, calc(100% - 36px));
        transform: translateX(-50%);
    }

    .node-support {
        top: 38px;
    }

    .node-payment {
        top: 168px;
    }

    .node-control {
        top: 298px;
    }

    .region-tag {
        max-width: 180px;
    }

    .tag-cis {
        left: 10%;
        top: 44%;
    }

    .tag-middle-east {
        left: 34%;
        top: 62%;
    }

    .tag-asia {
        right: 7%;
        top: 34%;
    }

    .tag-caucasus {
        left: 28%;
        top: 22%;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .slide {
        min-height: auto;
        padding: 32px 22px;
    }

    .number-list {
        font-size: 18px;
    }
}

.seller-cabinet-page {
    min-height: 100vh;
    margin: 0;
    color: #111827;
    background: #eef3fb;
    font-family: Arial, Helvetica, sans-serif;
}

.seller-cabinet-page button,
.seller-cabinet-page input,
.seller-cabinet-page select,
.seller-cabinet-page textarea {
    font: inherit;
}

.seller-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(7, 87, 200, 0.16), transparent 34%),
        linear-gradient(315deg, rgba(226, 29, 61, 0.08), transparent 30%),
        #eef3fb;
}

.seller-login-panel {
    width: min(100%, 440px);
    display: grid;
    gap: 12px;
    padding: 30px;
    border: 1px solid #d7dfef;
    border-radius: 12px;
    background: #fff;
}

.seller-login-panel img {
    width: 118px;
}

.seller-login-panel > span,
.seller-topbar span,
.seller-panel-head span,
.seller-kpi-grid span,
.seller-sidebar span,
.seller-login-panel label {
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-login-panel h1 {
    margin: 4px 0 0;
    font-size: 30px;
    line-height: 1.08;
    text-wrap: balance;
}

.seller-login-panel p {
    margin: 0 0 8px;
    color: #344054;
    font-size: 15px;
}

.seller-login-panel input {
    width: 100%;
    height: 46px;
    border: 1px solid #cbd6ea;
    border-radius: 8px;
    padding: 0 14px;
    color: #111827;
    background: #fff;
    font-weight: 800;
}

.seller-login-panel input:focus,
.seller-top-actions select:focus,
.seller-top-actions button:focus,
.seller-sidebar button:focus,
.seller-order-table button:focus,
.seller-action-row button:focus,
.seller-panel button:focus {
    outline: 3px solid rgba(7, 87, 200, 0.18);
    outline-offset: 2px;
}

.seller-login-panel strong {
    min-height: 18px;
    color: #b42318;
    font-size: 13px;
}

.seller-login-panel small {
    color: #667085;
    font-weight: 800;
}

.seller-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
}

.seller-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border-right: 1px solid #d7dfef;
    background: #fff;
}

.seller-sidebar-head {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.seller-logo {
    flex: 0 0 auto;
}

.seller-logo img {
    width: min(190px, 100%);
}

.seller-language-switch {
    width: 100%;
    display: flex;
    gap: 6px;
}

.seller-language-switch button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 28px;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    padding: 0 4px;
    color: #344054;
    background: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
}

.seller-language-switch button.active,
.seller-language-switch button:hover {
    color: #fff;
    border-color: #0757c8;
    background: #0757c8;
}

.seller-sidebar nav {
    display: grid;
    gap: 6px;
}

.seller-sidebar button,
.seller-back {
    min-height: 42px;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 8px;
    padding: 0 12px;
    color: #344054;
    background: transparent;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.seller-sidebar button.active,
.seller-sidebar button:hover,
.seller-back:hover {
    color: #063f98;
    background: #edf4ff;
}

.seller-account-card {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding: 14px;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    background: #f8faff;
}

.seller-account-card strong {
    font-size: 18px;
}

.seller-account-card small {
    color: #344054;
    font-weight: 800;
}

.seller-main {
    min-width: 0;
    padding: 24px;
}

.seller-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.seller-topbar h1 {
    margin: 4px 0 0;
    font-size: 30px;
    line-height: 1.12;
    text-wrap: balance;
}

.seller-top-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.seller-top-actions select,
.seller-top-actions button,
.seller-panel button,
.seller-action-row button {
    min-height: 42px;
    border: 1px solid #cbd6ea;
    border-radius: 8px;
    padding: 0 14px;
    color: #063f98;
    background: #fff;
    cursor: pointer;
    font-weight: 900;
}

.seller-cabinet-page .primary-button,
.seller-top-actions .primary-button,
.seller-action-row .primary-button,
.seller-login-panel .primary-button {
    border-color: #0757c8;
    color: #fff;
    background: #0757c8;
}

.seller-cabinet-page .primary-button:hover,
.seller-top-actions .primary-button:hover,
.seller-action-row .primary-button:hover,
.seller-login-panel .primary-button:hover {
    border-color: #063f98;
    background: #063f98;
}

.seller-section {
    display: none;
}

.seller-section.active {
    display: grid;
    gap: 18px;
}

.seller-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
}

.seller-kpi-grid article,
.seller-panel {
    border: 1px solid #d7dfef;
    border-radius: 10px;
    background: #fff;
}

.seller-kpi-grid article {
    display: grid;
    grid-template-rows: 42px 92px auto;
    gap: 6px;
    padding: 18px;
}

.seller-kpi-grid strong {
    font-size: 24px;
    line-height: 1.12;
}

.seller-kpi-value,
.seller-currency-stack {
    min-height: 84px;
    display: grid;
    gap: 3px;
    align-content: start;
}

.seller-currency-stack strong,
.seller-currency-stack b {
    display: block;
    line-height: 1.12;
}

.seller-currency-stack b {
    color: #344054;
    font-size: 15px;
}

.seller-currency-stack.compact {
    min-height: 0;
    gap: 2px;
}

.seller-currency-stack.compact strong {
    font-size: 18px;
}

.seller-currency-stack.compact b {
    font-size: 13px;
}

.seller-kpi-grid small {
    color: #344054;
    font-weight: 800;
}

.seller-overview-grid,
.seller-finance-grid,
.seller-settings-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 18px;
}

.seller-overview-grid .seller-payment-charts {
    grid-column: 1;
}

.seller-overview-grid .seller-funnel {
    grid-column: 1;
}

.seller-overview-grid .seller-balance-panel {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.seller-panel {
    min-width: 0;
    padding: 18px;
}

.seller-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.seller-panel-head h2 {
    margin: 3px 0 0;
    font-size: 20px;
    line-height: 1.18;
    text-wrap: balance;
}

.seller-panel-head > strong {
    color: #0757c8;
    font-size: 28px;
    line-height: 1;
}

.seller-funnel-bars {
    display: grid;
    gap: 12px;
}

.seller-funnel-bars div {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) 64px;
    gap: 12px;
    align-items: center;
}

.seller-funnel-bars span {
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    padding: 0 12px;
    color: #111827;
    background: #eef3fb;
    font-size: 13px;
    font-weight: 900;
}

.seller-funnel-bars span::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--value);
    background: rgba(7, 87, 200, 0.16);
}

.seller-funnel-bars span {
    isolation: isolate;
}

.seller-funnel-bars b {
    color: #063f98;
    text-align: right;
}

.seller-payment-charts {
    display: grid;
    gap: 2px;
}

.seller-chart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.seller-bar-chart {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #e7ecf6;
    border-radius: 8px;
    background: #f8faff;
}

.seller-bar-chart header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.seller-bar-chart span {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-bar-chart strong {
    color: #111827;
    font-size: 16px;
    line-height: 1.18;
    text-align: right;
}

.seller-chart-plot {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.seller-chart-scale {
    height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 23px;
    color: #667085;
    font-size: 10px;
    font-weight: 900;
    text-align: right;
}

.seller-bars {
    position: relative;
    height: 132px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    padding-top: 8px;
    border-bottom: 1px solid #cbd6ea;
    background:
        linear-gradient(to bottom, #e7ecf6 1px, transparent 1px) 0 8px / 100% 50% no-repeat,
        linear-gradient(to bottom, #e7ecf6 1px, transparent 1px) 0 calc(50% + 4px) / 100% 50% no-repeat;
}

.seller-bars.month {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.seller-bars i {
    position: relative;
    min-width: 0;
    height: var(--bar);
    display: block;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(180deg, #1d73e8 0%, #0757c8 100%);
}

.seller-bars i:nth-child(3n) {
    background: linear-gradient(180deg, #30a46c 0%, #118a49 100%);
}

.seller-bars i:nth-child(4n) {
    background: linear-gradient(180deg, #f5b84b 0%, #b77900 100%);
}

.seller-bars b {
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    color: #667085;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.seller-store-list,
.seller-ticket-list,
.seller-template-list,
.seller-payout-stack {
    display: grid;
    gap: 10px;
}

.seller-store-list div,
.seller-ticket-list div,
.seller-payout-stack div,
.seller-check-list li {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid #e7ecf6;
    border-radius: 8px;
    background: #f8faff;
}

.seller-store-list b {
    color: #063f98;
}

.seller-balance-row {
    display: grid;
    gap: 6px;
}

.seller-balance-row.parent {
    gap: 4px;
    border-color: #c5d8ff;
    background: #edf4ff;
}

.seller-balance-row.parent .seller-currency-stack {
    margin-top: 4px;
}

.seller-balance-row.child {
    margin-left: 18px;
    background: #fff;
}

.seller-balance-row.child strong {
    font-size: 15px;
}

.seller-store-list span,
.seller-store-list small,
.seller-check-list span,
.seller-ticket-list span {
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.seller-check-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seller-ticket-form {
    display: grid;
    gap: 14px;
}

.seller-ticket-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seller-ticket-types button {
    min-height: 36px;
    border: 1px solid #d7dfef;
    border-radius: 999px;
    padding: 0 12px;
    color: #063f98;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.seller-ticket-types button.active,
.seller-ticket-types button:hover {
    color: #fff;
    border-color: #0757c8;
    background: #0757c8;
}

.seller-ticket-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.seller-ticket-fields label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-ticket-fields .wide {
    grid-column: 1 / -1;
}

.seller-ticket-fields input,
.seller-ticket-fields select,
.seller-ticket-fields textarea {
    width: 100%;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    padding: 12px;
    color: #111827;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.seller-ticket-fields textarea {
    min-height: 112px;
    resize: vertical;
}

.seller-ticket-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.seller-ticket-actions button {
    min-height: 42px;
}

.seller-ticket-actions span {
    color: #05603a;
    font-size: 13px;
    font-weight: 900;
}

.seller-chat-list {
    display: grid;
    gap: 12px;
    max-height: 360px;
    overflow: auto;
    align-content: start;
}

.seller-chat-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.seller-chat-form textarea {
    width: 100%;
    min-height: 86px;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    padding: 12px;
    color: #111827;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    resize: vertical;
}

.seller-chat-message {
    display: grid;
    gap: 6px;
    max-width: 92%;
    border: 1px solid #e7ecf6;
    border-radius: 8px;
    padding: 12px;
    background: #f8faff;
}

.seller-chat-message.partner {
    margin-left: auto;
    border-color: #c5d8ff;
    background: #edf4ff;
}

.seller-chat-message.support {
    margin-right: auto;
}

.seller-chat-message strong {
    color: #063f98;
    font-size: 13px;
}

.seller-chat-message span {
    color: #344054;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.seller-chat-message small {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.seller-ticket-ledger-panel {
    margin-top: 12px;
}

.seller-ticket-ledger {
    max-height: 340px;
}

.seller-ticket-ledger table {
    width: 100%;
    min-width: 1160px;
    border-collapse: collapse;
    table-layout: fixed;
}

.seller-ticket-ledger th,
.seller-ticket-ledger td {
    border-bottom: 1px solid #e7ecf6;
    padding: 12px 8px;
    text-align: left;
    vertical-align: middle;
}

.seller-ticket-ledger th {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-ticket-ledger td {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}

.seller-ticket-ledger th:nth-child(1),
.seller-ticket-ledger td:nth-child(1) {
    width: 156px;
}

.seller-ticket-ledger th:nth-child(2),
.seller-ticket-ledger td:nth-child(2) {
    width: 150px;
}

.seller-ticket-ledger th:nth-child(3),
.seller-ticket-ledger td:nth-child(3) {
    width: 380px;
}

.seller-ticket-ledger th:nth-child(4),
.seller-ticket-ledger td:nth-child(4) {
    width: 110px;
}

.seller-ticket-ledger th:nth-child(5),
.seller-ticket-ledger td:nth-child(5) {
    width: 160px;
}

.seller-ticket-ledger th:nth-child(6),
.seller-ticket-ledger td:nth-child(6) {
    width: 130px;
}

.seller-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.9fr);
    gap: 18px;
    align-items: start;
}

.seller-orders-panel {
    align-self: start;
}

.seller-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.seller-filter-row button {
    min-height: 34px;
    padding: 0 10px;
}

.seller-filter-row button.active {
    color: #fff;
    border-color: #0757c8;
    background: #0757c8;
}

.partner-orders-periods,
.finance-periods,
.support-ticket-periods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

.finance-periods,
.support-ticket-periods {
    justify-content: flex-end;
    margin-bottom: 0;
}

.partner-orders-periods button,
.finance-periods button,
.support-ticket-periods button {
    min-height: 38px;
    border: 1px solid #cbd6ea;
    border-radius: 8px;
    padding: 0 13px;
    color: #063f98;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.partner-orders-periods button.is-active,
.partner-orders-periods button:hover,
.finance-periods button.is-active,
.finance-periods button:hover,
.support-ticket-periods button.is-active,
.support-ticket-periods button:hover {
    color: #fff;
    border-color: #0757c8;
    background: #0757c8;
}

.orders-date-range {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.orders-date-field {
    position: relative;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cbd6ea;
    border-radius: 8px;
    padding: 0 10px;
    color: #063f98;
    background: #fff;
    font-size: 13px;
    font-weight: 900;
}

.orders-date-label {
    color: #667085;
    text-transform: uppercase;
}

.orders-date-value {
    min-width: 84px;
}

.orders-date-field input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 520px;
}

.partner-orders-table table {
    width: 100%;
    min-width: 980px;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.partner-orders-table th,
.partner-orders-table td {
    border-bottom: 1px solid #e7ecf6;
    padding: 12px 8px;
    text-align: left;
    vertical-align: middle;
}

.partner-orders-table th {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.partner-orders-table td {
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.partner-orders-table tbody tr {
    cursor: pointer;
}

.partner-orders-table tbody tr.active,
.partner-orders-table tbody tr:hover {
    background: #f4f8ff;
}

.partner-orders-table td strong,
.partner-orders-table td b {
    display: block;
    color: #111827;
    font-weight: 900;
}

.partner-orders-table td small {
    display: block;
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
}

.partner-orders-table th:nth-child(1),
.partner-orders-table td:nth-child(1) {
    width: 118px;
}

.partner-orders-table th:nth-child(2),
.partner-orders-table td:nth-child(2) {
    width: 190px;
}

.partner-orders-table th:nth-child(3),
.partner-orders-table td:nth-child(3) {
    width: 260px;
}

.partner-orders-table th:nth-child(4),
.partner-orders-table td:nth-child(4) {
    width: 128px;
    white-space: nowrap;
}

.partner-orders-table th:nth-child(5),
.partner-orders-table td:nth-child(5) {
    width: 104px;
    white-space: nowrap;
}

.partner-orders-table th:nth-child(6),
.partner-orders-table td:nth-child(6) {
    width: 100px;
    white-space: nowrap;
}

.partner-orders-table th:nth-child(7),
.partner-orders-table td:nth-child(7) {
    width: 150px;
    white-space: nowrap;
}

.partner-orders-filter-row input,
.partner-orders-filter-row select {
    width: 100%;
    height: 30px;
    border: 1px solid #cbd6ea;
    border-radius: 7px;
    padding: 0 8px;
    color: #111827;
    background: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.partner-orders-filter-row th {
    padding-top: 4px;
    padding-bottom: 8px;
}

.seller-order-status {
    display: inline-flex;
    min-width: 74px;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 900;
}

.seller-order-detail mark,
.seller-ticket-list mark {
    width: fit-content;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
    font-weight: 900;
}

.seller-order-status.paid,
.seller-order-detail .paid {
    color: #05603a;
    background: #e8f7ef;
}

.seller-order-status.pending,
.seller-ticket-list .pending,
.seller-order-detail .pending {
    color: #8a5a00;
    background: #fff4d6;
}

.seller-order-status.review,
.seller-ticket-list .review,
.seller-order-detail .review {
    color: #7a2e0e;
    background: #fff0e6;
}

.seller-order-status.attention,
.seller-ticket-list .attention,
.seller-order-detail .attention {
    color: #b42318;
    background: #ffeceb;
}

.seller-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
}

.seller-detail-grid div {
    padding: 12px;
    border-radius: 8px;
    background: #f8faff;
}

.seller-detail-grid dt {
    margin: 0 0 4px;
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-detail-grid dd {
    margin: 0;
    font-weight: 900;
}

.seller-detail-grid.compact {
    grid-template-columns: 1fr;
    margin-top: 14px;
}

.seller-timeline {
    display: grid;
    gap: 10px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.seller-timeline li {
    position: relative;
    display: grid;
    gap: 3px;
    padding: 12px 12px 12px 36px;
    border: 1px solid #e7ecf6;
    border-radius: 8px;
}

.seller-timeline li::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 17px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b8c4d8;
}

.seller-timeline li.done::before {
    background: #118a49;
}

.seller-timeline span {
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.seller-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-recon-table {
    overflow-x: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    gap: 0;
}

.seller-recon-table > * {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e7ecf6;
    padding: 0 8px;
    font-style: normal;
}

.seller-recon-table > span {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-recon-table mark {
    color: #063f98;
    background: transparent;
    font-weight: 900;
}

.seller-recon-ledger {
    max-height: none;
}

.seller-recon-ledger table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.seller-recon-ledger th,
.seller-recon-ledger td {
    border-bottom: 1px solid #e7ecf6;
    padding: 12px 8px;
    text-align: left;
    vertical-align: middle;
}

.seller-recon-ledger th {
    color: #667085;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-recon-ledger td {
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.seller-recon-ledger td strong,
.seller-recon-ledger td b {
    color: #111827;
    font-weight: 900;
}

.seller-payout-stack div {
    grid-template-columns: 1fr auto;
    align-items: center;
}

.seller-payout-stack .total {
    color: #fff;
    background: #0757c8;
}

.seller-1c-panel {
    grid-column: 1 / -1;
}

.seller-1c-panel .pending {
    border-radius: 999px;
    padding: 6px 9px;
    color: #8a5a00;
    background: #fff4d6;
    font-size: 12px;
    font-weight: 900;
}

.seller-1c-note {
    max-width: 82ch;
    margin: -4px 0 16px;
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

.seller-balance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.seller-balance-grid div {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid #e7ecf6;
    border-radius: 8px;
    background: #f8faff;
}

.seller-balance-grid span,
.seller-balance-grid small {
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.seller-balance-grid span {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.seller-balance-grid strong {
    color: #111827;
    font-size: 20px;
    line-height: 1.18;
}

.seller-balance-grid .balance-total {
    color: #fff;
    border-color: #0757c8;
    background: #0757c8;
}

.seller-balance-grid .balance-total span,
.seller-balance-grid .balance-total strong,
.seller-balance-grid .balance-total small {
    color: #fff;
}

.seller-1c-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 12px;
}

.seller-1c-columns div {
    padding: 14px;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    background: #fff;
}

.seller-1c-columns h3 {
    margin: 0 0 10px;
    font-size: 15px;
}

.seller-1c-columns ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.seller-template-list button {
    min-height: 42px;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    color: #063f98;
    background: #fff;
    cursor: pointer;
    font-weight: 900;
    text-align: left;
}

.seller-code {
    display: block;
    overflow-x: auto;
    padding: 14px;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    color: #063f98;
    background: #f8faff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .seller-kpi-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .seller-chart-grid {
        grid-template-columns: 1fr;
    }

    .seller-overview-grid,
    .seller-finance-grid,
    .seller-settings-grid,
    .seller-two-column {
        grid-template-columns: 1fr;
    }

    .seller-overview-grid .seller-payment-charts,
    .seller-overview-grid .seller-funnel,
    .seller-overview-grid .seller-balance-panel {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 820px) {
    .seller-app {
        grid-template-columns: 1fr;
    }

    .seller-sidebar {
        position: static;
        height: auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .seller-sidebar-head {
        flex: 1 1 100%;
    }

    .seller-sidebar nav {
        grid-template-columns: repeat(3, minmax(120px, 1fr));
        flex: 1 1 100%;
    }

    .seller-account-card {
        margin-top: 0;
    }

    .seller-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .seller-top-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .seller-main {
        padding: 14px;
    }

    .seller-login-panel {
        padding: 22px;
    }

    .seller-kpi-grid,
    .seller-detail-grid,
    .seller-ticket-fields {
        grid-template-columns: 1fr;
    }

    .seller-sidebar nav {
        grid-template-columns: 1fr 1fr;
    }

    .seller-panel {
        padding: 14px;
    }
}

@media (max-width: 900px) {
    .partner-cabinet-page {
        grid-template-columns: 1fr;
    }

    .cabinet-sidebar {
        min-height: auto;
    }

    .cabinet-hero-panel,
    .cabinet-grid {
        grid-template-columns: 1fr;
    }

    .cabinet-order-table {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        background: #fff;
    }

    .deck {
        width: 100%;
        margin: 0;
        gap: 0;
    }

    .slide {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
}
