/*
 * CSA Workspace V3
 * Information-first redesign for Admin, Customer and CTV surfaces.
 * Loaded after app.css and ui.css so the production backend can remain unchanged.
 */

:root {
    --v3-bg: #f4f6f9;
    --v3-surface: #ffffff;
    --v3-surface-soft: #f8fafc;
    --v3-surface-muted: #eef2f6;
    --v3-text: #172033;
    --v3-text-soft: #596579;
    --v3-text-faint: #7c8799;
    --v3-line: #dfe4eb;
    --v3-line-strong: #cfd6e1;
    --v3-primary: #2368e8;
    --v3-primary-hover: #1856c7;
    --v3-primary-soft: #edf4ff;
    --v3-cyan: #0891b2;
    --v3-success: #16845b;
    --v3-success-soft: #eaf8f2;
    --v3-warning: #b76009;
    --v3-warning-soft: #fff5e6;
    --v3-danger: #c63d46;
    --v3-danger-soft: #fff0f1;
    --v3-radius: 10px;
    --v3-radius-sm: 7px;
    --v3-shadow: 0 1px 2px rgba(20, 31, 51, .04), 0 8px 24px rgba(20, 31, 51, .05);
    --v3-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html.csa-v2 {
    color-scheme: light;
    background: var(--v3-bg);
}

html.csa-v2 body {
    color: var(--v3-text);
    font-family: var(--v3-font);
    background: var(--v3-bg);
}

html.csa-v2 *,
html.csa-v2 *::before,
html.csa-v2 *::after {
    box-sizing: border-box;
}

html.csa-v2 :where(button, input, select, textarea) {
    font: inherit;
}

html.csa-v2 :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid rgba(35, 104, 232, .22);
    outline-offset: 2px;
}

html.csa-v2 .btn {
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid var(--v3-line-strong);
    border-radius: var(--v3-radius-sm);
    color: var(--v3-text);
    background: var(--v3-surface);
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    gap: 7px;
}

html.csa-v2 .btn:hover {
    border-color: #b8c2d0;
    color: var(--v3-text);
    background: var(--v3-surface-soft);
    box-shadow: none;
    transform: none;
}

html.csa-v2 .btn.primary {
    border-color: var(--v3-primary);
    color: #fff;
    background: var(--v3-primary);
    box-shadow: none;
}

html.csa-v2 .btn.primary:hover {
    border-color: var(--v3-primary-hover);
    color: #fff;
    background: var(--v3-primary-hover);
}

html.csa-v2 .btn.danger {
    border-color: #f1c9cd;
    color: var(--v3-danger);
    background: var(--v3-danger-soft);
}

html.csa-v2 .btn.dark {
    border-color: #24324a;
    color: #fff;
    background: #24324a;
}

html.csa-v2 .pill {
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 999px;
    background: var(--v3-surface-soft);
    color: var(--v3-text-soft);
    font-size: 11px;
    font-weight: 750;
    line-height: 16px;
}

html.csa-v2 .pill.good,
html.csa-v2 .pill.success {
    border-color: #bde6d4;
    color: var(--v3-success);
    background: var(--v3-success-soft);
}

html.csa-v2 .pill.warn,
html.csa-v2 .pill.warning {
    border-color: #f4d59b;
    color: var(--v3-warning);
    background: var(--v3-warning-soft);
}

html.csa-v2 .pill.bad,
html.csa-v2 .pill.danger {
    border-color: #f4c4c8;
    color: var(--v3-danger);
    background: var(--v3-danger-soft);
}

html.csa-v2 .field {
    gap: 5px;
}

html.csa-v2 .field label {
    color: var(--v3-text-soft);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .025em;
}

html.csa-v2 :where(input, select, textarea) {
    min-height: 38px;
    border: 1px solid var(--v3-line-strong);
    border-radius: var(--v3-radius-sm);
    color: var(--v3-text);
    background: #fff;
    box-shadow: none;
}

html.csa-v2 :where(input, select, textarea):hover {
    border-color: #aeb9c8;
}

html.csa-v2 :where(input, select, textarea):focus {
    border-color: var(--v3-primary);
    box-shadow: 0 0 0 3px rgba(35, 104, 232, .12);
    outline: 0;
}

html.csa-v2 .notice {
    border-radius: var(--v3-radius-sm);
}

/* -------------------------------------------------------------------------- */
/* Admin V3 shell                                                             */
/* -------------------------------------------------------------------------- */

html.csa-v2 body.csa-admin {
    min-width: 0;
    min-height: 100vh;
    overflow: hidden;
    color: var(--v3-text);
    background: var(--v3-bg);
}

html.csa-v2 .csa-admin .shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

html.csa-v2 .csa-admin #appView:not(.hidden) {
    display: grid !important;
    grid-template-columns: 216px minmax(0, 1fr);
    grid-template-rows: 60px minmax(0, 1fr);
    width: 100%;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
}

html.csa-v2 .csa-admin .topbar {
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 60px;
    padding: 8px 16px;
    border: 0;
    border-bottom: 1px solid var(--v3-line);
    border-radius: 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: none;
    backdrop-filter: none;
}

html.csa-v2 .csa-admin .topbar .brand {
    min-width: 0;
    gap: 10px;
}

html.csa-v2 .csa-admin .topbar .brand img {
    width: 36px;
    height: 36px;
    border: 1px solid var(--v3-line);
    border-radius: 9px;
    object-fit: cover;
}

html.csa-v2 .csa-admin .topbar .brand h1 {
    margin: 0;
    color: var(--v3-text);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.015em;
}

html.csa-v2 .csa-admin .topbar .brand p {
    margin: 1px 0 0;
    color: var(--v3-text-faint);
    font-size: 11px;
    line-height: 1.25;
}

html.csa-v2 .csa-admin .topbar .actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
}

html.csa-v2 .csa-admin .topbar .actions .btn {
    min-height: 34px;
}

html.csa-v2 .csa-admin .tabs {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    inset: auto;
    z-index: 20;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    width: 216px;
    min-width: 0;
    height: 100%;
    padding: 12px 10px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid #1e2b40;
    border-radius: 0;
    background: #111b2d;
    box-shadow: none;
}

html.csa-v2 .csa-admin .tabs::before,
html.csa-v2 .csa-admin .tabs::after {
    display: none !important;
}

html.csa-v2 .csa-admin .tab {
    flex: 0 0 auto;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #aeb9cb;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 650;
    text-align: left;
}

html.csa-v2 .csa-admin .tab i {
    width: 17px;
    color: #728099;
    text-align: center;
}

html.csa-v2 .csa-admin .tab:hover {
    border-color: rgba(255, 255, 255, .06);
    color: #fff;
    background: rgba(255, 255, 255, .055);
}

html.csa-v2 .csa-admin .tab.active {
    border-color: rgba(86, 149, 255, .22);
    color: #fff;
    background: #244e92;
    box-shadow: none;
}

html.csa-v2 .csa-admin .tab.active i {
    color: #fff;
}

