@font-face {
    font-family: "Raleway";
    src: url("/assets/fonts/raleway-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/assets/fonts/raleway-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/assets/fonts/raleway-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Raleway";
    src: url("/assets/fonts/raleway-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/open-sans-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/open-sans-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/open-sans-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/open-sans-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/oswald-400.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/oswald-500.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/oswald-600.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: url("/assets/fonts/oswald-700.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --bg: #f6f7fb;
    --panel: #ffffff;
    --text: #101828;
    --muted: #667085;
    --line: #e5e8ef;
    --soft: #f8fafc;
    --blue: #4f7df3;
    --blue-dark: #3d68d8;
    --green: #268657;
    --warning: #b7791f;
    --ink: #111827;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 14px 36px rgba(16, 24, 40, 0.06);
    --shadow-soft: 0 8px 22px rgba(16, 24, 40, 0.04);
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

.auth-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.auth-card {
    width: min(100%, 430px);
    padding: 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.auth-card .brand {
    margin-bottom: 22px;
}

.auth-card p {
    color: var(--muted);
}

.error-box {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff1f2;
    color: #991b1b;
}

a {
    color: inherit;
    text-decoration: none;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 256px;
    padding: 28px 18px;
    overflow-y: auto;
    background: var(--panel);
    border-right: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 42px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.1;
}

.brand-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #12162d;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: inset 0 -3px 0 rgba(79, 125, 243, 0.55);
}

.avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #12162d;
    color: #fff;
}

.nav {
    display: grid;
    align-content: start;
    gap: 22px;
}

.nav-section {
    display: grid;
    gap: 7px;
}

.nav-section-title {
    padding: 0 14px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.nav a,
.nav-group > summary {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: #7b8493;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.nav a small,
.nav-group > summary small {
    overflow: hidden;
    color: #98a2b3;
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-item-label {
    color: inherit;
}

.nav-group > summary {
    cursor: pointer;
    list-style: none;
}

.nav-group > summary::-webkit-details-marker,
.nav-currency-group > summary::-webkit-details-marker {
    display: none;
}

.nav a.active,
.nav a:hover,
.nav-group > summary.active,
.nav-group > summary:hover {
    border-color: #dce5ff;
    background: #f2f6ff;
    color: var(--blue);
    box-shadow: none;
}

.nav a.active small,
.nav a:hover small,
.nav-group > summary.active small,
.nav-group > summary:hover small {
    color: #5f7edb;
}

.nav-group-body {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding-left: 8px;
}

.nav-currency-block {
    display: grid;
    gap: 8px;
    padding-left: 8px;
    border-left: 1px solid #e8edf7;
}

.nav-currency-link {
    padding: 10px 12px;
    border-radius: 10px;
    color: #7d8491;
}

.nav-currency-link.active,
.nav-currency-link:hover {
    background: #f7f9fd;
    color: #12162d;
}

.nav-method-links {
    display: grid;
    gap: 4px;
    padding-left: 8px;
}

.nav-method-links a {
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 13px;
}

.shell {
    margin-left: 256px;
    padding: 36px 54px 48px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    margin-bottom: 32px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.eyebrow {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
    color: var(--ink);
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 39px;
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 600;
}

.topbar p {
    margin: 8px 0 0;
    color: #707684;
    font-size: 16px;
    font-weight: 420;
}

h2 {
    margin-bottom: 3px;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.user-menu {
    position: relative;
    margin-left: 28px;
}

.user-menu[open] .user-menu-caret {
    transform: rotate(180deg);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 8px 6px 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    list-style: none;
}

.user-chip:hover,
.user-menu[open] .user-chip {
    border-color: var(--line);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.user-chip::-webkit-details-marker {
    display: none;
}

.user-chip-text {
    display: grid;
    min-width: 92px;
}

.user-chip small,
td small {
    display: block;
    color: var(--muted);
}

.user-menu-caret {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    transition: transform 0.15s ease;
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    display: grid;
    gap: 10px;
    min-width: 220px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow);
}

.user-menu-panel span {
    display: grid;
    gap: 2px;
    padding: 4px 4px 8px;
    color: var(--muted);
    font-size: 12px;
}

.user-menu-panel strong {
    color: #12162d;
    font-size: 14px;
}

.user-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    color: #b42318;
    font-weight: 700;
}

.user-menu-panel a:hover {
    background: #fff1f2;
}

.flash {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #bde7cf;
    border-radius: 8px;
    background: #edf9f2;
    color: #166534;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1.08fr;
    gap: 28px;
    margin-bottom: 32px;
}

.hero-card {
    min-height: 122px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.hero-card.blue {
    border-color: transparent;
    background: var(--blue);
    color: #fff;
}

.hero-card span,
.hero-card small {
    display: block;
    color: #858b98;
    font-weight: 560;
}

.hero-card.blue span,
.hero-card.blue small {
    color: rgba(255, 255, 255, 0.72);
}

.hero-card strong {
    display: block;
    margin: 20px 0 4px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 36px;
    line-height: 1;
    font-weight: 600;
}

.hero-card.blue strong {
    color: #fff;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel {
    padding: 24px;
}

.panel.narrow {
    max-width: 980px;
}

.form-page {
    max-width: 980px;
}

.form-page-header {
    margin-bottom: 18px;
    padding: 24px;
    border: 1px solid #dce5ff;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(79, 125, 243, 0.09), rgba(255, 255, 255, 0)),
        #fff;
    box-shadow: var(--shadow-soft);
}

.form-page-header h2 {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 30px;
    font-weight: 600;
}

.form-page-header p {
    margin-bottom: 0;
    color: var(--muted);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-header p {
    margin-bottom: 0;
    color: var(--muted);
}

.resource-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 26px;
    border: 1px solid #dce5ff;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(79, 125, 243, 0.11), rgba(38, 134, 87, 0.045)),
        #fff;
    box-shadow: var(--shadow-soft);
}

.resource-hero h2 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 34px;
    font-weight: 600;
}

.resource-hero p:last-child {
    margin: 0;
    color: var(--muted);
}

.resource-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.resource-stat-grid article {
    display: grid;
    gap: 8px;
    min-height: 112px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.resource-stat-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.resource-stat-grid strong {
    color: var(--ink);
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
}

.table-panel,
.panel:has(table),
.tab-panel,
.payout-method-panel {
    overflow-x: auto;
}

.table-panel table,
.panel table,
.tab-panel table,
.payout-method-panel table {
    min-width: 820px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.button.primary {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    box-shadow: none;
}

.button.primary:hover {
    background: var(--blue-dark);
}

.button.disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.55;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.table-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
}

.table-toolbar label {
    flex: 1;
}

.table-toolbar input {
    min-height: 46px;
    width: 100%;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
}

th:last-child,
td:last-child {
    padding-right: 18px;
}

tbody tr {
    transition: background 0.14s ease;
}

tbody tr:hover {
    background: #fbfcff;
}

.summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
    gap: 28px;
    margin-bottom: 32px;
}

.dashboard-summary {
    min-height: 310px;
}

.summary-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 46px;
    margin-top: 52px;
}

.summary-metrics div {
    position: relative;
    padding-left: 22px;
}

.summary-metrics small {
    display: block;
    color: #858b98;
    font-size: 15px;
}

.summary-metrics strong {
    display: block;
    margin-top: 8px;
    font-family: "Raleway", "Open Sans", sans-serif;
    color: #12162d;
    font-size: 34px;
    font-weight: 600;
}

.metric-line {
    position: absolute;
    top: 3px;
    left: 0;
    width: 6px;
    height: 54px;
    border-radius: 999px;
}

.blue-line { background: var(--blue); }
.purple-line { background: #b8a5f5; }
.sky-line { background: #71c3ee; }
.dark-line { background: #12162d; }

.quick-panel {
    min-height: 310px;
}

.quick-actions {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.quick-actions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #12162d;
    font-weight: 720;
}

.quick-actions a:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.dashboard-command-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.dashboard-money-card,
.dashboard-stat-card,
.dashboard-module-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.dashboard-money-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
    gap: 24px;
    min-height: 176px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(79, 125, 243, 0.13), rgba(38, 134, 87, 0.05)),
        #fff;
}

.dashboard-money-card h2 {
    margin: 8px 0 10px;
    color: var(--ink);
    font-size: 42px;
    line-height: 1;
    font-weight: 600;
}

.dashboard-money-card p:last-child,
.dashboard-stat-card small,
.dashboard-module-card small,
.dashboard-queue-heading small {
    margin: 0;
    color: var(--muted);
}

.dashboard-currency-stack,
.dashboard-action-list,
.dashboard-feed-list,
.dashboard-method-list {
    display: grid;
    gap: 10px;
}

.dashboard-currency-stack a,
.dashboard-action-list a,
.dashboard-method-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.72);
}

.dashboard-currency-stack a:hover,
.dashboard-action-list a:hover,
.dashboard-method-list a:hover,
.dashboard-module-card:hover {
    border-color: rgba(79, 125, 243, 0.45);
    box-shadow: 0 12px 26px rgba(79, 125, 243, 0.1);
}

.dashboard-currency-stack span,
.dashboard-method-list span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-currency-stack strong,
.dashboard-method-list strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-stat-card {
    display: grid;
    align-content: space-between;
    min-height: 148px;
    padding: 22px;
}

.dashboard-stat-card span,
.dashboard-module-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-stat-card strong {
    color: var(--ink);
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 600;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 22px;
    margin-bottom: 22px;
}

.dashboard-queue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-queue-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.dashboard-queue-heading {
    display: grid;
    gap: 3px;
    margin-bottom: 14px;
}

.dashboard-queue-heading span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-queue-heading strong {
    color: var(--ink);
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 30px;
    font-weight: 600;
}

.dashboard-action-list a {
    align-items: flex-start;
    flex-direction: column;
    min-height: 72px;
}

.dashboard-action-list strong {
    color: var(--ink);
}

.dashboard-action-list small {
    color: var(--muted);
}

.dashboard-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.dashboard-module-card {
    display: grid;
    gap: 9px;
    min-height: 126px;
    padding: 20px;
}

.dashboard-module-card strong {
    color: var(--ink);
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 32px;
    line-height: 1;
    font-weight: 600;
}

.dashboard-lower-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.dashboard-feed-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}

.dashboard-feed-item span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-feed-item strong,
.dashboard-feed-item small {
    display: block;
}

.dashboard-feed-item strong {
    overflow: hidden;
    color: var(--ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-feed-item small {
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-feed-item b,
.dashboard-feed-item time {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-feed-item.activity span {
    background: #ecfdf3;
    color: var(--green);
}

.empty-feed {
    margin: 0;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
    text-align: center;
}

.dashboard-direct-panel {
    margin-bottom: 26px;
}

.table-actions-cell {
    width: 1%;
    white-space: nowrap;
}

.table-action-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.table-icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--blue);
    transition:
        background 0.14s ease,
        border-color 0.14s ease,
        color 0.14s ease,
        box-shadow 0.14s ease;
}

.table-icon-action svg {
    width: 17px;
    height: 17px;
}

.table-icon-action:hover {
    border-color: var(--blue);
    background: #f2f6ff;
    box-shadow: 0 8px 18px rgba(79, 125, 243, 0.12);
}

.table-icon-action.danger {
    color: #b42318;
}

.table-icon-action.danger:hover {
    border-color: #fecdd3;
    background: #fff1f2;
    box-shadow: none;
}

.table-icon-action.muted,
.table-icon-action.is-static {
    color: #98a2b3;
}

.table-icon-action.is-static {
    cursor: default;
}

.table-icon-action.is-static:hover {
    border-color: var(--line);
    background: #fff;
    box-shadow: none;
}

th {
    background: #f9fafc;
    color: var(--muted);
    font-size: 12px;
    font-weight: 720;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: 0;
}

.empty {
    color: var(--muted);
    text-align: center;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
}

.pagination div {
    display: flex;
    gap: 8px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.badge.success {
    background: #e9f8ef;
    color: var(--green);
}

.badge.info {
    background: #edf3ff;
    color: var(--blue);
}

.badge.warning {
    background: #fff4e5;
    color: #b65c00;
}

.studio-profile-hero,
.member-profile-hero,
.payout-hero,
.studio-kpi-card,
	.studio-platform-card,
	.earnings-platform-card,
	.manager-card,
.field-card,
.platform-choice,
.payout-method-card,
.method-switcher a,
.tab-list {
    border-radius: var(--radius);
}

.studio-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    margin-bottom: 26px;
    padding: 30px;
    border: 1px solid #dce6ff;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(82, 129, 240, 0.13), rgba(113, 195, 238, 0.08)),
        #fff;
    box-shadow: var(--shadow);
}

.studio-profile-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.studio-profile-main h2 {
    margin: 0 0 8px;
    color: #12162d;
    font-size: 34px;
    font-weight: 600;
}

.profile-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.verified-badge.success {
    border-color: #bde7cf;
    background: #e9f8ef;
    color: var(--green);
}

.studio-profile-main p:last-child {
    margin: 0;
    color: var(--muted);
}

.studio-avatar,
.studio-platform-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #12162d;
    color: #fff;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 600;
}

.studio-avatar.small {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 18px;
}

.studio-profile-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 12px;
}

.studio-contact-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.studio-contact-strip span {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid rgba(82, 129, 240, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.studio-contact-strip strong {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #12162d;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.studio-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.studio-kpi-card {
    min-height: 140px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.studio-kpi-card.blue {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.studio-kpi-card span,
.studio-kpi-card small {
    display: block;
    color: var(--muted);
    font-weight: 600;
}

.studio-kpi-card.blue span,
.studio-kpi-card.blue small {
    color: rgba(255, 255, 255, 0.75);
}

.studio-kpi-card strong {
    display: block;
    margin: 18px 0 8px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 36px;
    line-height: 1;
    font-weight: 600;
}

.studio-kpi-card.blue strong {
    color: #fff;
}

.kpi-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.kpi-card-heading span {
    margin: 0;
}

.payment-method-card strong {
    font-size: 29px;
}

.payment-method-card small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.studio-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    gap: 26px;
    margin-bottom: 26px;
}

.studio-platform-list {
    display: grid;
    gap: 14px;
}

.studio-platform-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcff;
}

.studio-platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #edf3ff;
    color: var(--blue);
    font-size: 21px;
}

.studio-platform-card h3 {
    margin: 0 0 3px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.studio-platform-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.studio-platform-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.studio-platform-card p {
    margin-bottom: 12px;
    color: var(--muted);
}

.split-bar {
    display: flex;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1f7;
}

.split-bar span:nth-child(1) { background: var(--blue); }
.split-bar span:nth-child(2) { background: #71c3ee; }
.split-bar span:nth-child(3) { background: #b8a5f5; }
.split-bar span:nth-child(4) { background: #12162d; }

.studio-split-list,
.studio-detail-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 0;
}

.studio-split-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.studio-split-list div,
.studio-detail-list div {
    display: grid;
    gap: 3px;
}

.studio-split-list dt,
.studio-detail-list dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.studio-split-list dd,
.studio-detail-list dd {
    margin: 0;
    color: #12162d;
    font-weight: 650;
}

.studio-side-panel {
    align-content: start;
}

.manager-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcff;
}

.manager-card strong,
.manager-card small {
    display: block;
}

.manager-card small {
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
}

.studio-members-panel {
    margin-bottom: 26px;
}

.studio-history-panel {
    margin-bottom: 26px;
}

.tab-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 18px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f9fd;
}

.tab-button {
    min-height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.tab-button.active {
    background: #fff;
    color: #12162d;
    box-shadow: 0 8px 20px rgba(18, 22, 45, 0.08);
}

.tab-panel {
    overflow-x: auto;
}

.payout-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
    padding: 30px;
    border: 1px solid #d9e5ff;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(82, 129, 240, 0.14), rgba(46, 157, 99, 0.06)),
        #fff;
    box-shadow: var(--shadow);
}

.payout-hero h2 {
    margin: 0 0 8px;
    color: #12162d;
    font-size: 34px;
    font-weight: 600;
}

.payout-hero p:last-child {
    margin: 0;
    color: var(--muted);
}

.currency-switcher {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f7f9fd;
}

.currency-switcher a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.currency-switcher a.active {
    background: #fff;
    color: #12162d;
    box-shadow: 0 8px 20px rgba(18, 22, 45, 0.08);
}

.payout-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payout-method-stack {
    display: grid;
    gap: 22px;
    margin-bottom: 26px;
}

.payout-method-nav-panel {
    margin-bottom: 22px;
}

.method-switcher {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.method-switcher a {
    display: grid;
    gap: 4px;
    min-height: 78px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfcff;
    color: #12162d;
}

.method-switcher a.active,
.method-switcher a:hover {
    border-color: rgba(82, 129, 240, 0.45);
    background: #fff;
    box-shadow: 0 12px 28px rgba(82, 129, 240, 0.12);
}

.method-switcher span {
    font-weight: 700;
}

.method-switcher small {
    color: var(--muted);
}

.payout-method-panel {
    overflow-x: auto;
}

.payout-method-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.payout-method-total {
    display: grid;
    justify-items: end;
    gap: 4px;
    color: var(--muted);
}

.payout-method-total strong {
    color: #12162d;
    font-size: 22px;
    font-weight: 650;
}

.inline-action-form {
    display: inline-flex;
    white-space: nowrap;
}

.earnings-hero {
    margin-bottom: 20px;
}

.earnings-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.earnings-info-grid .studio-kpi-card strong {
    overflow: hidden;
    font-size: 26px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.earning-entry-cell {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.earning-entry-cell input {
    min-width: 140px;
}

.earnings-directory-hero {
    margin-bottom: 20px;
}

.earnings-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.earnings-platform-card {
    position: relative;
    display: grid;
    align-content: space-between;
    gap: 16px;
    min-height: 214px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.earnings-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
}

.earnings-platform-card.is-selected {
    border-color: rgba(79, 125, 243, 0.52);
    box-shadow: 0 14px 30px rgba(79, 125, 243, 0.12);
}

.earnings-platform-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-right: 104px;
}

.earnings-platform-card h3 {
    margin: 2px 0 4px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.earnings-platform-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.earnings-platform-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.earnings-platform-card-actions .button {
    width: 100%;
    min-height: 42px;
    padding-inline: 10px;
}

.empty-state {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    background: #fbfcff;
    color: var(--muted);
    text-align: center;
}

.empty-state h2,
.empty-state p {
    margin: 0;
}

.table-link {
    color: #12162d;
}

.table-link:hover {
    color: var(--blue);
}

.member-profile-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    margin-bottom: 26px;
    padding: 30px;
    border: 1px solid #c9ecdc;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(46, 157, 99, 0.12), rgba(82, 129, 240, 0.07)),
        #fff;
    box-shadow: var(--shadow);
}

.member-profile-main {
    display: flex;
    align-items: center;
    gap: 18px;
}

.member-profile-main h2 {
    margin: 0 0 8px;
    color: #12162d;
    font-size: 34px;
    font-weight: 600;
}

.member-profile-main p:last-child {
    margin: 0;
    color: var(--muted);
}

.member-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #2e9d63;
    color: #fff;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 600;
}

.member-profile-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.member-profile-card {
    min-height: 138px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
}

.member-profile-card.blue {
    border-color: #2e9d63;
    background: #2e9d63;
    color: #fff;
}

.member-profile-card span,
.member-profile-card small {
    display: block;
    color: var(--muted);
    font-weight: 600;
}

.member-profile-card.blue span,
.member-profile-card.blue small {
    color: rgba(255, 255, 255, 0.75);
}

.member-profile-card strong {
    display: block;
    margin: 18px 0 8px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 28px;
    line-height: 1.08;
    font-weight: 600;
}

.member-profile-card.blue strong {
    color: #fff;
}

.member-platform-list {
    display: grid;
    gap: 14px;
}

.member-platform-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfcff;
}

.member-platform-card h3 {
    margin: 0 0 3px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.member-platform-card p {
    margin-bottom: 12px;
    color: var(--muted);
}

.modal-section {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.modal-section legend {
    padding: 0 6px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.modal-window {
    width: min(780px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.22);
}

.modal-window::backdrop {
    background: rgba(15, 23, 42, 0.42);
}

.modal-card {
    padding: 28px;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.modal-header p {
    margin-bottom: 0;
    color: var(--muted);
}

.modal-close {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 22px;
    line-height: 1;
}

.modal-close:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.modal-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

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

.form-grid.one {
    grid-template-columns: 1fr;
}

.field-wide {
    grid-column: 1 / -1;
}

.form-section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.form-section:last-of-type {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.form-section legend {
    grid-column: 1 / -1;
    padding: 0 0 2px;
    color: var(--ink);
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 19px;
    font-weight: 500;
}

.form-note {
    margin: 0;
    color: var(--muted);
}

.platform-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.platform-choice {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    font-weight: 500;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.03);
}

.platform-choice:has(input:checked) {
    border-color: rgba(79, 125, 243, 0.45);
    background: #f7faff;
}

.platform-choice-header {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 12px;
    font-weight: 500;
}

.platform-choice-header input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}

.platform-choice small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-weight: 500;
}

.platform-choice.is-disabled {
    background: #f8fafc;
    color: #98a2b3;
}

.platform-choice.is-disabled small {
    color: #98a2b3;
}

.payout-method-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.platform-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 620;
}

input,
select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    font: inherit;
}

textarea {
    width: 100%;
    min-height: 96px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    font: inherit;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    outline: 3px solid #dce9ff;
}

em {
    color: #b42318;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 6px;
}

.field-card,
.split-card,
.calculated-card {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.split-card {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.field-card {
    align-content: start;
}

.payout-methods-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-card legend,
.split-card legend {
    grid-column: 1 / -1;
    padding: 0 6px;
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-weight: 600;
}

.check-row {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-weight: 500;
}

.check-row input {
    width: 18px;
    min-height: 18px;
}

.switch-row {
    align-content: start;
    grid-template-columns: 18px 1fr;
    column-gap: 10px;
    padding: 15px 0;
}

.switch-row input {
    width: 18px;
    min-height: 18px;
}

.switch-row em {
    grid-column: 1 / -1;
}

.calculated-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.calculated-card strong {
    color: #12162d;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 32px;
    font-weight: 600;
}

.calculated-card small {
    color: var(--muted);
}

.calculated-card.is-invalid {
    border-color: #fecdca;
    background: #fffbfa;
}

.calculated-card.is-invalid strong {
    color: #b42318;
}

.custom-field-list {
    display: grid;
    gap: 14px;
}

.custom-field-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.4fr) minmax(130px, 0.8fr) minmax(170px, 1fr);
    gap: 12px;
    align-items: end;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #f9fbff;
}

.custom-field-row [data-custom-field-options] {
    grid-column: 1 / -2;
}

.custom-field-row .check-row {
    align-self: center;
    padding-bottom: 11px;
}

.button.compact {
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
    justify-self: start;
}

.panel,
.hero-card,
.dashboard-money-card,
.dashboard-stat-card,
.dashboard-module-card,
.dashboard-queue-card,
.dashboard-feed-item,
.studio-profile-hero,
.member-profile-hero,
.payout-hero,
.studio-kpi-card,
.studio-platform-card,
.manager-card,
.field-card,
.platform-choice,
.payout-method-card,
.method-switcher a,
.tab-list {
    border-radius: var(--radius);
}

@media (max-width: 900px) {
    .sidebar {
        position: static;
        width: auto;
        margin: 16px;
    }

    .shell {
        margin-left: 0;
        padding: 0 16px 32px;
    }

    .stats-grid,
    .hero-stats,
    .dashboard-command-grid,
    .dashboard-money-card,
    .dashboard-main-grid,
    .dashboard-queue-grid,
    .dashboard-module-grid,
    .dashboard-lower-grid,
    .resource-stat-grid,
    .studio-profile-hero,
    .member-profile-hero,
    .studio-contact-strip,
	    .studio-kpi-grid,
	    .member-profile-grid,
	    .studio-two-column,
	    .earnings-info-grid,
	    .earnings-platform-grid,
	    .summary-grid,
    .form-grid,
    .form-section,
    .modal-form-grid,
    .platform-choice-grid,
    .payout-methods-grid,
    .custom-field-row {
        grid-template-columns: 1fr;
    }

    .topbar,
    .resource-hero,
    .payout-hero,
    .panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .studio-profile-actions,
    .studio-platform-card-heading,
    .payout-method-actions,
    .dashboard-feed-item,
    .modal-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .resource-hero .button {
        width: 100%;
    }

    .user-menu {
        margin-left: 0;
        width: 100%;
    }

    .user-chip {
        justify-content: space-between;
        width: 100%;
    }

    .user-chip-text {
        margin-right: auto;
    }

    .user-menu-panel {
        left: 0;
        right: 0;
    }

    .currency-switcher,
    .method-switcher {
        width: 100%;
    }

    .currency-switcher a {
        flex: 1;
        justify-content: center;
    }

    .method-switcher {
        grid-template-columns: 1fr;
    }
}