html.csa-v2 .csa-admin .admin-menu-toggle {
    display: none;
}

html.csa-v2 .csa-admin #content {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 14px 16px 28px;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--v3-bg);
}

html.csa-v2 .csa-admin #content > * {
    width: 100%;
    max-width: none;
}

html.csa-v2 .csa-admin :where(.panel, .stat, .table-wrap, .admin-health-panel, .admin-mobile-card, .metric, .content-tools, .admin-plan-tools, .admin-user-tools, .admin-order-tools, .order-admin-table-wrap, .plan-admin-table-wrap, .user-admin-table-wrap, .content-table-wrap, .ctv-admin-table-wrap, .ticket-admin-table-wrap) {
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    background: var(--v3-surface);
    box-shadow: none;
}

html.csa-v2 .csa-admin .admin-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    margin: 0 0 10px;
    padding: 10px 13px;
    overflow: visible;
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    color: var(--v3-text);
    background: var(--v3-surface);
    box-shadow: none;
}

html.csa-v2 .csa-admin .admin-hero::before,
html.csa-v2 .csa-admin .admin-hero::after {
    display: none !important;
}

html.csa-v2 .csa-admin .admin-hero .panel-kicker {
    margin: 0 0 3px;
    color: var(--v3-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .07em;
}

html.csa-v2 .csa-admin .admin-hero h2 {
    margin: 0;
    color: var(--v3-text);
    font-size: 21px;
    font-weight: 820;
    line-height: 1.2;
}

html.csa-v2 .csa-admin .admin-hero p {
    margin: 3px 0 0;
    color: var(--v3-text-soft);
    font-size: 12px;
    line-height: 1.4;
}

html.csa-v2 .csa-admin .stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}

html.csa-v2 .csa-admin .stat {
    position: relative;
    min-height: 66px;
    padding: 10px 11px;
    overflow: hidden;
}

html.csa-v2 .csa-admin .stat::before,
html.csa-v2 .csa-admin .stat::after {
    display: none !important;
}

html.csa-v2 .csa-admin .stat span,
html.csa-v2 .csa-admin .stat small {
    color: var(--v3-text-faint);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .03em;
}

html.csa-v2 .csa-admin .stat strong {
    margin-top: 3px;
    color: var(--v3-text);
    font-size: 20px;
    font-weight: 820;
    line-height: 1.15;
}

html.csa-v2 .csa-admin .stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    color: var(--v3-primary);
    background: var(--v3-primary-soft);
}

html.csa-v2 .csa-admin .panel {
    margin: 0 0 10px;
    overflow: visible;
}

html.csa-v2 .csa-admin .panel-head {
    min-height: 54px;
    padding: 9px 12px;
    border-bottom: 1px solid var(--v3-line);
}

html.csa-v2 .csa-admin .panel-head h2 {
    margin: 0;
    color: var(--v3-text);
    font-size: 16px;
    font-weight: 800;
}

html.csa-v2 .csa-admin .panel-head p {
    margin: 2px 0 0;
    color: var(--v3-text-faint);
    font-size: 11px;
    line-height: 1.35;
}

html.csa-v2 .csa-admin .panel-body {
    padding: 10px 12px;
}

html.csa-v2 .csa-admin .csa-data-panel > .panel-body {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 0;
}

html.csa-v2 .csa-admin .csa-data-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

html.csa-v2 .csa-admin .csa-visible-count {
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 999px;
    color: var(--v3-text-soft);
    background: var(--v3-surface-soft);
    font-size: 11px;
    font-weight: 700;
}

html.csa-v2 .csa-admin .csa-density-toggle,
html.csa-v2 .csa-admin .csa-column-picker {
    display: none !important;
}

html.csa-v2 .csa-admin :where(.tools, .content-tools, .admin-plan-tools, .admin-user-tools, .admin-order-tools, .csa-filter-dock, .v3-querybar) {
    display: grid;
    grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(130px, .8fr)) auto auto;
    align-items: end;
    gap: 7px;
    min-height: 0;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: var(--v3-surface-soft);
    box-shadow: none;
    backdrop-filter: none;
}

html.csa-v2 .csa-admin :where(.tools, .content-tools, .admin-plan-tools, .admin-user-tools, .admin-order-tools, .csa-filter-dock) :where(input, select, .btn) {
    min-height: 36px;
}

html.csa-v2 .csa-admin .csa-filter-presets {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 0;
}

html.csa-v2 .csa-admin .csa-filter-presets > span {
    color: var(--v3-text-faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

html.csa-v2 .csa-admin .csa-filter-preset {
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 999px;
    color: var(--v3-text-soft);
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}

html.csa-v2 .csa-admin .csa-filter-preset.active {
    border-color: #b9d2ff;
    color: var(--v3-primary);
    background: var(--v3-primary-soft);
}

html.csa-v2 .csa-admin .user-filter-chips {
    align-self: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 0;
    margin: 0;
    padding: 0;
}

html.csa-v2 .csa-admin .user-filter-chips:empty {
    display: none;
}

html.csa-v2 .csa-admin .user-filter-chips span {
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 6px;
    color: var(--v3-text-soft);
    background: var(--v3-surface-soft);
    font-size: 11px;
    line-height: 16px;
}

html.csa-v2 .csa-admin :where(.table-wrap, .csa-data-frame, .order-admin-table-wrap, .plan-admin-table-wrap, .user-admin-table-wrap, .ctv-admin-table-wrap) {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: #fff;
    scrollbar-width: thin;
}

html.csa-v2 .csa-admin table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--v3-text);
    background: #fff;
}

html.csa-v2 .csa-admin th {
    height: 36px;
    padding: 7px 9px;
    border: 0;
    border-bottom: 1px solid var(--v3-line-strong);
    color: var(--v3-text-soft);
    background: var(--v3-surface-soft);
    font-size: 10px;
    font-weight: 820;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
}

html.csa-v2 .csa-admin td {
    padding: 8px 9px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    color: var(--v3-text);
    font-size: 12px;
    line-height: 1.38;
    vertical-align: top;
}

html.csa-v2 .csa-admin tbody tr:last-child td {
    border-bottom: 0;
}

html.csa-v2 .csa-admin tr:hover td {
    background: #fafcff;
}

html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) {
    table-layout: fixed;
    min-width: 0;
}

html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) :where(a, button) {
    overflow-wrap: anywhere;
}

html.csa-v2 .csa-admin :where(.entity-link, .entity-subline, .source-filter-button, .user-cell-button, [data-order-customer], [data-order-ctv], [data-order-plan], [data-user-id]) {
    padding: 0;
    border: 0;
    color: #075fa5;
    background: transparent;
    box-shadow: none;
    font-size: inherit;
    font-weight: 750;
    line-height: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

html.csa-v2 .csa-admin :where(.entity-link, .entity-subline, .source-filter-button, .user-cell-button, [data-order-customer], [data-order-ctv], [data-order-plan], [data-user-id]):hover {
    color: var(--v3-primary-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

html.csa-v2 .csa-admin :where(.entity-subline, .compact-summary, .order-meta, .plan-meta, .user-meta) {
    display: block;
    margin-top: 3px;
    color: var(--v3-text-faint);
    font-size: 11px;
    line-height: 1.35;
}

html.csa-v2 .csa-admin .entity-subline {
    width: auto;
    color: var(--v3-text-faint);
    font-weight: 650;
}

html.csa-v2 .csa-admin .compact-summary-button {
    display: grid;
    gap: 3px;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    color: var(--v3-text);
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

html.csa-v2 .csa-admin .compact-summary-button span {
    color: var(--v3-text-faint);
    font-size: 11px;
}

html.csa-v2 .csa-admin .compact-summary-button:hover strong {
    color: var(--v3-primary);
}

html.csa-v2 .csa-admin :where(.order-money-card, .order-value, .rental-model-cell, .distribution-cell, .plan-price-stack, .commission-review-box) {
    display: grid;
    gap: 3px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

html.csa-v2 .csa-admin :where(.order-money-card, .order-value) strong {
    color: var(--v3-text);
    font-size: 13px;
}

html.csa-v2 .csa-admin :where(.order-identity-cell, .order-party-cell, .order-rental-cell, .order-payment-cell, .ctv-identity-cell, .compact-summary, .money-stack, .user-rental-stack, .compact-price-list) {
    display: grid;
    align-content: start;
    gap: 3px;
    min-width: 0;
}

html.csa-v2 .csa-admin :where(.order-identity-cell, .order-party-cell, .order-rental-cell, .order-payment-cell, .ctv-identity-cell, .compact-summary, .money-stack, .user-rental-stack, .compact-price-list) :where(span, small) {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--v3-text-faint);
    font-size: 10.5px;
    line-height: 1.35;
}

html.csa-v2 .csa-admin .order-identity-cell .order-code-button {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.csa-v2 .csa-admin .inline-edit-cell {
    display: grid;
    align-content: start;
    gap: 5px;
}

html.csa-v2 .csa-admin :where(.status-select, [data-inline-commission-status]) {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    padding: 4px 24px 4px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 750;
}

html.csa-v2 .csa-admin .is-entity-focus td {
    background: #f3f7ff;
}

html.csa-v2 .csa-admin .is-entity-focus td:first-child {
    box-shadow: inset 3px 0 var(--v3-primary);
}

html.csa-v2 .csa-admin .plan-admin-product {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 8px;
    min-width: 0;
}

html.csa-v2 .csa-admin .plan-admin-product img {
    width: 38px;
    height: 38px;
    border: 1px solid var(--v3-line);
    border-radius: 7px;
    object-fit: cover;
}

html.csa-v2 .csa-admin .plan-admin-product p {
    display: -webkit-box;
    margin: 2px 0 4px;
    overflow: hidden;
    color: var(--v3-text-faint);
    font-size: 10.5px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html.csa-v2 .csa-admin .plan-admin-product .periods {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

html.csa-v2 .csa-admin .compact-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 2px;
    border-bottom: 1px dashed #edf0f4;
}

html.csa-v2 .csa-admin .compact-price-row em {
    color: var(--v3-text-faint);
    font-size: 10px;
    font-style: normal;
}

html.csa-v2 .csa-admin :where(.active-rental-cell, .user-cell-button) {
    display: grid;
    gap: 3px;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    color: var(--v3-text);
    background: transparent;
    box-shadow: none;
    text-align: left;
}

html.csa-v2 .csa-admin :where(.active-rental-cell, .user-cell-button) :where(span, small) {
    color: var(--v3-text-faint);
    font-size: 10.5px;
    line-height: 1.35;
}

html.csa-v2 .csa-admin .user-rental-pill {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 5px 7px;
    border: 1px solid var(--v3-line);
    border-radius: 6px;
    background: var(--v3-surface-soft);
}

html.csa-v2 .csa-admin .user-rental-pill.selected {
    border-color: #b9d2ff;
    background: var(--v3-primary-soft);
}

html.csa-v2 .csa-admin .user-rental-more {
    justify-self: start;
    min-height: 24px;
    padding: 2px 6px;
    border: 0;
    color: var(--v3-primary);
    background: transparent;
    font-size: 10px;
    font-weight: 750;
}

html.csa-v2 .csa-admin .role-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

html.csa-v2 .csa-admin .admin-compact-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

html.csa-v2 .csa-admin .admin-compact-metrics > span {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 7px;
    background: var(--v3-surface-soft);
}

html.csa-v2 .csa-admin .admin-compact-metrics em {
    overflow: hidden;
    color: var(--v3-text-faint);
    font-size: 9px;
    font-style: normal;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.csa-v2 .csa-admin .admin-compact-metrics strong {
    overflow: hidden;
    color: var(--v3-text);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.csa-v2 .csa-admin .ctv-plans-compact {
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: #fff;
}

html.csa-v2 .csa-admin .ctv-plans-compact > summary {
    min-height: 36px;
    padding: 8px 10px;
    color: var(--v3-text-soft);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

html.csa-v2 .csa-admin .ctv-plans-compact > div {
    padding: 8px;
    border-top: 1px solid var(--v3-line);
}

html.csa-v2 .csa-admin :where(.compact-actions, .table-actions, .action-row) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

html.csa-v2 .csa-admin :where(.compact-actions, .table-actions, .action-row) .btn {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 11px;
}

html.csa-v2 .csa-admin .row-action-menu {
    position: relative;
}

html.csa-v2 .csa-admin .row-action-menu > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    min-height: 30px;
    padding: 4px 8px;
    border: 1px solid var(--v3-line-strong);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    list-style: none;
}

html.csa-v2 .csa-admin .row-action-menu > summary::-webkit-details-marker {
    display: none;
}

html.csa-v2 .csa-admin .row-action-menu[open] > div {
    position: absolute;
    z-index: 50;
    top: calc(100% + 5px);
    right: 0;
    display: grid;
    gap: 4px;
    width: 170px;
    padding: 6px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--v3-shadow);
}

html.csa-v2 .csa-admin :where(.admin-pagination, .content-pagination) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-height: 36px;
    margin-top: 7px;
    padding: 5px 7px;
    border-top: 1px solid var(--v3-line);
}

html.csa-v2 .csa-admin :where(.admin-pagination, .content-pagination) .btn {
    min-height: 30px;
}

html.csa-v2 .csa-admin .drawer {
    background: rgba(15, 24, 39, .48);
    backdrop-filter: blur(2px);
}

html.csa-v2 .csa-admin .drawer-panel {
    width: min(700px, 100vw);
    border-left: 1px solid var(--v3-line);
    background: #fff;
    box-shadow: -14px 0 40px rgba(15, 24, 39, .14);
}

html.csa-v2 .csa-admin .drawer-head {
    min-height: 62px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--v3-line);
    background: #fff;
}

html.csa-v2 .csa-admin .drawer-body {
    padding: 14px;
}

/* -------------------------------------------------------------------------- */
/* Customer portal V3                                                         */
/* -------------------------------------------------------------------------- */

html.csa-v2 body.csa-client {
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    color: var(--v3-text);
    background: var(--v3-bg);
}

html.csa-v2 body.csa-client::before,
html.csa-v2 body.csa-client::after {
    display: none !important;
}

html.csa-v2 .client-app {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

html.csa-v2 .client-shell:not(.hidden) {
    display: block !important;
    width: 100%;
    min-height: 100dvh;
}

html.csa-v2 .client-topbar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    width: 224px;
    height: 100dvh;
    margin: 0;
    padding: 14px 11px;
    overflow: hidden;
    border: 0;
    border-right: 1px solid #1d2b42;
    border-radius: 0;
    background: #111b2d;
    box-shadow: none;
    backdrop-filter: none;
}

html.csa-v2 .client-topbar .topbar-main {
    display: contents;
}

html.csa-v2 .client-topbar .brand {
    order: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 2px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

html.csa-v2 .client-topbar .brand img {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 9px;
    object-fit: cover;
}

html.csa-v2 .client-topbar .brand h1 {
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.csa-v2 .client-topbar .brand p {
    margin: 2px 0 0;
    overflow: hidden;
    color: #7f8da3;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.csa-v2 .client-topbar .tabs {
    order: 2;
    display: flex !important;
    flex: 0 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    margin: 12px 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
}

html.csa-v2 .client-topbar .tab {
    flex: 0 0 auto;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #aeb9cb;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    font-weight: 680;
}

html.csa-v2 .client-topbar .tab i {
    width: 17px;
    color: #75839a;
    text-align: center;
}

html.csa-v2 .client-topbar .tab:hover {
    border-color: rgba(255, 255, 255, .06);
    color: #fff;
    background: rgba(255, 255, 255, .055);
}

html.csa-v2 .client-topbar .tab.active {
    border-color: rgba(86, 149, 255, .2);
    color: #fff;
    background: #244e92;
    box-shadow: none;
}

html.csa-v2 .client-topbar .tab.active i {
    color: #fff;
}

html.csa-v2 .client-topbar .actions {
    order: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

html.csa-v2 .client-topbar .actions .btn,
html.csa-v2 .client-topbar .language-current {
    justify-content: flex-start;
    width: 100%;
    min-height: 34px;
    border-color: rgba(255, 255, 255, .1);
    color: #dce3ee;
    background: rgba(255, 255, 255, .045);
}

html.csa-v2 .client-topbar .menu-toggle {
    display: none;
}

html.csa-v2 .client-shell .app-content {
    width: calc(100% - 224px);
    max-width: none;
    min-height: 100dvh;
    margin: 0 0 0 224px;
    padding: 16px 18px 34px;
}

html.csa-v2 .client-shell .app-content > * {
    width: 100%;
    max-width: 1540px;
    margin-right: auto;
    margin-left: auto;
}

html.csa-v2 .client-shell :where(.panel, .table-wrap, .metric, .store-card, .rental-dashboard, .rental-product-card, .notice-card, .order-card, .profile-card) {
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    background: #fff;
    box-shadow: none;
}

html.csa-v2 .client-shell .rental-dashboard {
    min-height: 0;
    margin: 0 0 10px;
    padding: 13px 14px;
    overflow: visible;
    border: 1px solid var(--v3-line) !important;
    border-radius: var(--v3-radius) !important;
    color: var(--v3-text) !important;
    background: #fff !important;
    box-shadow: none !important;
}

html.csa-v2 .client-shell .rental-dashboard::before,
html.csa-v2 .client-shell .rental-dashboard::after {
    display: none !important;
}

html.csa-v2 .client-shell .rental-dashboard-empty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 104px;
}

html.csa-v2 .client-shell .rental-dashboard .panel-kicker {
    margin: 0 0 3px;
    color: var(--v3-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
}

html.csa-v2 .client-shell .rental-dashboard h2 {
    max-width: none;
    margin: 0;
    color: var(--v3-text);
    font-size: 23px;
    font-weight: 820;
    line-height: 1.18;
}

html.csa-v2 .client-shell .rental-dashboard p {
    max-width: 760px;
    margin: 4px 0 0;
    color: var(--v3-text-soft);
    font-size: 12px;
    line-height: 1.45;
}

html.csa-v2 .client-shell .rental-dashboard .btn:not(.primary) {
    border-color: var(--v3-line-strong);
    color: var(--v3-text);
    background: #fff;
}

html.csa-v2 .client-shell .rental-product-grid,
html.csa-v2 .client-shell .rental-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

html.csa-v2 .client-shell :where(.rental-product-card, .rental-row, .rental-row-v3) {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 10px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: #fff;
}

html.csa-v2 .client-shell :where(.rental-product-card, .rental-row, .rental-row-v3) img {
    width: 62px;
    height: 62px;
    border-radius: 9px;
    object-fit: cover;
}

html.csa-v2 .client-shell .rental-product-body {
    display: grid;
    gap: 7px;
    min-width: 0;
}

html.csa-v2 .client-shell .rental-product-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

html.csa-v2 .client-shell .rental-product-title h3 {
    margin: 4px 0 0;
    color: var(--v3-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

html.csa-v2 .client-shell .rental-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

html.csa-v2 .client-shell .rental-card-actions .btn {
    min-height: 32px;
    padding: 5px 9px;
    font-size: 11px;
}

html.csa-v2 .client-shell .rental-progress {
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7ecf3;
}

html.csa-v2 .client-shell .rental-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--v3-primary);
}

html.csa-v2 body.csa-client :where(.rental-facts, .plan-specs, .plan-v3-specs, .plan-specs-v3, .rental-facts-v3, .checkout-mechanics-v3) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 7px 0 0;
}

html.csa-v2 body.csa-client :where(.rental-facts, .plan-specs, .plan-v3-specs, .plan-specs-v3, .rental-facts-v3, .checkout-mechanics-v3) > div {
    min-width: 0;
    padding: 6px 8px;
    border-left: 2px solid #d8e4f8;
    background: var(--v3-surface-soft);
}

html.csa-v2 body.csa-client :where(.rental-facts, .plan-specs, .plan-v3-specs, .plan-specs-v3, .rental-facts-v3, .checkout-mechanics-v3) :where(dt, span) {
    margin: 0 0 1px;
    color: var(--v3-text-faint);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

html.csa-v2 body.csa-client :where(.rental-facts, .plan-specs, .plan-v3-specs, .plan-specs-v3, .rental-facts-v3) dd,
html.csa-v2 body.csa-client .checkout-mechanics-v3 strong {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--v3-text);
    font-size: 11px;
    font-weight: 700;
}

html.csa-v2 body.csa-client :where(.mode-badge, .delivery-badge, .quota-badge) {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border: 1px solid #c9dcfa;
    border-radius: 999px;
    color: #1f61b5;
    background: #f0f6ff;
    font-size: 10px;
    font-weight: 800;
}

html.csa-v2 body.csa-client :where(.mode-badge.manual, .delivery-badge.manual) {
    border-color: #edd39f;
    color: #9b5b06;
    background: #fff7e8;
}

html.csa-v2 .client-shell .dashboard-utility-grid {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 10px;
}

html.csa-v2 .client-shell .dashboard-utility-grid > * {
    min-width: 0;
    margin: 0;
}

html.csa-v2 .client-shell .panel {
    margin: 0 0 10px;
    overflow: hidden;
}

html.csa-v2 .client-shell .panel-head {
    min-height: 52px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--v3-line);
}

html.csa-v2 .client-shell .panel-head h2 {
    margin: 0;
    color: var(--v3-text);
    font-size: 15px;
    font-weight: 800;
}

html.csa-v2 .client-shell .panel-head p {
    margin: 2px 0 0;
    color: var(--v3-text-faint);
    font-size: 11px;
}

html.csa-v2 .client-shell .panel-body {
    padding: 11px 12px;
}

html.csa-v2 .client-shell .store-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 70px;
    margin: 0 0 9px;
    padding: 11px 13px;
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    color: var(--v3-text);
    background: #fff;
    box-shadow: none;
}

html.csa-v2 .client-shell .store-hero::before,
html.csa-v2 .client-shell .store-hero::after {
    display: none !important;
}

html.csa-v2 .client-shell .store-hero .eyebrow {
    color: var(--v3-primary);
    font-size: 10px;
    font-weight: 820;
}

html.csa-v2 .client-shell .store-hero h2 {
    margin: 2px 0 0;
    color: var(--v3-text);
    font-size: 22px;
    font-weight: 820;
    line-height: 1.2;
}

html.csa-v2 .client-shell .store-hero p {
    max-width: 760px;
    margin: 3px 0 0;
    color: var(--v3-text-soft);
    font-size: 12px;
}

html.csa-v2 .client-shell .store-header-v3 .store-search {
    flex: 0 1 340px;
    display: grid;
    gap: 4px;
}

html.csa-v2 .client-shell .store-header-v3 .store-search label {
    color: var(--v3-text-faint);
    font-size: 10px;
    font-weight: 800;
}

html.csa-v2 .client-shell .shop-layout {
    display: block;
}

html.csa-v2 .client-shell .shop-sidebar {
    position: static;
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    margin: 0 0 9px;
    padding: 8px;
    overflow: visible;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: var(--v3-surface-soft);
    box-shadow: none;
}

html.csa-v2 .client-shell .shop-sidebar h3 {
    flex: 0 0 auto;
    margin: 0 6px 0 0;
    color: var(--v3-text-soft);
    font-size: 11px;
}

html.csa-v2 .client-shell .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

html.csa-v2 .client-shell .category-list button {
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid var(--v3-line);
    border-radius: 6px;
    color: var(--v3-text-soft);
    background: #fff;
    font-size: 11px;
    font-weight: 700;
}

html.csa-v2 .client-shell .category-list button.active {
    border-color: #bfd5fb;
    color: var(--v3-primary);
    background: var(--v3-primary-soft);
}

html.csa-v2 .client-shell :where(.store-grid, .plan-v3-grid) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

html.csa-v2 .client-shell :where(.store-card, .plan-v3-card, .plan-tile, .plan-tile-v3) {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    background: #fff;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

html.csa-v2 .client-shell :where(.store-card, .plan-v3-card, .plan-tile, .plan-tile-v3):hover {
    border-color: #b9c5d5;
    box-shadow: 0 8px 22px rgba(24, 42, 72, .07);
    transform: none;
}

html.csa-v2 .client-shell .store-card .media {
    height: 108px;
    min-height: 108px;
    overflow: hidden;
    background: var(--v3-surface-muted);
}

html.csa-v2 .client-shell .plan-tile-head-v3 {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

html.csa-v2 .client-shell .plan-tile-v3 .plan-tile-head-v3 .media {
    width: 68px;
    height: 68px;
    min-height: 68px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--v3-line);
    border-radius: 9px;
    background: var(--v3-surface-muted);
}

html.csa-v2 .client-shell .plan-tile-v3 .plan-tile-head-v3 .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.csa-v2 .client-shell .plan-tile-title-v3 {
    min-width: 0;
}

html.csa-v2 .client-shell .plan-badges-v3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

html.csa-v2 .client-shell .category-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 3px 7px;
    border: 1px solid var(--v3-line);
    border-radius: 999px;
    color: var(--v3-text-soft);
    background: var(--v3-surface-soft);
    font-size: 10px;
    font-weight: 750;
}

html.csa-v2 .client-shell .plan-summary-v3 {
    min-height: 32px;
}

html.csa-v2 .client-shell .store-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.csa-v2 .client-shell .store-card .body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    padding: 11px;
}

html.csa-v2 .client-shell .store-card h3 {
    margin: 0;
    color: var(--v3-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

html.csa-v2 .client-shell .store-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--v3-text-soft);
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html.csa-v2 .client-shell .store-card footer,
html.csa-v2 .client-shell .store-card .store-card-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #edf0f4;
}

html.csa-v2 .client-shell :where(.plan-filter-bar, .catalog-filter-bar, .catalog-filters-v3) {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(150px, .75fr));
    gap: 7px;
    margin: 0 0 9px;
    padding: 8px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: var(--v3-surface-soft);
}

html.csa-v2 .client-shell :where(.plan-filter-bar, .catalog-filter-bar, .catalog-filters-v3) :where(input, select) {
    min-height: 36px;
}

html.csa-v2 .client-shell .catalog-filters-v3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

html.csa-v2 .client-shell .catalog-category-row-v3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 8px;
    padding: 7px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: #fff;
}

html.csa-v2 .client-shell .catalog-category-row-v3 > span {
    flex: 0 0 auto;
    color: var(--v3-text-faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

html.csa-v2 .client-shell .catalog-category-row-v3 .category-list {
    min-width: 0;
}

html.csa-v2 .client-shell .catalog-category-row-v3 .category-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 6px;
    color: var(--v3-text-soft);
    background: var(--v3-surface-soft);
    font-size: 10.5px;
    font-weight: 720;
}

html.csa-v2 .client-shell .catalog-category-row-v3 .category-pill.active {
    border-color: #bed4fa;
    color: var(--v3-primary);
    background: var(--v3-primary-soft);
}

html.csa-v2 .client-shell .store-toolbar-v3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
    margin: 0 0 8px;
    padding: 4px 2px;
}

html.csa-v2 .client-shell .store-toolbar-v3 :where(strong, span) {
    font-size: 11px;
}

html.csa-v2 body.csa-client :where(.plan-mechanic, .mechanic-summary, .rental-mechanic, .rent-mechanic-inline-v3) {
    display: grid;
    gap: 7px;
    padding: 9px 10px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: var(--v3-surface-soft);
}

html.csa-v2 body.csa-client :where(.plan-mechanic, .mechanic-summary, .rental-mechanic, .rent-mechanic-inline-v3) p,
html.csa-v2 body.csa-client .rent-mechanic-inline-v3 > span {
    margin: 0;
    color: var(--v3-text-soft);
    font-size: 11px;
    line-height: 1.45;
}

html.csa-v2 body.csa-client .rent-period-note,
html.csa-v2 body.csa-client .checkout-note {
    margin: 0;
    padding: 8px 9px;
    border: 1px solid #d8e5f7;
    border-radius: 7px;
    color: #34506f;
    background: #f4f8fe;
    font-size: 11px;
    line-height: 1.45;
}

html.csa-v2 body.csa-client .plan-detail-v3 {
    display: grid;
    gap: 10px;
}

html.csa-v2 body.csa-client .plan-detail-summary-v3 {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

html.csa-v2 body.csa-client .plan-detail-summary-v3 img {
    width: 108px;
    height: 108px;
    border: 1px solid var(--v3-line);
    border-radius: 10px;
    object-fit: cover;
}

html.csa-v2 body.csa-client .plan-description-v3 {
    padding: 10px;
}

html.csa-v2 body.csa-client .checkout-form-v3 {
    display: grid;
    gap: 10px;
}

html.csa-v2 body.csa-client .checkout-steps-v3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

html.csa-v2 body.csa-client .checkout-steps-v3 span {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid var(--v3-line);
    border-radius: 7px;
    color: var(--v3-text-soft);
    background: var(--v3-surface-soft);
    font-size: 10.5px;
    font-weight: 700;
}

html.csa-v2 body.csa-client .checkout-steps-v3 b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    color: #fff;
    background: var(--v3-primary);
    font-size: 10px;
}

html.csa-v2 body.csa-client .period-picker-v3 {
    margin: 0;
    padding: 9px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
}

html.csa-v2 body.csa-client .period-picker-v3 legend {
    padding: 0 5px;
    color: var(--v3-text-soft);
    font-size: 11px;
    font-weight: 800;
}

html.csa-v2 body.csa-client .period-options-v3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

html.csa-v2 body.csa-client .period-option-v3 {
    position: relative;
    display: grid;
    gap: 2px;
    min-height: 54px;
    padding: 8px 9px;
    border: 1px solid var(--v3-line);
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

html.csa-v2 body.csa-client .period-option-v3:has(input:checked) {
    border-color: var(--v3-primary);
    background: var(--v3-primary-soft);
    box-shadow: 0 0 0 1px var(--v3-primary);
}

html.csa-v2 body.csa-client .period-option-v3 input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

html.csa-v2 body.csa-client .period-option-v3 span {
    color: var(--v3-text-faint);
    font-size: 10px;
}

html.csa-v2 body.csa-client .period-option-v3 strong {
    color: var(--v3-text);
    font-size: 13px;
}

html.csa-v2 body.csa-client .checkout-form-v3 .checkout-total > div {
    display: grid;
    gap: 2px;
}

html.csa-v2 body.csa-client .checkout-form-v3 .checkout-total small {
    color: var(--v3-text-soft);
    font-size: 11px;
    line-height: 1.2;
}

html.csa-v2 body.csa-client .checkout-extras-v3 {
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: var(--v3-surface-soft);
}

html.csa-v2 body.csa-client .checkout-extras-v3 > summary {
    padding: 8px 10px;
    color: var(--v3-text-soft);
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

html.csa-v2 body.csa-client .checkout-extras-fields-v3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px;
    border-top: 1px solid var(--v3-line);
}

html.csa-v2 body.csa-client .manual-contact-checkout-v3 {
    display: grid;
    gap: 10px;
    padding: 11px;
}

html.csa-v2 .client-shell :where(.client-order-list, .order-v3-list) {
    display: grid;
    gap: 7px;
}

html.csa-v2 .client-shell :where(.client-order-card, .order-v3-row) {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(200px, 1.5fr) minmax(120px, .7fr) minmax(120px, .7fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 9px 10px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: #fff;
}

html.csa-v2 .client-shell .notice-list {
    display: grid;
    gap: 6px;
}

html.csa-v2 .client-shell .notice-card {
    padding: 9px 10px;
}

html.csa-v2 .client-shell .notice-card h3 {
    margin: 0 0 3px;
    font-size: 13px;
}

html.csa-v2 .client-shell .notice-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--v3-text-soft);
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* -------------------------------------------------------------------------- */
/* Public landing and authentication                                          */
/* -------------------------------------------------------------------------- */

html.csa-v2 .public-view,
html.csa-v2 .auth-view {
    width: 100%;
    max-width: none;
}

html.csa-v2 .public-nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 64px;
    margin: 12px auto;
    padding: 9px 12px;
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: none;
}

html.csa-v2 .public-nav .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(720px, 100%);
}

html.csa-v2 .public-nav .brand > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

html.csa-v2 .public-nav .brand h1 {
    margin: 0;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

html.csa-v2 .public-nav .brand p {
    max-width: 640px;
    margin: 0;
    overflow-wrap: anywhere;
    line-height: 1.45;
    white-space: normal;
}

html.csa-v2 .public-nav .actions {
    flex: 0 0 auto;
}

html.csa-v2 #guestPlans .section-title {
    display: grid;
    gap: 5px;
    margin-bottom: 14px;
}

html.csa-v2 #guestPlans .section-title h2,
html.csa-v2 #guestPlans .section-title p {
    margin: 0;
}

html.csa-v2 #guestPlans .section-title h2 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
}

html.csa-v2 #guestPlans .section-title p {
    max-width: 760px;
    line-height: 1.55;
}

html.csa-v2 #guestPlanList.product-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 9px;
}

html.csa-v2 #guestPlanList > .empty {
    grid-column: 1 / -1;
}

html.csa-v2 .public-view .guest-plan-tile-v3 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    gap: 9px;
    overflow: hidden;
    padding: 11px;
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    background: #fff;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

html.csa-v2 .public-view .guest-plan-tile-v3:hover {
    border-color: #b9c5d5;
    box-shadow: 0 8px 22px rgba(24, 42, 72, .07);
    transform: none;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .plan-tile-head-v3 {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .product-thumb {
    width: 64px;
    height: 64px;
    aspect-ratio: 1;
    border: 1px solid var(--v3-line);
    border-radius: 9px;
    object-fit: cover;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .plan-tile-title-v3 {
    display: grid;
    align-content: start;
    min-width: 0;
    gap: 5px;
}

html.csa-v2 .public-view .guest-plan-tile-v3 h3 {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--v3-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .plan-summary-v3 {
    display: -webkit-box;
    min-height: 32px;
    margin: 0;
    overflow: hidden;
    color: var(--v3-text-soft);
    font-size: 11px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .plan-tile-footer-v3 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid #edf0f4;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .plan-from-price {
    display: grid;
    min-width: 0;
    gap: 1px;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .plan-from-price span {
    color: var(--v3-text-faint);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

html.csa-v2 .public-view .guest-plan-tile-v3 .plan-from-price strong {
    overflow-wrap: anywhere;
    color: var(--v3-text);
    font-size: 13px;
}

@media (max-width: 1180px) {
    html.csa-v2 #guestPlanList.product-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    html.csa-v2 .public-nav {
        align-items: stretch;
    }

    html.csa-v2 .public-nav .brand {
        max-width: none;
    }

    html.csa-v2 .public-nav .actions {
        width: 100%;
        flex-wrap: wrap;
    }

    html.csa-v2 .public-nav .actions .btn {
        flex: 1 1 auto;
    }

    html.csa-v2 #guestPlanList.product-strip {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .public-view .guest-plan-tile-v3 .plan-tile-footer-v3 {
        align-items: stretch;
        flex-direction: column;
    }

    html.csa-v2 .public-view .guest-plan-tile-v3 .plan-tile-footer-v3 .btn {
        width: 100%;
    }
}

html.csa-v2 .hero-stage {
    width: min(1180px, calc(100% - 32px));
    min-height: 420px;
    margin: 0 auto 14px;
    border-radius: 14px;
    box-shadow: none;
}

html.csa-v2 .hero-stage .hero-copy h2 {
    max-width: 720px;
    font-size: clamp(38px, 5vw, 66px);
    letter-spacing: -.045em;
}

html.csa-v2 .showcase-card,
html.csa-v2 .product-card,
html.csa-v2 .feature-tile,
html.csa-v2 .auth-card {
    border-radius: var(--v3-radius);
    box-shadow: var(--v3-shadow);
}

html.csa-v2 .public-band {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 14px;
    padding: 18px;
    border: 1px solid var(--v3-line);
    border-radius: 12px;
    background: #fff;
}

/* -------------------------------------------------------------------------- */
/* CTV, child web and utility/admin surfaces                                  */
/* -------------------------------------------------------------------------- */

html.csa-v2 body.csa-staff-portal-v2,
html.csa-v2 body.csa-admin-tool {
    color: var(--v3-text);
    background: var(--v3-bg);
}

html.csa-v2 body.csa-staff-portal-v2 :where(.topbar, .panel, .stat, .workspace, .item, .type-card, .link-row),
html.csa-v2 body.csa-admin-tool :where(.topbar, .panel, .stat, .workspace, .item, .type-card, .link-row) {
    border: 1px solid var(--v3-line);
    border-radius: var(--v3-radius);
    background: #fff;
    box-shadow: none;
}

html.csa-v2 body.csa-staff-portal-v2 :where(.topbar, .panel-head),
html.csa-v2 body.csa-admin-tool :where(.topbar, .panel-head) {
    min-height: 56px;
    padding: 9px 12px;
}

html.csa-v2 body.csa-staff-portal-v2 .tabs,
html.csa-v2 body.csa-admin-tool .tabs {
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--v3-line);
    border-radius: 8px;
    background: var(--v3-surface-soft);
    box-shadow: none;
}

html.csa-v2 body.csa-staff-portal-v2 .tab,
html.csa-v2 body.csa-admin-tool .tab {
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 6px;
    color: var(--v3-text-soft);
    font-size: 12px;
}

html.csa-v2 body.csa-staff-portal-v2 .tab.active,
html.csa-v2 body.csa-admin-tool .tab.active {
    color: #fff;
    background: var(--v3-primary);
    box-shadow: none;
}

html.csa-v2 body.csa-staff-portal-v2 :where(table th, table td),
html.csa-v2 body.csa-admin-tool :where(table th, table td) {
    padding: 8px 9px;
    border-color: var(--v3-line);
    font-size: 12px;
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (min-width: 1366px) {
    html.csa-v2 .csa-admin :where(.admin-v3-orders, .admin-v3-plans, .admin-v3-users, .admin-v3-ctv, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) {
        width: 100%;
        min-width: 0 !important;
    }

    html.csa-v2 .csa-admin :where(.order-admin-table-v3-wrap, .plan-admin-table-v3-wrap, .user-admin-table-v3-wrap, .ctv-admin-table-v3-wrap) {
        overflow-x: visible;
    }
}

@media (max-width: 1180px) {
    html.csa-v2 .csa-admin .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html.csa-v2 .csa-admin .admin-compact-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html.csa-v2 .csa-admin :where(.tools, .content-tools, .admin-plan-tools, .admin-user-tools, .admin-order-tools, .csa-filter-dock, .v3-querybar) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html.csa-v2 .csa-admin :where(.tools, .content-tools, .admin-plan-tools, .admin-user-tools, .admin-order-tools, .csa-filter-dock, .v3-querybar) > .field:first-of-type {
        grid-column: span 2;
    }

    html.csa-v2 .client-shell :where(.store-grid, .plan-v3-grid) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.csa-v2 .client-shell :where(.plan-filter-bar, .catalog-filter-bar, .catalog-filters-v3) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    html.csa-v2 body.csa-admin {
        overflow: auto;
    }

    html.csa-v2 .csa-admin #appView:not(.hidden) {
        display: block !important;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    html.csa-v2 .csa-admin .topbar {
        position: sticky;
        top: 0;
        z-index: 60;
        min-height: 56px;
        padding: 7px 10px;
    }

    html.csa-v2 .csa-admin .topbar .brand p {
        display: none;
    }

    html.csa-v2 .csa-admin .topbar .actions .btn:not(.danger) {
        display: none;
    }

    html.csa-v2 .csa-admin .admin-menu-toggle {
        position: sticky;
        top: 58px;
        z-index: 55;
        display: inline-flex;
        width: calc(100% - 20px);
        margin: 8px 10px 0;
    }

    html.csa-v2 .csa-admin .tabs {
        position: fixed;
        inset: 104px 10px auto;
        z-index: 70;
        display: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: auto;
        height: auto;
        max-height: calc(100dvh - 120px);
        padding: 8px;
        border: 1px solid #2a3952;
        border-radius: 10px;
        box-shadow: 0 20px 48px rgba(11, 19, 33, .28);
    }

    html.csa-v2 .csa-admin.admin-menu-open .tabs {
        display: grid !important;
    }

    html.csa-v2 .csa-admin #content {
        height: auto;
        padding: 10px;
        overflow: visible;
    }

    html.csa-v2 .csa-admin .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.csa-v2 .csa-admin .admin-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    html.csa-v2 .csa-admin .csa-data-table,
    html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) {
        display: block;
        min-width: 0 !important;
    }

    html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) thead {
        display: none;
    }

    html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) tbody {
        display: grid;
        gap: 8px;
        padding: 8px;
    }

    html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--v3-line);
        border-radius: 8px;
        background: #fff;
    }

    html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) td {
        display: block;
        min-width: 0;
        padding: 9px 10px;
        border-bottom: 1px solid #edf0f4;
    }

    html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) td::before {
        display: block;
        margin-bottom: 3px;
        color: var(--v3-text-faint);
        font-size: 9px;
        font-weight: 820;
        letter-spacing: .04em;
        text-transform: uppercase;
    }

    html.csa-v2 .csa-admin .admin-v3-orders td:nth-child(1)::before { content: "Đơn"; }
    html.csa-v2 .csa-admin .admin-v3-orders td:nth-child(2)::before { content: "Khách & nguồn"; }
    html.csa-v2 .csa-admin .admin-v3-orders td:nth-child(3)::before { content: "Nội dung thuê"; }
    html.csa-v2 .csa-admin .admin-v3-orders td:nth-child(4)::before { content: "Thanh toán"; }
    html.csa-v2 .csa-admin .admin-v3-orders td:nth-child(5)::before { content: "Trạng thái"; }
    html.csa-v2 .csa-admin .admin-v3-orders td:nth-child(6)::before { content: "Thao tác"; }

    html.csa-v2 .csa-admin .admin-v3-plans td:nth-child(1)::before { content: "Sản phẩm"; }
    html.csa-v2 .csa-admin .admin-v3-plans td:nth-child(2)::before { content: "Cơ chế thuê"; }
    html.csa-v2 .csa-admin .admin-v3-plans td:nth-child(3)::before { content: "Giá theo ngày"; }
    html.csa-v2 .csa-admin .admin-v3-plans td:nth-child(4)::before { content: "Phân phối"; }
    html.csa-v2 .csa-admin .admin-v3-plans td:nth-child(5)::before { content: "Vận hành"; }
    html.csa-v2 .csa-admin .admin-v3-plans td:nth-child(6)::before { content: "Thao tác"; }

    html.csa-v2 .csa-admin .admin-v3-users td:nth-child(1)::before { content: "Khách hàng"; }
    html.csa-v2 .csa-admin .admin-v3-users td:nth-child(2)::before { content: "Gói đang thuê"; }
    html.csa-v2 .csa-admin .admin-v3-users td:nth-child(3)::before { content: "Tài chính"; }
    html.csa-v2 .csa-admin .admin-v3-users td:nth-child(4)::before { content: "Nguồn / CTV"; }
    html.csa-v2 .csa-admin .admin-v3-users td:nth-child(5)::before { content: "Quyền"; }
    html.csa-v2 .csa-admin .admin-v3-users td:nth-child(6)::before { content: "Thao tác"; }

    html.csa-v2 .csa-admin .admin-v3-ctv td:nth-child(1)::before { content: "CTV / Web"; }
    html.csa-v2 .csa-admin .admin-v3-ctv td:nth-child(2)::before { content: "Khách thuê"; }
    html.csa-v2 .csa-admin .admin-v3-ctv td:nth-child(3)::before { content: "Đơn & doanh thu"; }
    html.csa-v2 .csa-admin .admin-v3-ctv td:nth-child(4)::before { content: "Hoa hồng"; }
    html.csa-v2 .csa-admin .admin-v3-ctv td:nth-child(5)::before { content: "Trạng thái"; }
    html.csa-v2 .csa-admin .admin-v3-ctv td:nth-child(6)::before { content: "Thao tác"; }

    html.csa-v2 .client-topbar {
        position: sticky;
        inset: 0 auto auto;
        z-index: 60;
        display: block;
        width: 100%;
        height: auto;
        padding: 8px 10px;
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid var(--v3-line);
        background: rgba(255, 255, 255, .98);
    }

    html.csa-v2 .client-topbar .topbar-main {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    html.csa-v2 .client-topbar .brand {
        padding: 0;
        border: 0;
    }

    html.csa-v2 .client-topbar .brand img {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-color: var(--v3-line);
    }

    html.csa-v2 .client-topbar .brand h1 {
        max-width: 180px;
        color: var(--v3-text);
    }

    html.csa-v2 .client-topbar .brand p {
        display: none;
    }

    html.csa-v2 .client-topbar .actions {
        display: flex;
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
    }

    html.csa-v2 .client-topbar .actions .btn,
    html.csa-v2 .client-topbar .language-current {
        justify-content: center;
        width: auto;
        min-height: 34px;
        border-color: var(--v3-line);
        color: var(--v3-text);
        background: #fff;
    }

    html.csa-v2 .client-topbar .actions .danger {
        display: none;
    }

    html.csa-v2 .client-topbar .menu-toggle {
        display: inline-flex;
    }

    html.csa-v2 .client-topbar .tabs {
        position: absolute;
        top: calc(100% + 6px);
        right: 8px;
        left: 8px;
        display: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        max-height: calc(100dvh - 88px);
        margin: 0;
        padding: 8px;
        overflow-y: auto;
        border: 1px solid var(--v3-line);
        border-radius: 10px;
        background: #111b2d;
        box-shadow: 0 18px 44px rgba(11, 19, 33, .3);
    }

    html.csa-v2 body.menu-open .client-topbar .tabs {
        display: grid !important;
    }

    html.csa-v2 .client-shell .app-content {
        width: 100%;
        min-height: calc(100dvh - 52px);
        margin: 0;
        padding: 10px;
    }

    html.csa-v2 .client-shell .dashboard-utility-grid {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .client-shell :where(.client-order-card, .order-v3-row) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.csa-v2 body.csa-client .checkout-extras-fields-v3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    html.csa-v2 .csa-admin :where(.tools, .content-tools, .admin-plan-tools, .admin-user-tools, .admin-order-tools, .csa-filter-dock, .v3-querybar) {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .csa-admin :where(.tools, .content-tools, .admin-plan-tools, .admin-user-tools, .admin-order-tools, .csa-filter-dock, .v3-querybar) > .field:first-of-type {
        grid-column: auto;
    }

    html.csa-v2 .csa-admin .stats {
        grid-template-columns: 1fr 1fr;
    }

    html.csa-v2 .csa-admin .admin-compact-metrics {
        grid-template-columns: 1fr 1fr;
    }

    html.csa-v2 .csa-admin :where(.admin-v3-table, .order-admin-table, .plan-admin-table, .user-admin-table, .ctv-admin-table) tr {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .client-shell .rental-dashboard-empty {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .client-shell :where(.rental-product-card, .rental-row, .rental-row-v3) {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    html.csa-v2 .client-shell :where(.rental-product-card, .rental-row, .rental-row-v3) img {
        width: 44px;
        height: 44px;
    }

    html.csa-v2 .client-shell :where(.rental-product-card, .rental-row, .rental-row-v3) .rental-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    html.csa-v2 body.csa-client :where(.rental-facts, .plan-specs, .plan-v3-specs, .plan-specs-v3, .rental-facts-v3, .checkout-mechanics-v3) {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .client-shell :where(.store-grid, .plan-v3-grid) {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .client-shell :where(.plan-filter-bar, .catalog-filter-bar, .catalog-filters-v3) {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .client-shell .catalog-category-row-v3 {
        align-items: flex-start;
        flex-direction: column;
    }

    html.csa-v2 body.csa-client .checkout-steps-v3,
    html.csa-v2 body.csa-client .period-options-v3 {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .client-shell :where(.client-order-card, .order-v3-row) {
        grid-template-columns: 1fr;
    }

    html.csa-v2 .public-nav,
    html.csa-v2 .hero-stage,
    html.csa-v2 .public-band {
        width: calc(100% - 20px);
    }

    html.csa-v2 .hero-stage {
        min-height: 360px;
    }

    html.csa-v2 .hero-stage .hero-copy h2 {
        font-size: 38px;
    }
}
