:root {
    --color-primary: 142 94% 40%;
    --color-secondary: 154 58% 31%;
    --color-neutral: 150 12% 86%;
    --color-base: 150 22% 8%;
    --color-muted: 152 8% 42%;
    --color-inverted: 0 0% 100%;
    --color-background: 120 20% 98%;
    --color-background-secondary: 0 0% 100%;

    --rt-green: #06c755;
    --rt-green-dark: #04933f;
    --rt-green-soft: #e9fff1;
    --rt-mint: #dff8e9;
    --rt-black: #07130d;
    --rt-ink: #102019;
    --rt-copy: #536159;
    --rt-muted: #78847d;
    --rt-line: #dce5df;
    --rt-soft: #f4f7f5;
    --rt-white: #ffffff;
    --rt-radius-sm: 10px;
    --rt-radius: 18px;
    --rt-radius-lg: 28px;
    --rt-shadow: 0 24px 70px rgba(7, 19, 13, .10);
    --rt-font: "Urbanist", "Avenir Next", "Segoe UI", Arial, sans-serif;
}

.dark {
    --color-primary: 142 92% 46%;
    --color-secondary: 151 55% 55%;
    --color-neutral: 150 10% 23%;
    --color-base: 140 25% 96%;
    --color-muted: 145 8% 65%;
    --color-inverted: 150 22% 8%;
    --color-background: 150 22% 7%;
    --color-background-secondary: 150 18% 10%;

    --rt-green: #16dd68;
    --rt-green-dark: #08a84a;
    --rt-green-soft: #0c2c1a;
    --rt-mint: #10331f;
    --rt-black: #050d08;
    --rt-ink: #eef8f1;
    --rt-copy: #abb9b0;
    --rt-muted: #849188;
    --rt-line: #29372e;
    --rt-soft: #101a14;
    --rt-white: #0d1711;
    --rt-shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

html {
    scroll-behavior: smooth;
}

body.rt-theme {
    background: hsl(var(--color-background));
    color: var(--rt-ink);
    font-family: var(--rt-font);
    font-size: 15px;
    letter-spacing: -.01em;
}

.rt-theme *,
.rt-theme *::before,
.rt-theme *::after {
    box-sizing: border-box;
}

.rt-theme a,
.rt-theme button,
.rt-theme input,
.rt-theme select,
.rt-theme textarea {
    font: inherit;
}

.rt-theme a,
.rt-theme button {
    -webkit-tap-highlight-color: transparent;
}

.rt-theme :focus-visible {
    outline: 3px solid rgba(6, 199, 85, .34);
    outline-offset: 3px;
}

.rt-public-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

/* Shared navigation */
.rt-site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: 72px;
    border-bottom: 1px solid rgba(16, 32, 25, .09);
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.dark .rt-site-nav {
    border-color: rgba(255, 255, 255, .09);
    background: rgba(7, 19, 13, .90);
}

.rt-nav-shell {
    width: min(1240px, calc(100% - 40px));
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
}

.rt-nav-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.rt-brand-logo {
    display: block;
    width: auto;
    height: 34px;
    max-width: 176px;
    object-fit: contain;
}

.dark .rt-brand-logo {
    filter: brightness(0) invert(1);
}

.rt-desktop-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.rt-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    color: var(--rt-copy);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease;
}

.rt-nav-link:hover,
.rt-nav-link.is-active {
    color: var(--rt-ink);
    background: var(--rt-green-soft);
}

.rt-nav-link.is-disabled,
.rt-footer-links a[aria-disabled="true"] {
    cursor: default;
    opacity: .55;
}

.rt-nav-link.is-disabled:hover {
    color: var(--rt-copy);
    background: transparent;
}

.rt-nav-link.is-active::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 2px;
    border-radius: 99px;
    background: var(--rt-green);
}

.rt-nav-actions,
.rt-auth-actions,
.rt-nav-utilities {
    display: flex;
    align-items: center;
}

.rt-nav-actions {
    gap: 8px;
}

.rt-auth-actions {
    gap: 9px;
}

.rt-nav-utilities {
    gap: 2px;
}

.rt-nav-login,
.rt-nav-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.rt-nav-login {
    border: 1px solid var(--rt-line);
    color: var(--rt-ink);
    background: var(--rt-white);
}

.rt-nav-register {
    border: 1px solid var(--rt-black);
    color: #fff;
    background: var(--rt-black);
}

.rt-nav-login:hover,
.rt-nav-register:hover {
    transform: translateY(-1px);
}

.rt-account-avatar {
    width: 36px;
    height: 36px;
    border: 2px solid var(--rt-green);
    border-radius: 50%;
    object-fit: cover;
    background: var(--rt-white);
}

.rt-account-summary {
    display: flex;
    flex-direction: column;
    max-width: 250px;
    padding: 12px;
    border-bottom: 1px solid var(--rt-line);
}

.rt-account-summary strong,
.rt-account-summary span {
    overflow-wrap: anywhere;
}

.rt-account-summary strong {
    font-size: 13px;
}

.rt-account-summary span {
    margin-top: 2px;
    color: var(--rt-muted);
    font-size: 12px;
}

.rt-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    color: var(--rt-ink);
    background: var(--rt-white);
    cursor: pointer;
}

.rt-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
}

.rt-mobile-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    border: 0;
    background: rgba(0, 0, 0, .48);
}

.rt-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(390px, 92vw);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-left: 1px solid var(--rt-line);
    background: var(--rt-white);
    box-shadow: -24px 0 70px rgba(0, 0, 0, .18);
    overflow-y: auto;
}

.rt-mobile-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rt-line);
}

.rt-mobile-panel-head button {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    color: var(--rt-ink);
    background: var(--rt-soft);
}

.rt-mobile-links {
    flex: 1;
    padding-block: 12px;
}

.rt-mobile-main-link {
    display: block;
    margin: 8px 16px;
    padding: 13px 14px;
    border-radius: 10px;
    color: var(--rt-ink);
    background: var(--rt-green-soft);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.rt-mobile-public-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rt-line);
}

.rt-mobile-main-link.is-disabled {
    cursor: default;
    opacity: .55;
}

.rt-mobile-main-link.is-active {
    color: #fff;
    background: var(--rt-green);
}

.rt-mobile-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--rt-line);
}

.rt-mobile-account {
    padding-top: 16px;
    border-top: 1px solid var(--rt-line);
}

.rt-mobile-user {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.rt-mobile-user img {
    width: 42px;
    height: 42px;
    border: 2px solid var(--rt-green);
    border-radius: 50%;
    object-fit: cover;
}

.rt-mobile-user div {
    min-width: 0;
}

.rt-mobile-user strong,
.rt-mobile-user span {
    display: block;
    overflow-wrap: anywhere;
}

.rt-mobile-user strong {
    font-size: 13px;
}

.rt-mobile-user span {
    margin-top: 2px;
    color: var(--rt-muted);
    font-size: 11px;
}

.rt-mobile-account-links {
    display: grid;
    gap: 3px;
    margin-top: 14px;
}

/* Main frame and inherited Paymenter screens */
.rt-main {
    width: 100%;
    min-width: 0;
    margin-top: 72px !important;
}

.rt-theme .container {
    width: min(1180px, calc(100% - 40px));
    max-width: 1180px;
}

.rt-theme main > .container:not(.rt-public-shell) {
    margin-top: 42px;
    margin-bottom: 64px;
}

.rt-theme main .bg-background-secondary {
    border-color: var(--rt-line);
}

.rt-theme main input:not([type="checkbox"]):not([type="radio"]),
.rt-theme main select,
.rt-theme main textarea {
    min-height: 44px;
    border-radius: 10px;
    border-color: var(--rt-line);
    background: var(--rt-white);
}

.rt-theme main input:focus,
.rt-theme main select:focus,
.rt-theme main textarea:focus {
    border-color: var(--rt-green);
    box-shadow: 0 0 0 4px rgba(6, 199, 85, .10);
}

.rt-theme main label {
    color: var(--rt-copy);
    font-weight: 650;
}

.rt-theme main .rounded-md,
.rt-theme main .rounded-lg,
.rt-theme main .rounded-xl {
    border-radius: 14px;
}

.rt-theme main button.bg-primary,
.rt-theme main a .bg-primary,
.rt-theme main .bg-primary {
    background: var(--rt-green);
}

.rt-theme main button.bg-primary:hover,
.rt-theme main .bg-primary:hover {
    background: var(--rt-green-dark);
}

.rt-theme #login,
.rt-theme #register {
    margin: 52px auto 70px;
    padding: 0 48px 44px;
    border: 1px solid var(--rt-line);
    border-radius: 24px;
    background: var(--rt-white);
    box-shadow: var(--rt-shadow);
}

.rt-theme #login {
    max-width: 590px;
}

.rt-theme #register {
    max-width: 820px;
}

.rt-theme #login > div:first-child,
.rt-theme #register > div:first-child {
    margin-block: 42px 30px;
}

.rt-theme #login h1,
.rt-theme #register h1 {
    color: var(--rt-ink);
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -.035em;
}

/* Public subscription home */
.rt-subscription-home {
    overflow: hidden;
    background: hsl(var(--color-background));
}

.rt-home-hero {
    padding: 54px 0 68px;
}

.rt-home-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    gap: 54px;
    align-items: center;
    min-height: 610px;
    padding: 58px;
    border: 1px solid rgba(6, 199, 85, .14);
    border-radius: 32px;
    background:
        linear-gradient(90deg, rgba(245, 255, 249, .98) 0%, rgba(245, 255, 249, .90) 48%, rgba(236, 255, 244, .76) 100%),
        url("hero-grid.jpg") center / cover no-repeat;
    box-shadow: 0 26px 90px rgba(16, 51, 30, .08);
}

.dark .rt-home-hero-grid {
    background:
        linear-gradient(90deg, rgba(12, 27, 18, .98) 0%, rgba(12, 27, 18, .92) 52%, rgba(13, 42, 24, .86) 100%),
        url("hero-grid.jpg") center / cover no-repeat;
}

.rt-home-hero-grid::before,
.rt-home-hero-grid::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(6, 199, 85, .20);
    border-radius: 50%;
}

.rt-home-hero-grid::before {
    top: -140px;
    right: -100px;
    width: 390px;
    height: 390px;
}

.rt-home-hero-grid::after {
    right: 70px;
    bottom: -180px;
    width: 330px;
    height: 330px;
}

.rt-home-copy,
.rt-plan-overview {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.rt-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--rt-green-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.dark .rt-kicker {
    color: var(--rt-green);
}

.rt-kicker > span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border: 2px solid var(--rt-green);
    border-radius: 50%;
}

.rt-home-copy h1 {
    max-width: 680px;
    margin: 18px 0 0;
    color: var(--rt-black);
    font-size: clamp(46px, 5.1vw, 72px);
    font-weight: 570;
    line-height: .98;
    letter-spacing: -.062em;
}

.dark .rt-home-copy h1 {
    color: var(--rt-ink);
}

.rt-home-lead {
    max-width: 640px;
    margin: 25px 0 0;
    color: var(--rt-copy);
    font-size: 17px;
    line-height: 1.72;
}

.rt-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 30px;
}

.rt-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 780;
    text-decoration: none;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rt-button:hover {
    transform: translateY(-2px);
}

.rt-button-primary,
.rt-button-green {
    color: #041109;
    background: var(--rt-green);
    box-shadow: 0 14px 32px rgba(6, 199, 85, .20);
}

.rt-button-secondary {
    border-color: rgba(7, 19, 13, .16);
    color: var(--rt-ink);
    background: rgba(255, 255, 255, .74);
}

.dark .rt-button-secondary {
    border-color: var(--rt-line);
    background: rgba(255, 255, 255, .05);
}

.rt-button-dark {
    color: #fff;
    background: var(--rt-black);
}

.rt-home-assurances {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: var(--rt-copy);
    font-size: 12px;
    font-weight: 650;
}

.rt-home-assurances span {
    color: var(--rt-green-dark);
}

.rt-plan-overview {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    color: #fff;
    background: var(--rt-black);
    box-shadow: 0 32px 70px rgba(4, 17, 9, .24);
}

.rt-overview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

.rt-overview-head p {
    margin: 0;
    font-size: 15px;
    font-weight: 760;
}

.rt-overview-head > div > span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, .52);
    font-size: 11px;
}

.rt-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 99px;
    color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .07);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.rt-live-pill i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rt-green);
    box-shadow: 0 0 0 5px rgba(6, 199, 85, .11);
}

.rt-overview-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, .11);
}

.rt-overview-plan {
    min-width: 0;
    padding: 25px 24px 27px;
    background: #0a1710;
}

.rt-overview-plan-featured {
    background: #0c2315;
}

.rt-overview-plan > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, .64);
    font-size: 11px;
    font-weight: 700;
}

.rt-overview-plan b,
.rt-plan-header b {
    padding: 4px 7px;
    border-radius: 6px;
    color: #041109;
    background: var(--rt-green);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rt-overview-plan strong {
    display: block;
    margin-top: 18px;
    font-size: 40px;
    font-weight: 580;
    line-height: 1;
    letter-spacing: -.05em;
}

.rt-overview-plan strong small {
    margin-left: 4px;
    color: rgba(255, 255, 255, .44);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0;
}

.rt-overview-plan p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .44);
    font-size: 11px;
}

.rt-overview-security {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 19px 24px 21px;
}

.rt-security-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    color: #041109;
    background: var(--rt-green);
    font-size: 16px;
    font-weight: 850;
}

.rt-overview-security p {
    margin: 0;
    color: rgba(255, 255, 255, .48);
    font-size: 10.5px;
    line-height: 1.55;
}

.rt-overview-security strong {
    color: rgba(255, 255, 255, .86);
}

/* Pricing */
.rt-pricing-section {
    padding: 88px 0 96px;
}

.rt-section-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.rt-section-heading .rt-kicker {
    justify-content: center;
}

.rt-section-heading h2 {
    margin: 13px 0 0;
    color: var(--rt-black);
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 560;
    line-height: 1.03;
    letter-spacing: -.052em;
}

.dark .rt-section-heading h2 {
    color: var(--rt-ink);
}

.rt-section-heading > p:last-child {
    max-width: 620px;
    margin: 15px auto 0;
    color: var(--rt-copy);
    line-height: 1.65;
}

.rt-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 920px;
    margin-inline: auto;
}

.rt-pricing-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--rt-line);
    border-radius: 22px;
    color: var(--rt-ink);
    background: var(--rt-white);
    box-shadow: 0 18px 60px rgba(7, 19, 13, .06);
}

.rt-pricing-card-featured {
    border-color: var(--rt-black);
    color: #fff;
    background: var(--rt-black);
    box-shadow: 0 28px 70px rgba(7, 19, 13, .18);
}

.rt-plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.rt-plan-header p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
    font-weight: 780;
}

.rt-plan-header > div > span {
    display: block;
    margin-top: 4px;
    color: var(--rt-muted);
    font-size: 11px;
}

.rt-pricing-card-featured .rt-plan-header > div > span {
    color: rgba(255, 255, 255, .48);
}

.rt-plan-number {
    color: var(--rt-line);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -.05em;
}

.rt-pricing-card-featured .rt-plan-number {
    color: rgba(255, 255, 255, .16);
}

.rt-plan-price {
    display: flex;
    align-items: flex-end;
    gap: 13px;
    margin: 35px 0 26px;
}

.rt-plan-price strong {
    font-size: 62px;
    font-weight: 570;
    line-height: .88;
    letter-spacing: -.06em;
}

.rt-plan-price span {
    color: var(--rt-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.rt-pricing-card-featured .rt-plan-price span {
    color: rgba(255, 255, 255, .46);
}

.rt-pricing-card ul {
    display: grid;
    gap: 0;
    margin: 0 0 26px;
    padding: 0;
    border-top: 1px solid var(--rt-line);
    list-style: none;
}

.rt-pricing-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rt-line);
    color: var(--rt-copy);
    font-size: 12px;
}

.rt-pricing-card li strong {
    color: var(--rt-ink);
    font-weight: 780;
    text-align: right;
}

.rt-pricing-card-featured ul,
.rt-pricing-card-featured li {
    border-color: rgba(255, 255, 255, .12);
}

.rt-pricing-card-featured li {
    color: rgba(255, 255, 255, .52);
}

.rt-pricing-card-featured li strong {
    color: rgba(255, 255, 255, .88);
}

.rt-pricing-card .rt-button {
    width: 100%;
    margin-top: auto;
}

/* Complete workspace feature summary */
.rt-included-panel {
    position: relative;
    max-width: 1180px;
    margin: 42px auto 0;
    padding: 34px;
    overflow: hidden;
    border: 1px solid rgba(6, 199, 85, .24);
    border-radius: 22px;
    color: #fff;
    background: #07130d;
    box-shadow: 0 26px 70px rgba(7, 19, 13, .16);
}

.rt-included-panel::after {
    content: "R";
    position: absolute;
    top: -54px;
    right: 22px;
    color: rgba(6, 199, 85, .055);
    font-size: 190px;
    font-weight: 850;
    line-height: 1;
    pointer-events: none;
}

.rt-included-heading {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(320px, 1.1fr);
    column-gap: 48px;
    align-items: end;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.rt-included-heading .rt-kicker {
    grid-column: 1 / -1;
    color: var(--rt-green);
}

.rt-included-heading h3 {
    margin: 13px 0 0;
    color: #fff;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 570;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.rt-included-heading > p:last-child {
    max-width: 560px;
    margin: 13px 0 2px;
    color: rgba(255, 255, 255, .56);
    font-size: 12px;
    line-height: 1.65;
}

.rt-included-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0;
    padding: 12px 0 0;
    list-style: none;
}

.rt-included-grid li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 62px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.rt-included-grid li:nth-last-child(-n + 4) {
    border-bottom: 0;
}

.rt-included-grid li > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(6, 199, 85, .32);
    border-radius: 50%;
    color: #041109;
    background: var(--rt-green);
    font-size: 11px;
    font-weight: 850;
}

.rt-included-grid strong {
    color: rgba(255, 255, 255, .88);
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.45;
}

/* Checkout workspace address */
.rt-theme .rt-suffix-field {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 6px;
    min-width: 0;
}

.rt-theme .rt-suffix-label {
    color: var(--rt-copy);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.rt-theme .rt-suffix-label > span {
    color: #dc2626;
}

.rt-theme .rt-suffix-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--rt-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 9px rgba(6, 24, 15, .08);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.rt-theme .rt-suffix-control:focus-within {
    border-color: var(--rt-green);
    box-shadow: 0 0 0 4px rgba(6, 199, 85, .16);
}

.rt-theme .rt-suffix-input {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
    border: 0;
    outline: 0;
    color: var(--rt-ink);
    background: transparent;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
}

.rt-theme .rt-suffix-input::placeholder {
    color: var(--rt-muted);
}

.rt-theme .rt-suffix-value {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-left: 1px solid var(--rt-line);
    color: var(--rt-ink);
    background: #f0f8f3;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
}

.rt-theme .rt-suffix-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin: 0;
    color: var(--rt-muted);
    font-size: 11px;
    line-height: 1.45;
}

.rt-theme .rt-suffix-preview strong {
    color: var(--rt-green-dark);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.rt-theme .rt-suffix-status {
    min-height: 16px;
    margin: 0;
    color: var(--rt-muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
}

.rt-theme .rt-suffix-status-available {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--rt-green-dark);
}

.rt-theme .rt-suffix-status-available > span {
    display: inline-grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 50%;
    color: #031108;
    background: var(--rt-green);
    font-size: 9px;
    font-weight: 900;
}

.rt-theme .rt-suffix-error {
    margin: 0;
    color: #dc2626;
    font-size: 11px;
    line-height: 1.4;
}

/* Process */
.rt-process-section {
    padding: 78px 0 90px;
    border-top: 1px solid var(--rt-line);
    background: var(--rt-soft);
}

.rt-section-heading-left {
    max-width: none;
    margin-inline: 0;
    text-align: left;
}

.rt-section-heading-left .rt-kicker {
    justify-content: flex-start;
}

.rt-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 1px;
    border-radius: 20px;
    background: var(--rt-line);
    list-style: none;
    overflow: hidden;
}

.rt-process-grid li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 15px;
    min-width: 0;
    padding: 27px;
    background: var(--rt-white);
}

.rt-process-grid li > span {
    color: var(--rt-green-dark);
    font-size: 11px;
    font-weight: 850;
}

.rt-process-grid strong {
    display: block;
    font-size: 14px;
    font-weight: 780;
}

.rt-process-grid p {
    margin: 7px 0 0;
    color: var(--rt-copy);
    font-size: 12px;
    line-height: 1.6;
}

/* Footer */
.rt-site-footer {
    width: 100%;
    margin-top: auto;
    border-top: 1px solid var(--rt-line);
    background: var(--rt-white);
}

.rt-footer-grid {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding-block: 34px 26px;
}

.rt-footer-brand a {
    display: inline-flex;
}

.rt-footer-logo {
    height: 31px;
}

.rt-footer-brand p {
    margin: 8px 0 0;
    color: var(--rt-muted);
    font-size: 11px;
}

.rt-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 20px;
}

.rt-footer-links a {
    color: var(--rt-copy);
    font-size: 11px;
    font-weight: 680;
    text-decoration: none;
}

.rt-footer-links a:hover {
    color: var(--rt-green-dark);
}

.rt-footer-copy {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--rt-line);
    color: var(--rt-muted);
    font-size: 10px;
}

/* Sidebar and utility surfaces */
.rt-theme #main-aside {
    top: 72px;
    height: calc(100vh - 72px);
    margin-top: 0;
    border-color: var(--rt-line);
    background: var(--rt-white);
}

.rt-theme #main-aside a,
.rt-theme #main-aside button {
    border-radius: 10px;
}

.rt-theme #main-aside .bg-primary\/5 {
    background: var(--rt-green-soft);
}

@media (max-width: 1050px) {
    .rt-desktop-links,
    .rt-nav-utilities,
    .rt-auth-actions,
    .rt-account-menu {
        display: none;
    }

    .rt-nav-shell {
        grid-template-columns: auto 1fr auto;
    }

    .rt-nav-actions {
        grid-column: 3;
    }

    .rt-menu-toggle {
        display: inline-flex;
    }

    .rt-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 48px;
    }

    .rt-plan-overview {
        width: min(100%, 620px);
    }
}

@media (max-width: 760px) {
    .rt-public-shell,
    .rt-nav-shell,
    .rt-theme .container {
        width: min(100% - 28px, 1180px);
    }

    .rt-site-nav {
        height: 64px;
    }

    .rt-main {
        margin-top: 64px !important;
    }

    .rt-brand-logo {
        height: 29px;
        max-width: 150px;
    }

    .rt-home-hero {
        padding: 24px 0 48px;
    }

    .rt-home-hero-grid {
        min-height: auto;
        padding: 34px 24px;
        border-radius: 22px;
    }

    .rt-home-copy h1 {
        font-size: clamp(39px, 12vw, 56px);
    }

    .rt-home-lead {
        font-size: 15px;
    }

    .rt-home-actions {
        display: grid;
    }

    .rt-button {
        width: 100%;
    }

    .rt-overview-head,
    .rt-overview-plans {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rt-live-pill {
        width: fit-content;
    }

    .rt-pricing-section,
    .rt-process-section {
        padding-block: 62px;
    }

    .rt-pricing-grid,
    .rt-process-grid {
        grid-template-columns: 1fr;
    }

    .rt-included-panel {
        margin-top: 28px;
        padding: 26px 22px;
        border-radius: 18px;
    }

    .rt-included-heading,
    .rt-included-grid {
        grid-template-columns: 1fr;
    }

    .rt-included-heading {
        align-items: start;
    }

    .rt-included-grid li:nth-last-child(-n + 4) {
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }

    .rt-included-grid li:last-child {
        border-bottom: 0;
    }

    .rt-process-grid {
        gap: 1px;
    }

    .rt-footer-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .rt-footer-links {
        justify-content: flex-start;
    }

    .rt-theme #login,
    .rt-theme #register {
        margin: 28px 14px 48px;
        padding: 0 22px 30px;
    }
}

@media (min-width: 761px) and (max-width: 1040px) {
    .rt-included-heading {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .rt-included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rt-included-grid li:nth-last-child(-n + 4) {
        border-bottom: 1px solid rgba(255, 255, 255, .09);
    }

    .rt-included-grid li:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 440px) {
    .rt-home-hero-grid {
        padding: 30px 20px;
    }

    .rt-home-assurances {
        display: grid;
        gap: 8px;
    }

    .rt-pricing-card {
        padding: 24px;
    }

    .rt-plan-price strong {
        font-size: 54px;
    }

    .rt-mobile-auth {
        grid-template-columns: 1fr;
    }
}

/* Authenticated RepairTicket workspace subscription */
.rt-service-page {
    width: 100%;
    padding: 42px 28px 70px;
}

.rt-service-shell {
    width: min(1160px, 100%);
    margin-inline: auto;
}

.rt-service-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid #ead8a5;
    border-radius: 12px;
    color: #553b05;
    background: #fff9e8;
}

.rt-service-alert strong,
.rt-service-alert span {
    display: block;
}

.rt-service-alert strong {
    font-size: 13px;
}

.rt-service-alert span {
    margin-top: 2px;
    font-size: 11px;
}

.rt-service-alert a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 8px;
    color: #fff;
    background: #7a5400;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

.rt-service-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 32px;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    color: #fff;
    background:
        radial-gradient(circle at 92% -70%, rgba(6, 199, 85, .30), transparent 42%),
        #07130d;
}

.rt-service-hero-copy {
    max-width: 710px;
}

.rt-service-eyebrow,
.rt-service-card-heading span,
.rt-paypal-heading > div > span,
.rt-return-brand,
.rt-return-next > span {
    color: var(--rt-green);
    font-size: 9.5px;
    font-weight: 820;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rt-service-hero h1 {
    margin: 9px 0 0;
    color: #fff;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 590;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.rt-service-hero p {
    max-width: 680px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
    line-height: 1.65;
}

.rt-service-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .07);
    font-size: 10.5px;
    font-weight: 730;
}

.rt-service-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f0b54f;
    box-shadow: 0 0 0 4px rgba(240, 181, 79, .12);
}

.rt-service-status-active > span {
    background: var(--rt-green);
    box-shadow: 0 0 0 4px rgba(6, 199, 85, .14);
}

.rt-service-status-attention > span,
.rt-service-status-cancelled > span,
.rt-service-status-suspended > span {
    background: #e36a62;
    box-shadow: 0 0 0 4px rgba(227, 106, 98, .14);
}

.rt-service-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 0 18px;
    padding: 1px;
    border-radius: 0 0 18px 18px;
    background: var(--rt-line);
    list-style: none;
    overflow: hidden;
}

.rt-service-progress li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-width: 0;
    padding: 15px 17px;
    background: var(--rt-white);
}

.rt-service-progress li > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid var(--rt-line);
    border-radius: 50%;
    color: var(--rt-muted);
    background: var(--rt-soft);
    font-size: 9px;
    font-weight: 800;
}

.rt-service-progress li.is-current > span {
    border-color: rgba(6, 199, 85, .42);
    color: #031108;
    background: var(--rt-green);
}

.rt-service-progress li.is-complete > span {
    color: var(--rt-green-dark);
    background: var(--rt-green-soft);
}

.rt-service-progress strong,
.rt-service-progress small {
    display: block;
}

.rt-service-progress strong {
    color: var(--rt-ink);
    font-size: 11px;
    font-weight: 760;
}

.rt-service-progress small {
    margin-top: 2px;
    color: var(--rt-muted);
    font-size: 9.5px;
    line-height: 1.35;
}

.rt-service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
    gap: 18px;
}

.rt-service-card {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--rt-line);
    border-radius: 18px;
    background: var(--rt-white);
    box-shadow: 0 14px 44px rgba(7, 19, 13, .045);
}

.rt-service-card-primary {
    border-color: rgba(6, 199, 85, .25);
}

.rt-service-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--rt-line);
}

.rt-service-card-heading h2 {
    margin: 6px 0 0;
    color: var(--rt-ink);
    font-size: 18px;
    font-weight: 680;
    letter-spacing: -.025em;
}

.rt-service-lock {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 11px;
    color: #031108 !important;
    background: var(--rt-green);
    font-size: 15px !important;
    letter-spacing: 0 !important;
}

.rt-service-details,
.rt-service-summary,
.rt-return-details {
    margin: 0;
}

.rt-service-details > div {
    display: grid;
    grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr);
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid var(--rt-line);
}

.rt-service-details dt,
.rt-service-summary dt,
.rt-return-details dt {
    color: var(--rt-muted);
    font-size: 10.5px;
    font-weight: 650;
}

.rt-service-details dd,
.rt-service-summary dd,
.rt-return-details dd {
    min-width: 0;
    margin: 0;
    color: var(--rt-ink);
    font-size: 11.5px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.rt-service-details dd > span,
.rt-service-details dd > small {
    display: block;
}

.rt-service-details a,
.rt-return-details a {
    color: var(--rt-green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rt-service-details small,
.rt-return-details small {
    margin-top: 3px;
    color: var(--rt-muted);
    font-size: 9.5px;
    font-weight: 520;
}

.rt-service-open,
.rt-return-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    margin-top: 18px;
    padding: 0 16px;
    border-radius: 10px;
    color: #031108;
    background: var(--rt-green);
    font-size: 11px;
    font-weight: 780;
    text-decoration: none;
}

.rt-service-open:hover,
.rt-return-primary:hover {
    background: #09b94f;
}

.rt-service-waiting {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding: 12px 13px;
    border: 1px solid #e9d8ad;
    border-radius: 10px;
    color: #665018;
    background: #fff9e9;
    font-size: 10.5px;
    line-height: 1.5;
}

.rt-service-waiting > span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #dda334;
}

.rt-service-summary > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rt-line);
}

.rt-service-summary dd {
    text-align: right;
}

.rt-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.rt-service-actions button,
.rt-service-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--rt-line-strong, #cbd6ce);
    border-radius: 9px;
    color: var(--rt-copy);
    background: var(--rt-white);
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none;
}

.rt-service-actions button:hover,
.rt-service-actions > a:hover {
    border-color: var(--rt-green-dark);
    color: var(--rt-green-dark);
}

.rt-service-native-controls {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--rt-line);
}

.rt-service-native-controls > div {
    color: var(--rt-copy);
    font-size: 10.5px;
}

.rt-service-native-controls button {
    color: var(--rt-green-dark);
}

.rt-service-manage {
    cursor: pointer;
}

.rt-service-extension {
    margin-top: 16px;
}

.rt-service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.rt-service-tabs button {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid var(--rt-line);
    border-radius: 999px;
    color: var(--rt-copy);
    background: var(--rt-white);
    font-size: 10px;
    font-weight: 720;
}

.rt-service-tabs button.is-active {
    border-color: var(--rt-green-dark);
    color: #031108;
    background: var(--rt-green);
}

/* PayPal payment surface: explicit colors avoid uncompiled utility drift. */
.rt-paypal-card {
    padding: 24px;
    border: 1px solid rgba(6, 199, 85, .24);
    border-radius: 18px;
    color: var(--rt-ink);
    background: #f1fff6;
}

.dark .rt-paypal-card {
    background: #0c2114;
}

.rt-paypal-heading {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 15px;
    align-items: start;
    margin-bottom: 18px;
}

.rt-paypal-mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--rt-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(7, 19, 13, .08);
}

.rt-paypal-heading h3 {
    margin: 4px 0 0;
    color: var(--rt-ink);
    font-size: 16px;
    font-weight: 760;
}

.rt-paypal-heading p {
    margin: 4px 0 0;
    color: var(--rt-copy);
    font-size: 11px;
    line-height: 1.55;
}

.rt-theme .rt-paypal-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid #005ea6;
    border-radius: 11px;
    color: #fff !important;
    background: #0070ba !important;
    box-shadow: 0 9px 22px rgba(0, 112, 186, .20);
    font-size: 12px;
    font-weight: 780;
    text-decoration: none;
}

.rt-theme .rt-paypal-cta:hover {
    color: #fff !important;
    background: #005ea6 !important;
}

.rt-paypal-waiting {
    padding: 13px 14px;
    border: 1px solid #e6cf91;
    border-radius: 10px;
    color: #5b450e;
    background: #fff8df;
    font-size: 11px;
    line-height: 1.55;
}

.rt-paypal-security-note {
    display: flex;
    gap: 8px;
    margin: 15px 0 0;
    color: var(--rt-copy);
    font-size: 10px;
    line-height: 1.5;
}

.rt-paypal-security-note > span {
    color: var(--rt-green-dark);
    font-weight: 850;
}

/* Verified PayPal browser-return status page */
.rt-return-page {
    width: 100%;
    padding: 58px 24px 78px;
    background: var(--rt-soft);
}

.rt-return-card {
    width: min(900px, 100%);
    margin-inline: auto;
    padding: 28px;
    border: 1px solid var(--rt-line);
    border-radius: 22px;
    background: var(--rt-white);
    box-shadow: 0 24px 70px rgba(7, 19, 13, .10);
}

.rt-return-topline,
.rt-return-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.rt-return-status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    color: #6a4b08;
    background: #fff1c9;
    font-size: 9.5px;
    font-weight: 760;
}

.rt-return-status.is-ready {
    color: #086c39;
    background: #dff8e9;
}

.rt-return-heading {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 17px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid var(--rt-line);
}

.rt-return-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    color: #031108;
    background: var(--rt-green);
    font-size: 19px;
    font-weight: 850;
}

.rt-return-heading h1 {
    margin: 0;
    color: var(--rt-ink);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 620;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.rt-return-heading p {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--rt-copy);
    font-size: 11.5px;
    line-height: 1.6;
}

.rt-return-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    gap: 26px;
    padding: 25px 0;
}

.rt-return-next ol {
    display: grid;
    gap: 8px;
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
}

.rt-return-next li {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    background: var(--rt-soft);
}

.rt-return-next b {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--rt-muted);
    background: var(--rt-white);
    font-size: 9px;
}

.rt-return-next li.is-current b,
.rt-return-next li.is-complete b {
    color: #031108;
    background: var(--rt-green);
}

.rt-return-next strong,
.rt-return-next small {
    display: block;
}

.rt-return-next strong {
    color: var(--rt-ink);
    font-size: 10.5px;
}

.rt-return-next small {
    margin-top: 2px;
    color: var(--rt-muted);
    font-size: 9px;
}

.rt-return-details {
    border: 1px solid var(--rt-line);
    border-radius: 12px;
    overflow: hidden;
}

.rt-return-details > div {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 13px;
    border-bottom: 1px solid var(--rt-line);
}

.rt-return-details > div:last-child {
    border-bottom: 0;
}

.rt-return-actions {
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid var(--rt-line);
}

.rt-return-primary {
    margin-top: 0;
}

.rt-return-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--rt-line);
    border-radius: 10px;
    color: var(--rt-copy);
    background: var(--rt-white);
    font-size: 11px;
    font-weight: 720;
    text-decoration: none;
}

.rt-return-security {
    margin: 18px 0 0;
    color: var(--rt-muted);
    font-size: 9.5px;
    line-height: 1.5;
}

@media (max-width: 860px) {
    .rt-service-grid,
    .rt-return-grid {
        grid-template-columns: 1fr;
    }

    .rt-service-progress {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .rt-service-page,
    .rt-return-page {
        padding: 24px 12px 54px;
    }

    .rt-service-hero,
    .rt-service-alert,
    .rt-return-topline,
    .rt-return-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .rt-service-hero {
        padding: 25px 22px;
    }

    .rt-service-card,
    .rt-return-card {
        padding: 20px;
    }

    .rt-service-details > div,
    .rt-return-details > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .rt-return-heading {
        grid-template-columns: 1fr;
    }

    .rt-return-primary,
    .rt-return-secondary,
    .rt-service-open {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .rt-theme *,
    .rt-theme *::before,
    .rt-theme *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Stage 6.5Z: customer subscription portal */
.rt-portal-page {
    width: 100%;
    padding: 34px 28px 72px;
    color: var(--rt-ink);
    background:
        radial-gradient(circle at 88% 2%, rgba(6, 199, 85, .07), transparent 27%),
        hsl(var(--color-background));
}

.rt-portal-shell {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.rt-portal-hero,
.rt-portal-list-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 30px 32px;
    overflow: hidden;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 92% -60%, rgba(6, 199, 85, .34), transparent 42%),
        linear-gradient(125deg, #07130d 0%, #0b2517 100%);
    box-shadow: 0 22px 55px rgba(7, 19, 13, .14);
}

.rt-portal-hero > div,
.rt-portal-list-hero > div {
    max-width: 720px;
}

.rt-portal-eyebrow,
.rt-portal-section-heading > div > span,
.rt-portal-help-card > span {
    color: var(--rt-green);
    font-size: 9.5px;
    font-weight: 820;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rt-portal-hero h1,
.rt-portal-list-hero h1 {
    margin: 9px 0 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 610;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.rt-portal-hero p,
.rt-portal-list-hero p {
    max-width: 680px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, .64);
    font-size: 11.5px;
    line-height: 1.6;
}

.rt-portal-primary,
.rt-portal-secondary-dark,
.rt-portal-primary-small,
.rt-portal-warning-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 10.5px;
    font-weight: 760;
    text-decoration: none;
}

.rt-portal-primary,
.rt-portal-primary-small {
    color: #031108;
    background: var(--rt-green);
}

.rt-portal-secondary-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .08);
}

.rt-portal-primary:hover,
.rt-portal-primary-small:hover {
    color: #031108;
    background: #09b94f;
}

.rt-portal-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 16px 0;
    padding: 1px;
    overflow: hidden;
    border-radius: 14px;
    background: var(--rt-line);
}

.rt-portal-stats article {
    min-width: 0;
    padding: 17px 18px;
    background: var(--rt-white);
}

.rt-portal-stats span,
.rt-portal-stats strong,
.rt-portal-stats small {
    display: block;
}

.rt-portal-stats span {
    color: var(--rt-muted);
    font-size: 9px;
    font-weight: 730;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.rt-portal-stats strong {
    margin-top: 7px;
    color: var(--rt-ink);
    font-size: 22px;
    font-variant-numeric: tabular-nums;
}

.rt-portal-stats small {
    margin-top: 3px;
    color: var(--rt-muted);
    font-size: 9.5px;
}

.rt-portal-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 16px;
}

.rt-portal-side-stack {
    display: grid;
    align-content: start;
    gap: 16px;
}

.rt-portal-card,
.rt-portal-service-card,
.rt-portal-empty {
    min-width: 0;
    border: 1px solid var(--rt-line);
    border-radius: 15px;
    background: var(--rt-white);
}

.rt-portal-card {
    padding: 22px;
}

.rt-portal-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--rt-line);
}

.rt-portal-section-heading h2,
.rt-portal-help-card h2 {
    margin: 5px 0 0;
    color: var(--rt-ink);
    font-size: 17px;
    font-weight: 680;
    letter-spacing: -.025em;
}

.rt-portal-section-heading > a,
.rt-portal-help-card a,
.rt-portal-row-actions > a:not(.rt-portal-primary-small),
.rt-portal-service-actions > a:not(.rt-portal-primary-small):not(.rt-portal-warning-small) {
    color: var(--rt-green-dark);
    font-size: 10px;
    font-weight: 720;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rt-portal-workspace-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid var(--rt-line);
}

.rt-portal-workspace-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.rt-portal-workspace-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    color: #031108;
    background: var(--rt-green);
    font-size: 14px;
    font-weight: 820;
}

.rt-portal-workspace-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rt-portal-workspace-copy strong {
    color: var(--rt-ink);
    font-size: 12px;
}

.rt-portal-workspace-copy p,
.rt-portal-workspace-copy small {
    display: block;
    margin: 3px 0 0;
    color: var(--rt-muted);
    font-size: 9.5px;
    overflow-wrap: anywhere;
}

.rt-portal-row-actions,
.rt-portal-service-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.rt-portal-primary-small,
.rt-portal-warning-small {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 9.5px;
}

.rt-portal-warning-small {
    color: #5f3d00;
    border-color: #e2c277;
    background: #fff5d9;
}

.rt-portal-invoice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rt-line);
    color: var(--rt-ink);
    text-decoration: none;
}

.rt-portal-invoice-row:last-child {
    border-bottom: 0;
}

.rt-portal-invoice-row span:last-child {
    text-align: right;
}

.rt-portal-invoice-row strong,
.rt-portal-invoice-row small {
    display: block;
}

.rt-portal-invoice-row strong {
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
}

.rt-portal-invoice-row small,
.rt-portal-muted {
    margin-top: 3px;
    color: var(--rt-muted);
    font-size: 9px;
}

.rt-portal-invoice-paid { color: var(--rt-green-dark) !important; }
.rt-portal-invoice-pending { color: #9a6100 !important; }
.rt-portal-invoice-cancelled { color: #a44540 !important; }

.rt-portal-help-card {
    border-color: rgba(6, 199, 85, .22);
    background: linear-gradient(145deg, #f5fff8, #fffefa);
}

.rt-portal-help-card p {
    margin: 10px 0 0;
    color: var(--rt-copy);
    font-size: 10.5px;
    line-height: 1.55;
}

.rt-portal-help-card > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.rt-portal-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 16px 0;
}

.rt-portal-filter-row button {
    min-height: 35px;
    padding: 0 13px;
    border: 1px solid var(--rt-line);
    border-radius: 8px;
    color: var(--rt-copy);
    background: var(--rt-white);
    font-size: 10px;
    font-weight: 700;
}

.rt-portal-filter-row button.is-active {
    color: #031108;
    border-color: var(--rt-green);
    background: var(--rt-green);
}

.rt-portal-service-list {
    display: grid;
    gap: 13px;
}

.rt-portal-service-card {
    padding: 20px;
    box-shadow: 0 12px 36px rgba(7, 19, 13, .035);
}

.rt-portal-service-topline {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--rt-muted);
    font-size: 9px;
}

.rt-portal-service-topline > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.rt-portal-badge,
.rt-portal-billing-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 8.5px;
    font-weight: 760;
}

.rt-portal-badge-active { color: #086048; background: #dcfaea; }
.rt-portal-badge-provisioning,
.rt-portal-badge-payment_pending { color: #765000; background: #fff0c7; }
.rt-portal-badge-attention,
.rt-portal-badge-suspended,
.rt-portal-badge-cancelled { color: #99413d; background: #fde5e3; }
.rt-portal-billing-badge { color: var(--rt-copy); background: var(--rt-soft); }

.rt-portal-service-body {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    margin-top: 15px;
}

.rt-portal-service-body h2 {
    margin: 0;
    color: var(--rt-ink);
    font-size: 18px;
    font-weight: 680;
    letter-spacing: -.025em;
}

.rt-portal-service-body a,
.rt-portal-service-body p {
    display: block;
    margin: 4px 0 0;
    color: var(--rt-muted);
    font-size: 10px;
    overflow-wrap: anywhere;
}

.rt-portal-service-body a {
    color: var(--rt-green-dark);
}

.rt-portal-service-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 16px 0;
    padding: 1px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--rt-line);
}

.rt-portal-service-facts > div {
    min-width: 0;
    padding: 12px;
    background: var(--rt-soft);
}

.rt-portal-service-facts dt,
.rt-portal-service-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.rt-portal-service-facts dt {
    color: var(--rt-muted);
    font-size: 8.5px;
    text-transform: uppercase;
}

.rt-portal-service-facts dd {
    margin-top: 5px;
    color: var(--rt-ink);
    font-size: 9.5px;
    font-weight: 700;
}

.rt-portal-empty {
    padding: 30px;
    text-align: center;
}

.rt-portal-empty strong { font-size: 15px; }
.rt-portal-empty p { color: var(--rt-muted); font-size: 10.5px; }
.rt-portal-empty a,
.rt-portal-empty button { color: var(--rt-green-dark); font-size: 10px; font-weight: 720; }

.rt-service-open-inline {
    color: #031108 !important;
    border-color: var(--rt-green) !important;
    background: var(--rt-green) !important;
}

.rt-service-payment-action {
    color: #5f3d00 !important;
    border-color: #e2c277 !important;
    background: #fff5d9 !important;
}

.rt-service-cancel {
    color: #a33f3a !important;
    border-color: #e4aaa6 !important;
    background: #fff7f6 !important;
}

.rt-service-renewal-note {
    margin-top: 14px;
    padding: 12px 13px;
    border-radius: 9px;
    color: var(--rt-copy);
    background: var(--rt-soft);
    font-size: 9.5px;
    line-height: 1.45;
}

.rt-service-renewal-note strong,
.rt-service-renewal-note span {
    display: block;
}

.rt-service-renewal-note strong {
    margin-bottom: 3px;
    color: var(--rt-ink);
    font-size: 10px;
}

.rt-service-features {
    margin-top: 16px;
}

.rt-service-features ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.rt-service-features li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    color: var(--rt-copy);
    font-size: 10px;
}

.rt-service-features li > span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    color: var(--rt-green-dark);
    background: var(--rt-green-soft);
    font-size: 9px;
    font-weight: 800;
}

.rt-cancel-panel {
    display: grid;
    gap: 16px;
    color: var(--rt-ink);
}

.rt-cancel-intro,
.rt-cancel-note,
.rt-cancel-warning {
    padding: 13px 14px;
    border-radius: 9px;
    font-size: 10.5px;
    line-height: 1.5;
}

.rt-cancel-intro { border: 1px solid var(--rt-line); background: var(--rt-soft); }
.rt-cancel-intro strong { font-size: 12px; }
.rt-cancel-intro p { margin: 4px 0 0; color: var(--rt-muted); }
.rt-cancel-note { color: #315649; background: #edfbf3; }
.rt-cancel-warning { color: #7f3d16; border: 1px solid #edbf9f; background: #fff3eb; }

/* Subscription self-service */
.rt-portal-manage-small,
.rt-portal-upgrade-small,
.rt-portal-addon-small,
.rt-portal-cancel-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--rt-line);
    border-radius: 9px;
    background: var(--rt-white);
    font-size: 10.5px;
    font-weight: 760;
    text-decoration: none;
}

.rt-portal-manage-small,
.rt-portal-addon-small { color: var(--rt-green-dark); }
.rt-portal-upgrade-small { color: #315585; border-color: #b6c8df; background: #f2f7fd; }
.dark .rt-portal-upgrade-small { color: #a9c9f2; border-color: #3a536f; background: #14202d; }
.rt-portal-cancel-small { color: #a33f3a; border-color: #e4aaa6; background: #fff7f6; }
.dark .rt-portal-cancel-small { color: #ffaaa4; border-color: #693b38; background: #281816; }

/* Stores center */
.rt-stores-page,
.rt-tickets-page {
    min-height: calc(100vh - 72px);
    padding: 42px 28px 76px;
    color: var(--rt-ink);
    background: var(--rt-soft);
}

.rt-stores-shell,
.rt-tickets-shell {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.rt-stores-hero,
.rt-tickets-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 32px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(120deg, #06150d 0%, #062918 58%, #075129 100%);
    box-shadow: var(--rt-shadow);
}

.rt-stores-hero h1,
.rt-tickets-hero h1 {
    margin: 7px 0 6px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.rt-stores-hero p,
.rt-tickets-hero p {
    max-width: 650px;
    margin: 0;
    color: #b9ccc0;
    font-size: 11px;
    line-height: 1.55;
}

.rt-stores-hero > a,
.rt-tickets-hero > a,
.rt-ticket-show-hero a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    font-size: 10.5px;
    font-weight: 760;
    text-decoration: none;
}

.rt-stores-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.rt-stores-panel {
    padding: 24px;
    border: 1px solid var(--rt-line);
    border-radius: 16px;
    background: var(--rt-white);
    box-shadow: 0 14px 38px rgba(7, 19, 13, .045);
}

.rt-stores-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.rt-stores-step {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    color: #03200f;
    background: var(--rt-green);
    font-size: 10px;
    font-weight: 830;
}

.rt-stores-panel-heading div > span {
    color: var(--rt-green-dark);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rt-stores-panel-heading h2 {
    margin: 3px 0 5px;
    color: var(--rt-ink);
    font-size: 22px;
}

.rt-stores-panel-heading p {
    margin: 0;
    color: var(--rt-copy);
    font-size: 10px;
    line-height: 1.5;
}

.rt-stores-plan-list,
.rt-stores-workspace-list {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.rt-stores-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px;
    border: 1px solid var(--rt-line);
    border-radius: 12px;
    background: var(--rt-soft);
}

.rt-stores-plan.is-featured { border-color: #9bd6af; background: var(--rt-green-soft); }
.rt-stores-plan span,
.rt-stores-plan strong,
.rt-stores-plan p { display: block; }
.rt-stores-plan span { color: var(--rt-muted); font-size: 8.5px; font-weight: 760; text-transform: uppercase; }
.rt-stores-plan strong { margin-top: 3px; color: var(--rt-ink); font-size: 20px; }
.rt-stores-plan strong small { color: var(--rt-copy); font-size: 9.5px; font-weight: 650; }
.rt-stores-plan p { margin: 4px 0 0; color: var(--rt-copy); font-size: 9.5px; }
.rt-stores-plan a,
.rt-stores-workspace a,
.rt-ticket-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 9px;
    color: #031108;
    background: var(--rt-green);
    font-size: 10px;
    font-weight: 780;
    text-decoration: none;
    white-space: nowrap;
}

.rt-stores-workspace {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--rt-line);
    border-radius: 12px;
    background: var(--rt-soft);
}

.rt-stores-workspace strong,
.rt-stores-workspace span,
.rt-stores-workspace small { display: block; }
.rt-stores-workspace strong { color: var(--rt-ink); font-size: 12px; }
.rt-stores-workspace span { margin-top: 3px; color: var(--rt-copy); font-size: 9.5px; }
.rt-stores-workspace small { margin-top: 3px; color: var(--rt-muted); font-size: 8.5px; }
.rt-stores-workspace .rt-stores-unavailable { margin: 0; padding: 7px 10px; border-radius: 999px; color: #805600; background: #fff1c8; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.rt-stores-empty { padding: 22px; border: 1px dashed var(--rt-line); border-radius: 12px; text-align: center; background: var(--rt-soft); }
.rt-stores-empty strong { color: var(--rt-ink); font-size: 12px; }
.rt-stores-empty p { margin: 5px 0 0; color: var(--rt-copy); font-size: 10px; line-height: 1.5; }
.rt-stores-note { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--rt-green); border-radius: 10px; background: var(--rt-white); }
.rt-stores-note strong { color: var(--rt-ink); font-size: 11px; }
.rt-stores-note p { margin: 4px 0 0; color: var(--rt-copy); font-size: 10px; line-height: 1.5; }

/* Support ticket list */
.rt-tickets-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 18px;
    padding: 17px 19px;
    border: 1px solid var(--rt-line);
    border-radius: 13px;
    background: var(--rt-white);
}

.rt-tickets-summary span,
.rt-tickets-summary small { color: var(--rt-muted); font-size: 9px; }
.rt-tickets-summary span { font-weight: 780; text-transform: uppercase; }
.rt-tickets-summary strong { grid-row: span 2; color: var(--rt-ink); font-size: 26px; }
.rt-tickets-summary small { margin-top: 3px; }
.rt-ticket-list { display: grid; gap: 11px; margin-top: 14px; }
.rt-ticket-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 15px;
    align-items: center;
    padding: 18px 19px;
    border: 1px solid var(--rt-line);
    border-radius: 14px;
    color: inherit;
    background: var(--rt-white);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.rt-ticket-card:hover { border-color: #acd7bc; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(7, 19, 13, .07); }
.rt-ticket-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 12px; color: var(--rt-green-dark); background: var(--rt-green-soft); font-size: 9.5px; font-weight: 830; }
.rt-ticket-copy { min-width: 0; }
.rt-ticket-copy > div { display: flex; align-items: center; gap: 9px; }
.rt-ticket-copy strong { overflow: hidden; color: var(--rt-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.rt-ticket-copy p { margin: 6px 0 0; color: var(--rt-muted); font-size: 9.5px; }
.rt-ticket-status { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 999px; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.rt-ticket-status-open { color: #08733e; background: #dcf7e7; }
.rt-ticket-status-replied { color: #315585; background: #e4eef9; }
.rt-ticket-status-closed { color: #6c7370; background: #ecefed; }
.rt-ticket-open { color: var(--rt-green-dark); font-size: 9.5px; font-weight: 760; white-space: nowrap; }
.rt-ticket-empty { padding: 42px 22px; border: 1px dashed var(--rt-line); border-radius: 14px; text-align: center; background: var(--rt-white); }
.rt-ticket-empty > span { display: grid; width: 46px; height: 46px; margin: 0 auto 12px; place-items: center; border-radius: 50%; color: var(--rt-green-dark); background: var(--rt-green-soft); font-weight: 850; }
.rt-ticket-empty strong { display: block; color: var(--rt-ink); font-size: 14px; }
.rt-ticket-empty p { max-width: 490px; margin: 6px auto 15px; color: var(--rt-copy); font-size: 10px; line-height: 1.5; }
.rt-tickets-pagination { margin-top: 18px; }

/* Support ticket create and conversation */
.rt-ticket-create-page,
.rt-ticket-show-page {
    min-height: calc(100vh - 72px);
    padding: 42px 28px 76px;
    color: var(--rt-ink);
    background: var(--rt-soft);
}

.rt-ticket-form-card,
.rt-ticket-thread-card,
.rt-ticket-details-card {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid var(--rt-line);
    border-radius: 16px;
    background: var(--rt-white);
    box-shadow: 0 14px 38px rgba(7, 19, 13, .045);
}

.rt-ticket-form-heading > span {
    color: var(--rt-green-dark);
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rt-ticket-form-heading h2 {
    margin: 3px 0 4px;
    color: var(--rt-ink);
    font-size: 20px;
    line-height: 1.12;
}

.rt-ticket-form-heading p {
    margin: 0;
    color: var(--rt-muted);
    font-size: 10px;
}

.rt-ticket-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.rt-ticket-field {
    display: grid;
    gap: 7px;
    color: var(--rt-copy);
    font-size: 10px;
    font-weight: 720;
}

.rt-ticket-field b,
.rt-ticket-editor-label b { color: #aa3c37; }

.rt-ticket-field input,
.rt-ticket-field select {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--rt-line);
    border-radius: 9px;
    color: var(--rt-ink);
    background: var(--rt-white);
    font: inherit;
    font-weight: 560;
}

.rt-ticket-field input:focus,
.rt-ticket-field select:focus {
    border-color: var(--rt-green-dark);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(6, 199, 85, .12);
}

.rt-ticket-composer {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--rt-line);
}

.rt-ticket-editor-label {
    color: var(--rt-copy);
    font-size: 10px;
    font-weight: 720;
}

.rt-ticket-upload { display: grid; gap: 7px; }
.rt-ticket-dropzone {
    min-height: 92px;
    padding: 16px;
    border: 1px dashed var(--rt-line-strong, #c9cec8);
    border-radius: 11px;
    text-align: center;
    background: var(--rt-soft);
    transition: border-color .18s ease, background-color .18s ease;
}

.rt-ticket-dropzone.is-dragging {
    border-color: var(--rt-green-dark);
    background: var(--rt-green-soft);
}

.rt-ticket-dropzone > div,
.rt-ticket-dropzone template + div { color: var(--rt-copy); font-size: 10px; }
.rt-ticket-dropzone label { color: var(--rt-green-dark); font-weight: 780; cursor: pointer; }
.rt-ticket-dropzone small { display: block; margin-top: 5px; color: var(--rt-muted); font-size: 8.5px; }
.rt-ticket-selected-files { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rt-ticket-selected-files strong { width: 100%; color: var(--rt-ink); font-size: 9px; }
.rt-ticket-selected-files > span { padding: 5px 8px; border: 1px solid var(--rt-line); border-radius: 7px; background: var(--rt-white); font-size: 9px; overflow-wrap: anywhere; }

.rt-ticket-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 4px;
}

.rt-ticket-form-actions > a,
.rt-ticket-form-actions > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid var(--rt-line);
    border-radius: 9px;
    color: var(--rt-copy);
    background: var(--rt-white);
    font-size: 10px;
    font-weight: 760;
    text-decoration: none;
    cursor: pointer;
}

.rt-ticket-form-actions > button[type="submit"] {
    color: #031108;
    border-color: var(--rt-green);
    background: var(--rt-green);
}

.rt-ticket-form-actions > button.is-danger {
    margin-right: auto;
    color: #a33f3a;
    border-color: #e4aaa6;
    background: #fff7f6;
}

.rt-ticket-form-actions > button:disabled { cursor: wait; opacity: .66; }

.rt-ticket-show-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 26px 30px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(120deg, #06150d 0%, #062918 58%, #075129 100%);
    box-shadow: var(--rt-shadow);
}

.rt-ticket-show-hero h1 {
    max-width: 760px;
    margin: 7px 0 6px;
    color: #fff;
    font-size: clamp(23px, 3.2vw, 34px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.rt-ticket-show-hero p { margin: 0; color: #b9ccc0; font-size: 10.5px; }
.rt-ticket-show-hero-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.rt-ticket-show-hero-actions .rt-ticket-status { border: 1px solid rgba(255,255,255,.2); }

.rt-ticket-show-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
}

.rt-ticket-thread-card { min-width: 0; }
.rt-ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 58vh;
    padding: 3px 5px 3px 1px;
    overflow-y: auto;
}

.rt-ticket-message {
    width: min(82%, 720px);
    padding: 15px;
    border: 1px solid var(--rt-line);
    border-radius: 13px;
    background: var(--rt-soft);
}

.rt-ticket-message.is-customer { align-self: flex-end; border-color: #bfe2cb; background: #f2fbf5; }
.rt-ticket-message.is-support { align-self: flex-start; }
.rt-ticket-message header { display: flex; align-items: center; gap: 9px; }
.rt-ticket-message header img { width: 32px; height: 32px; border: 1px solid var(--rt-line); border-radius: 50%; object-fit: cover; background: var(--rt-white); }
.rt-ticket-message header strong,
.rt-ticket-message header span { display: block; }
.rt-ticket-message header strong { color: var(--rt-ink); font-size: 10.5px; }
.rt-ticket-message header span { margin-top: 2px; color: var(--rt-muted); font-size: 8.5px; }
.rt-ticket-message-body { margin-top: 11px; color: var(--rt-copy); font-size: 10.5px; line-height: 1.55; overflow-wrap: anywhere; }
.rt-ticket-message-body > :first-child { margin-top: 0; }
.rt-ticket-message-body > :last-child { margin-bottom: 0; }
.rt-ticket-attachments { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.rt-ticket-attachments a { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 6px 8px; border: 1px solid var(--rt-line); border-radius: 8px; color: var(--rt-green-dark); background: var(--rt-white); font-size: 9px; text-decoration: none; overflow-wrap: anywhere; }
.rt-ticket-attachments img { width: auto; max-width: 230px; max-height: 170px; border-radius: 6px; object-fit: contain; }
.rt-ticket-reply-form { margin-top: 18px; }
.rt-ticket-upload-progress span { display: block; color: var(--rt-copy); font-size: 9px; }
.rt-ticket-upload-progress i { display: block; height: 7px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: var(--rt-line); }
.rt-ticket-upload-progress i span { display: block; height: 100%; border-radius: inherit; background: var(--rt-green); }

.rt-ticket-details-card { align-self: start; }
.rt-ticket-details-card dl { margin: 18px 0 0; }
.rt-ticket-details-card dl > div { padding: 11px 0; border-bottom: 1px solid var(--rt-line); }
.rt-ticket-details-card dl > div:last-child { border-bottom: 0; }
.rt-ticket-details-card dt { color: var(--rt-muted); font-size: 8.5px; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; }
.rt-ticket-details-card dd { margin: 5px 0 0; color: var(--rt-ink); font-size: 10.5px; font-weight: 650; overflow-wrap: anywhere; }

/* Branch add-on modal: viewport-safe header, close control, and internal scroll */
.rt-modal-shell.rt-branch-modal-shell {
    z-index: 90;
    padding: 16px;
}

.rt-modal-dialog.rt-branch-modal {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(920px, 100%);
    max-height: calc(100dvh - 32px);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 12px;
    background: var(--rt-white);
    box-shadow: 0 24px 72px rgba(7, 21, 29, .34);
}

.rt-branch-modal > .rt-modal-header {
    position: relative;
    z-index: 2;
    min-height: 58px;
    padding: 11px 12px 11px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background:
        radial-gradient(circle at 92% -80%, rgba(76, 154, 139, .42), transparent 52%),
        linear-gradient(128deg, #122a3a 0%, #173548 68%, #1d4b50 100%);
}

.rt-branch-modal > .rt-modal-header h2 {
    margin: 0;
    color: #fff;
    font-family: var(--rt-font-family, "Outfit", "Avenir Next", "Segoe UI", sans-serif);
    font-size: 15px;
    font-weight: 720;
    line-height: 1.2;
}

.rt-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 74px;
    min-height: 38px;
    padding: 0 10px 0 12px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 8px;
    color: #fff;
    background: rgba(4, 21, 28, .3);
    font-family: var(--rt-font-family, "Outfit", "Avenir Next", "Segoe UI", sans-serif);
    font-size: 10.5px;
    font-weight: 680;
    line-height: 1;
    cursor: pointer;
}

.rt-modal-close:hover { border-color: rgba(255, 255, 255, .58); background: rgba(4, 21, 28, .5); }
.rt-modal-close:focus-visible { outline: 3px solid rgba(79, 220, 180, .38); outline-offset: 2px; }
.rt-modal-close svg { flex: 0 0 auto; }

.rt-branch-modal > .rt-modal-body.rt-branch-modal-body {
    min-height: 0;
    margin-top: 0;
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    background: var(--rt-white);
}

@media (max-width: 640px) {
    .rt-modal-shell.rt-branch-modal-shell { padding: 8px; }
    .rt-modal-dialog.rt-branch-modal { max-height: calc(100dvh - 16px); border-radius: 10px; }
    .rt-branch-modal > .rt-modal-header { min-height: 54px; padding: 9px 9px 9px 12px; }
    .rt-branch-modal > .rt-modal-header h2 { font-size: 13px; }
    .rt-branch-modal > .rt-modal-body.rt-branch-modal-body { padding: 11px; }
    .rt-modal-close { min-width: 40px; width: 40px; min-height: 40px; padding: 0; }
    .rt-modal-close span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
}

.rt-branch-panel {
    display: grid;
    gap: 15px;
    color: var(--rt-ink);
}

.rt-branch-intro,
.rt-branch-pending,
.rt-branch-success,
.rt-branch-attention,
.rt-branch-price {
    padding: 15px;
    border: 1px solid var(--rt-line);
    border-radius: 11px;
    background: var(--rt-soft);
}

.rt-branch-intro > span,
.rt-branch-price > span {
    display: block;
    margin-bottom: 4px;
    color: var(--rt-green-dark);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.rt-branch-intro strong,
.rt-branch-pending strong,
.rt-branch-success strong,
.rt-branch-attention strong,
.rt-branch-price strong {
    display: block;
    color: var(--rt-ink);
    font-size: 14px;
}

.rt-branch-intro p,
.rt-branch-pending p,
.rt-branch-success p,
.rt-branch-attention p,
.rt-branch-price small {
    margin: 5px 0 0;
    color: var(--rt-copy);
    font-size: 10.5px;
    line-height: 1.5;
}

.rt-branch-current {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--rt-line);
    border-radius: 11px;
    background: var(--rt-line);
}

.rt-branch-current > div { padding: 13px 14px; background: var(--rt-white); }
.rt-branch-current dt { color: var(--rt-muted); font-size: 9px; font-weight: 730; text-transform: uppercase; }
.rt-branch-current dd { margin: 5px 0 0; color: var(--rt-ink); font-size: 12px; font-weight: 730; }

.rt-branch-field { display: grid; gap: 7px; color: var(--rt-ink); font-size: 10.5px; font-weight: 720; }
.rt-branch-field input {
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--rt-line);
    border-radius: 9px;
    color: var(--rt-ink);
    background: var(--rt-white);
    font-variant-numeric: tabular-nums;
}

.rt-branch-field input[aria-invalid="true"] {
    border-color: #d59a36;
    box-shadow: 0 0 0 3px rgba(213, 154, 54, .13);
}

.rt-branch-field input:disabled { cursor: not-allowed; opacity: .68; }
.rt-branch-input-note { color: var(--rt-muted); font-size: 9.5px; font-weight: 520; line-height: 1.45; }

.rt-branch-inline-warning {
    display: block;
    padding: 9px 10px;
    border: 1px solid #e3c47a;
    border-radius: 8px;
    color: #6b5014;
    background: #fff8e5;
    font-size: 9.5px;
    font-weight: 650;
    line-height: 1.45;
}

.rt-branch-confirm,
.rt-cancel-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid var(--rt-line);
    border-radius: 9px;
    color: var(--rt-copy);
    background: var(--rt-white);
    font-size: 10.5px;
    line-height: 1.45;
}

.rt-branch-confirm input,
.rt-cancel-confirm input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--rt-green); }
.rt-branch-confirm.is-disabled { cursor: not-allowed; opacity: .62; }
.rt-field-error { display: block; color: #b33f39; font-size: 9.5px; line-height: 1.4; }
.rt-branch-pending { border-color: #e7c774; background: #fff9e8; }
.rt-branch-attention { border-color: #e3aaa5; background: #fff1f0; }
.rt-branch-attention strong { color: #8e2f2a; }
.rt-branch-pending a,
.rt-branch-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 12px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    color: #031108;
    background: var(--rt-green);
    font-size: 10.5px;
    font-weight: 780;
    text-decoration: none;
    cursor: pointer;
}

.rt-branch-pending small { display: block; margin-top: 9px; color: #68541a; font-size: 9.5px; }
.rt-branch-success { border-color: #a9ddbd; background: #edfbf3; }
.rt-branch-submit { width: 100%; margin-top: 0; }
.rt-branch-submit:disabled { cursor: not-allowed; opacity: .58; }

.rt-branch-payment-breakdown {
    display: grid;
    gap: 0;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid var(--rt-line);
    border-radius: 9px;
    background: var(--rt-line);
}

.rt-branch-payment-breakdown > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--rt-line);
    background: var(--rt-white);
}

.rt-branch-payment-breakdown > div:last-child { border-bottom: 0; }
.rt-branch-payment-breakdown span { color: var(--rt-muted); font-size: 9.5px; font-weight: 620; }
.rt-branch-payment-breakdown b { color: var(--rt-ink); font-size: 10.5px; font-weight: 760; font-variant-numeric: tabular-nums; text-align: right; }

.rt-branch-cancel-request {
    min-height: 38px;
    margin-top: 9px;
    padding: 0 14px;
    border: 1px solid #d6b76b;
    border-radius: 8px;
    color: #614c16;
    background: #fffdf5;
    font-size: 9.5px;
    font-weight: 720;
    cursor: pointer;
}

.rt-branch-cancel-request:hover { border-color: #b58e2f; background: #fff8df; }
.rt-branch-cancel-request:focus-visible { outline: 3px solid rgba(20, 125, 100, .16); outline-offset: 2px; }
.rt-branch-cancel-request:disabled { cursor: wait; opacity: .62; }

@media (max-width: 520px) {
    .rt-branch-payment-breakdown > div { align-items: flex-start; flex-direction: column; gap: 4px; }
    .rt-branch-payment-breakdown b { text-align: left; }
}

/* Invoice list and A4 browser document */
.rt-invoices-page,
.rt-invoice-page { min-height: calc(100vh - 72px); padding: 42px 28px 76px; background: var(--rt-soft); }
.rt-invoices-shell,
.rt-invoice-shell { width: min(1180px, 100%); margin-inline: auto; }

.rt-invoices-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 32px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(120deg, #06150d 0%, #062918 58%, #075129 100%);
    box-shadow: var(--rt-shadow);
}

.rt-invoices-hero h1 { margin: 7px 0 6px; color: #fff; font-size: clamp(28px, 4vw, 42px); line-height: 1; }
.rt-invoices-hero p { max-width: 650px; margin: 0; color: #b9ccc0; font-size: 11px; line-height: 1.55; }
.rt-invoices-total { min-width: 130px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.07); }
.rt-invoices-total span,
.rt-invoices-total strong { display: block; }
.rt-invoices-total span { color: #b9ccc0; font-size: 9px; font-weight: 720; text-transform: uppercase; }
.rt-invoices-total strong { margin-top: 4px; color: #fff; font-size: 24px; }

.rt-invoice-list { display: grid; gap: 12px; margin-top: 18px; }
.rt-invoice-list-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 19px 20px;
    border: 1px solid var(--rt-line);
    border-radius: 15px;
    color: inherit;
    background: var(--rt-white);
    text-decoration: none;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.rt-invoice-list-card:hover { border-color: #acd7bc; transform: translateY(-1px); box-shadow: 0 14px 34px rgba(7,19,13,.07); }
.rt-invoice-list-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 12px; color: var(--rt-green-dark); background: var(--rt-green-soft); font-size: 10px; font-weight: 820; }
.rt-invoice-list-copy { min-width: 0; }
.rt-invoice-list-heading { display: flex; align-items: center; gap: 9px; }
.rt-invoice-list-heading > strong { color: var(--rt-ink); font-size: 14px; }
.rt-invoice-status { display: inline-flex; align-items: center; min-height: 24px; padding: 0 9px; border-radius: 999px; font-size: 8.5px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.rt-invoice-status-paid { color: #08733e; background: #dcf7e7; }
.rt-invoice-status-pending { color: #805600; background: #fff1c8; }
.rt-invoice-status-cancelled { color: #9d3732; background: #ffe5e3; }
.rt-invoice-list-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 6px; color: var(--rt-muted); font-size: 9.5px; }
.rt-invoice-list-items { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; color: var(--rt-copy); font-size: 10px; }
.rt-invoice-list-items span + span::before { margin-right: 10px; color: var(--rt-line); content: "\2022"; }
.rt-invoice-list-items small { color: var(--rt-muted); }
.rt-invoice-list-amount { min-width: 125px; text-align: right; }
.rt-invoice-list-amount span,
.rt-invoice-list-amount strong,
.rt-invoice-list-amount small { display: block; }
.rt-invoice-list-amount span { color: var(--rt-muted); font-size: 8.5px; text-transform: uppercase; }
.rt-invoice-list-amount strong { margin-top: 3px; color: var(--rt-ink); font-size: 17px; }
.rt-invoice-list-amount small { margin-top: 6px; color: var(--rt-green-dark); font-size: 9.5px; font-weight: 740; }
.rt-invoices-pagination { margin-top: 18px; }

.rt-invoice-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rt-invoice-toolbar a { color: var(--rt-copy); font-size: 10.5px; font-weight: 720; text-decoration: none; }
.rt-invoice-toolbar button,
.rt-invoice-payment-callout button { min-height: 40px; padding: 0 15px; border: 0; border-radius: 9px; color: #031108; background: var(--rt-green); font-size: 10.5px; font-weight: 780; cursor: pointer; }
.rt-invoice-document { padding: 40px 42px 30px; border: 1px solid var(--rt-line); border-radius: 17px; background: var(--rt-white); box-shadow: 0 18px 48px rgba(7,19,13,.07); }
.rt-invoice-document-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.rt-invoice-brand { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.rt-invoice-brand img { width: auto; max-width: 145px; height: auto; max-height: 42px; object-fit: contain; }
.rt-invoice-brand-mark { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: #031108; background: var(--rt-green); font-weight: 850; }
.rt-invoice-brand strong,
.rt-invoice-brand small { display: block; }
.rt-invoice-brand strong { color: var(--rt-ink); font-size: 15px; }
.rt-invoice-brand small { max-width: 390px; margin-top: 5px; color: var(--rt-muted); font-size: 9.5px; line-height: 1.45; }
.rt-invoice-document-title { text-align: right; }
.rt-invoice-document-title > span:first-child { color: var(--rt-muted); font-size: 9px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.rt-invoice-document-title h1 { margin: 4px 0 9px; color: var(--rt-ink); font-size: 29px; line-height: 1; }

.rt-invoice-info-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .75fr); margin-top: 28px; border: 1px solid var(--rt-line); }
.rt-invoice-info-card { padding: 17px 18px; }
.rt-invoice-info-card h2,
.rt-invoice-section > h2 { margin: -17px -18px 14px; padding: 8px 18px; color: #242b27; background: #dcdfdd; font-size: 10px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.dark .rt-invoice-info-card h2,
.dark .rt-invoice-section > h2 { color: var(--rt-ink); background: #253129; }
.rt-invoice-info-card strong,
.rt-invoice-info-card span { display: block; }
.rt-invoice-info-card strong { color: var(--rt-ink); font-size: 12px; }
.rt-invoice-info-card span { margin-top: 3px; color: var(--rt-copy); font-size: 10px; }
.rt-invoice-info-table { margin: 0; border-left: 1px solid var(--rt-line); }
.rt-invoice-info-table > div { display: grid; grid-template-columns: 46% minmax(0, 1fr); min-height: 38px; border-bottom: 1px solid var(--rt-line); }
.rt-invoice-info-table > div:last-child { border-bottom: 0; }
.rt-invoice-info-table dt,
.rt-invoice-info-table dd { display: flex; align-items: center; margin: 0; padding: 8px 10px; font-size: 9.5px; }
.rt-invoice-info-table dt { color: var(--rt-copy); background: var(--rt-soft); }
.rt-invoice-info-table dd { color: var(--rt-ink); font-weight: 720; }

.rt-invoice-payment-callout { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 15px; padding: 15px 17px; border: 1px solid #e8cb79; border-radius: 10px; background: #fff8e6; }
.dark .rt-invoice-payment-callout { border-color: #6b5724; background: #261f0e; }
.rt-invoice-payment-callout span,
.rt-invoice-payment-callout strong,
.rt-invoice-payment-callout small { display: block; }
.rt-invoice-payment-callout span { color: #7c5a0b; font-size: 8.5px; font-weight: 760; text-transform: uppercase; }
.rt-invoice-payment-callout strong { margin-top: 2px; color: var(--rt-ink); font-size: 18px; }
.rt-invoice-payment-callout small { margin-top: 3px; color: var(--rt-copy); font-size: 9.5px; }
.rt-invoice-section { margin-top: 18px; padding: 17px 18px 18px; border: 1px solid var(--rt-line); }
.rt-invoice-table-wrap { width: 100%; overflow-x: auto; }
.rt-invoice-table { width: 100%; border-collapse: collapse; color: var(--rt-copy); font-size: 10px; }
.rt-invoice-table th { padding: 9px 10px; border: 1px solid var(--rt-line); color: var(--rt-ink); background: var(--rt-soft); font-size: 8.5px; font-weight: 800; letter-spacing: .035em; text-align: left; text-transform: uppercase; }
.rt-invoice-table td { padding: 11px 10px; border: 1px solid var(--rt-line); vertical-align: top; }
.rt-invoice-table th:nth-last-child(-n+3),
.rt-invoice-table td:nth-last-child(-n+3) { text-align: right; }
.rt-invoice-table a { color: var(--rt-green-dark); font-weight: 700; text-decoration: none; }
.rt-invoice-totals { width: min(380px, 100%); margin: 13px 0 0 auto; border: 1px solid var(--rt-line); }
.rt-invoice-totals > div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 11px; border-bottom: 1px solid var(--rt-line); color: var(--rt-copy); font-size: 10px; }
.rt-invoice-totals > div:last-child { border-bottom: 0; }
.rt-invoice-totals .is-total { color: var(--rt-ink); background: var(--rt-soft); font-size: 12px; }
.rt-invoice-reference { max-width: 210px; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; }
.rt-transaction-status { font-size: 8.5px; font-weight: 800; text-transform: uppercase; }
.rt-transaction-status-succeeded { color: #08733e; }
.rt-transaction-status-failed,
.rt-transaction-status-cancelled { color: #a33f3a; }
.rt-transaction-status-processing,
.rt-transaction-status-pending { color: #8b5c00; }
.rt-invoice-document-footer { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--rt-line); color: var(--rt-muted); font-size: 9px; }
.rt-invoice-document-footer strong,
.rt-invoice-document-footer span { display: block; }
.rt-invoice-document-footer strong { margin-bottom: 3px; color: var(--rt-ink); }

.rt-portal-page a:focus-visible,
.rt-portal-page button:focus-visible,
.rt-service-page a:focus-visible,
.rt-service-page button:focus-visible,
.rt-cancel-panel button:focus-visible,
.rt-stores-page a:focus-visible,
.rt-tickets-page a:focus-visible {
    outline: 3px solid rgba(6, 199, 85, .28);
    outline-offset: 2px;
}

@media (max-width: 960px) {
    .rt-portal-stats,
    .rt-portal-service-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rt-portal-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .rt-service-features ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rt-stores-choice-grid {
        grid-template-columns: 1fr;
    }

    .rt-ticket-show-grid { grid-template-columns: 1fr; }
    .rt-ticket-details-card { grid-row: 1; }
}

@media (max-width: 650px) {
    .rt-portal-page {
        padding: 22px 12px 54px;
    }

    .rt-portal-hero,
    .rt-portal-list-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 21px;
    }

    .rt-portal-primary,
    .rt-portal-secondary-dark {
        width: 100%;
    }

    .rt-portal-workspace-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .rt-portal-row-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .rt-portal-service-facts,
    .rt-service-features ul {
        grid-template-columns: 1fr;
    }

    .rt-portal-service-actions {
        justify-content: flex-start;
    }

    .rt-invoices-page,
    .rt-invoice-page { padding: 22px 12px 52px; }
    .rt-invoices-hero { align-items: flex-start; flex-direction: column; padding: 24px 21px; }
    .rt-invoices-total { width: 100%; }
    .rt-invoice-list-card { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; }
    .rt-invoice-list-icon { width: 44px; height: 44px; }
    .rt-invoice-list-amount { grid-column: 2; min-width: 0; text-align: left; }
    .rt-invoice-document { padding: 24px 17px; }
    .rt-invoice-document-header { flex-direction: column; }
    .rt-invoice-document-title { width: 100%; text-align: left; }
    .rt-invoice-info-grid { grid-template-columns: 1fr; }
    .rt-invoice-info-table { border-top: 1px solid var(--rt-line); border-left: 0; }
    .rt-invoice-payment-callout { align-items: flex-start; flex-direction: column; }
    .rt-invoice-payment-callout button { width: 100%; }
    .rt-invoice-section { padding-inline: 11px; }
    .rt-invoice-section > h2 { margin-inline: -11px; padding-inline: 11px; }
    .rt-branch-current { grid-template-columns: 1fr; }

    .rt-stores-page,
    .rt-tickets-page,
    .rt-ticket-create-page,
    .rt-ticket-show-page { padding: 22px 12px 52px; }
    .rt-stores-hero,
    .rt-tickets-hero { align-items: flex-start; flex-direction: column; padding: 24px 21px; }
    .rt-stores-hero > a,
    .rt-tickets-hero .rt-portal-primary { width: 100%; }
    .rt-stores-panel { padding: 19px 16px; }
    .rt-stores-plan { align-items: flex-start; flex-direction: column; }
    .rt-stores-plan a { width: 100%; }
    .rt-stores-workspace { grid-template-columns: 42px minmax(0, 1fr); }
    .rt-stores-workspace > a,
    .rt-stores-workspace > .rt-stores-unavailable { grid-column: 2; justify-self: start; }
    .rt-ticket-card { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; }
    .rt-ticket-icon { width: 44px; height: 44px; }
    .rt-ticket-copy > div { align-items: flex-start; flex-direction: column; gap: 5px; }
    .rt-ticket-copy strong { max-width: 100%; }
    .rt-ticket-open { grid-column: 2; }
    .rt-ticket-form-card,
    .rt-ticket-thread-card,
    .rt-ticket-details-card { padding: 18px 15px; }
    .rt-ticket-form-grid { grid-template-columns: 1fr; }
    .rt-ticket-form-actions { flex-direction: column-reverse; }
    .rt-ticket-form-actions > a,
    .rt-ticket-form-actions > button { width: 100%; }
    .rt-ticket-form-actions > button.is-danger { margin-right: 0; }
    .rt-ticket-show-hero { align-items: flex-start; flex-direction: column; padding: 24px 21px; }
    .rt-ticket-show-hero-actions { width: 100%; flex-wrap: wrap; }
    .rt-ticket-show-hero-actions a { flex: 1; }
    .rt-ticket-message { width: 94%; }
    .rt-ticket-attachments img { max-width: 100%; }
}

@media print {
    .rt-site-nav,
    .rt-site-footer,
    .rt-menu-toggle {
        display: none !important;
    }

    .rt-main {
        margin-top: 0 !important;
    }

    .rt-invoice-page { padding: 0 !important; background: #fff !important; }
    .rt-invoice-toolbar { display: none !important; }
    .rt-invoice-document { padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
}

/* RepairTicket subscription checkout and cart */
.rt-commerce-page {
    --rt-commerce-canvas: #edecec;
    --rt-commerce-card: #ffffff;
    --rt-commerce-dark: #09090b;
    --rt-commerce-dark-soft: #18181b;
    --rt-commerce-ink: #111713;
    --rt-commerce-copy: #5f6762;
    --rt-commerce-muted: #828984;
    --rt-commerce-line: #d9dedb;
    --rt-commerce-green: #05c653;
    --rt-commerce-green-dark: #049642;
    position: relative;
    min-height: 68vh;
    padding: 28px 20px 58px;
    color: var(--rt-commerce-ink);
    background:
        radial-gradient(circle at 8% 5%, rgba(5, 198, 83, .08), transparent 24%),
        var(--rt-commerce-canvas);
}

.rt-commerce-page::before {
    position: absolute;
    inset: 0 0 auto;
    height: 260px;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .34), transparent);
}

.rt-commerce-shell {
    position: relative;
    z-index: 1;
    width: min(1240px, 100%);
    margin-inline: auto;
}

.rt-commerce-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    min-height: 188px;
    margin-bottom: 18px;
    padding: clamp(27px, 3.5vw, 40px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 18%, rgba(5, 198, 83, .24), transparent 28%),
        linear-gradient(130deg, #09090b 0%, #171719 68%, #10251a 100%);
    box-shadow: 0 28px 70px rgba(9, 9, 11, .14);
}

.rt-commerce-hero::after {
    position: absolute;
    top: -120px;
    right: -74px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(5, 198, 83, .24);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 48px rgba(5, 198, 83, .04), 0 0 0 96px rgba(5, 198, 83, .025);
}

.rt-commerce-hero-copy,
.rt-commerce-hero-trust,
.rt-cart-count {
    position: relative;
    z-index: 1;
}

.rt-commerce-hero-copy {
    max-width: 650px;
}

.rt-commerce-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #b7f5cd;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rt-commerce-eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rt-commerce-green);
    box-shadow: 0 0 0 5px rgba(5, 198, 83, .14);
}

.rt-commerce-hero h1 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.rt-commerce-hero p {
    max-width: 640px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    line-height: 1.55;
}

.rt-commerce-hero-trust {
    display: grid;
    flex: 0 0 190px;
    gap: 7px;
}

.rt-commerce-hero-trust > span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .76);
    font-size: 11.5px;
    font-weight: 650;
}

.rt-commerce-hero-trust svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: var(--rt-commerce-green);
}

.rt-commerce-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 18px;
    align-items: start;
}

.rt-commerce-form-card,
.rt-commerce-summary,
.rt-cart-item,
.rt-cart-empty {
    border: 1px solid var(--rt-commerce-line);
    background: var(--rt-commerce-card);
    box-shadow: 0 18px 45px rgba(9, 9, 11, .055);
}

.rt-commerce-form-card {
    min-width: 0;
    padding: clamp(22px, 3vw, 30px);
    border-radius: 22px;
}

.rt-commerce-product-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--rt-commerce-line);
}

.rt-commerce-product-image,
.rt-commerce-product-mark,
.rt-cart-item-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    object-fit: cover;
}

.rt-commerce-product-mark,
.rt-cart-item-mark {
    display: grid;
    place-items: center;
    color: #041109;
    background: var(--rt-commerce-green);
    font-size: 19px;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.rt-commerce-section-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--rt-commerce-green-dark);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.rt-commerce-product-head h2,
.rt-cart-item h2,
.rt-cart-empty h2 {
    margin: 0;
    color: var(--rt-commerce-ink);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.rt-commerce-product-head h2 {
    font-size: clamp(1.35rem, 2vw, 1.6rem);
}

.rt-commerce-description {
    max-height: none;
    margin: 15px 0 0;
    overflow: visible;
    color: var(--rt-commerce-copy);
    font-size: 13px;
    line-height: 1.55;
}

.rt-commerce-description > :first-child { margin-top: 0; }
.rt-commerce-description > :last-child { margin-bottom: 0; }

.rt-commerce-fields {
    display: grid;
    gap: 0;
    margin-top: 18px;
}

.rt-commerce-field-block {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 0 0 13px;
}

.rt-commerce-field-block + .rt-commerce-field-block {
    padding-top: 13px;
    border-top: 1px solid #ecefec;
}

.rt-commerce-field-block:last-child {
    padding-bottom: 0;
}

.rt-commerce-field-step {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border: 1px solid #bfe9ce;
    border-radius: 50%;
    color: var(--rt-commerce-green-dark);
    background: #effcf4;
    font-size: 10.5px;
    font-weight: 750;
}

.rt-commerce-field-content {
    min-width: 0;
}

.rt-commerce-page .rt-commerce-field-content > div {
    width: 100%;
}

.rt-commerce-page .rt-commerce-field-content label,
.rt-commerce-page .rt-suffix-label {
    color: #37403b;
    font-size: 12.5px;
    font-weight: 700;
}

.rt-commerce-page .rt-commerce-field-content input:not([type="checkbox"]):not([type="radio"]),
.rt-commerce-page .rt-commerce-field-content select,
.rt-commerce-page .rt-commerce-field-content textarea,
.rt-commerce-page .rt-suffix-control {
    min-height: 43px;
    border: 1px solid #ccd3cf;
    border-radius: 9px;
    color: var(--rt-commerce-ink);
    background: #fff;
    box-shadow: 0 4px 12px rgba(9, 9, 11, .045);
}

.rt-commerce-page .rt-commerce-field-content input:focus,
.rt-commerce-page .rt-commerce-field-content select:focus,
.rt-commerce-page .rt-commerce-field-content textarea:focus,
.rt-commerce-page .rt-suffix-control:focus-within {
    border-color: var(--rt-commerce-green);
    box-shadow: 0 0 0 4px rgba(5, 198, 83, .13);
}

.rt-commerce-page .rt-suffix-input {
    min-height: 41px;
}

.rt-commerce-page .rt-suffix-value {
    border-left-color: var(--rt-commerce-line);
    background: #f1faf4;
}

.rt-commerce-page .rt-suffix-preview,
.rt-commerce-page .rt-suffix-status,
.rt-commerce-page .rt-commerce-field-content p,
.rt-commerce-page .rt-commerce-field-content > div > a {
    color: var(--rt-commerce-muted);
    line-height: 1.5;
}

.rt-commerce-summary {
    position: sticky;
    top: 96px;
    min-width: 0;
    padding: 20px;
    border-radius: 20px;
}

.rt-commerce-summary-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--rt-commerce-line);
}

.rt-commerce-summary-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 11px;
    color: #041109;
    background: var(--rt-commerce-green);
}

.rt-commerce-summary-icon svg {
    width: 18px;
    height: 18px;
}

.rt-commerce-summary-head span:not(.rt-commerce-summary-icon) {
    display: block;
    margin-bottom: 2px;
    color: var(--rt-commerce-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.rt-commerce-summary h2 {
    margin: 0;
    color: var(--rt-commerce-ink);
    font-size: 1.12rem;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.rt-commerce-summary-product {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rt-commerce-line);
    color: var(--rt-commerce-copy);
    font-size: 13px;
}

.rt-commerce-summary-product strong {
    color: var(--rt-commerce-ink);
    font-weight: 750;
    text-align: right;
}

.rt-commerce-summary-lines {
    display: grid;
    gap: 10px;
    padding: 15px 0;
}

.rt-commerce-summary-lines > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    color: var(--rt-commerce-copy);
    font-size: 13px;
    line-height: 1.4;
}

.rt-commerce-summary-lines strong {
    flex: 0 0 auto;
    color: var(--rt-commerce-ink);
    font-weight: 750;
    text-align: right;
}

.rt-commerce-summary-lines .rt-commerce-summary-total {
    align-items: center;
    margin-top: 3px;
    padding-top: 13px;
    border-top: 1px solid var(--rt-commerce-line);
    color: var(--rt-commerce-ink);
    font-size: 14px;
    font-weight: 800;
}

.rt-commerce-summary-lines .rt-commerce-summary-total strong {
    font-size: 1.3rem;
    letter-spacing: -.035em;
}

.rt-commerce-page .rt-commerce-checkout-button,
.rt-commerce-link-button {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--rt-commerce-green) !important;
    border-radius: 11px !important;
    color: #031108 !important;
    background: var(--rt-commerce-green) !important;
    box-shadow: none !important;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}

.rt-commerce-page .rt-commerce-checkout-button:hover,
.rt-commerce-link-button:hover {
    border-color: var(--rt-commerce-green-dark) !important;
    color: #fff !important;
    background: var(--rt-commerce-green-dark) !important;
}

.rt-commerce-summary-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 15px 2px 0;
    color: var(--rt-commerce-muted);
    font-size: 11px;
    line-height: 1.5;
}

.rt-commerce-summary-note svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    margin-top: 1px;
    color: var(--rt-commerce-green-dark);
}

.rt-cart-hero {
    min-height: 220px;
}

.rt-cart-count {
    min-width: 150px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
}

.rt-cart-count strong,
.rt-cart-count span {
    display: block;
}

.rt-cart-count strong {
    color: var(--rt-commerce-green);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: 1;
}

.rt-cart-count span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 700;
}

.rt-cart-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
}

.rt-cart-items {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.rt-cart-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    min-width: 0;
    padding: 24px;
    border-radius: 24px;
}

.rt-cart-item-main {
    min-width: 0;
}

.rt-cart-item h2 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.rt-cart-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

.rt-cart-options > div {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 9px;
    border: 1px solid #e3e7e4;
    border-radius: 9px;
    color: var(--rt-commerce-copy);
    background: #f7f8f7;
    font-size: 11px;
    line-height: 1.3;
}

.rt-cart-options dt::after { content: ":"; }
.rt-cart-options dd { margin: 0; color: var(--rt-commerce-ink); font-weight: 750; }

.rt-cart-item-price {
    min-width: 120px;
    text-align: right;
}

.rt-cart-item-price > * { display: block; }

.rt-cart-item-price span,
.rt-cart-item-price small {
    color: var(--rt-commerce-muted);
    font-size: 11px;
}

.rt-cart-item-price strong {
    margin: 3px 0;
    color: var(--rt-commerce-ink);
    font-size: 1.3rem;
    font-weight: 850;
    letter-spacing: -.03em;
}

.rt-cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.rt-cart-quantity {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--rt-commerce-line);
    border-radius: 10px;
}

.rt-commerce-page .rt-cart-quantity-button {
    width: 36px !important;
    min-width: 36px;
    min-height: 36px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--rt-commerce-ink);
    background: #f3f5f3;
    font-size: 18px;
}

.rt-commerce-page .rt-cart-quantity-input {
    width: 44px !important;
    margin: 0 !important;
}

.rt-commerce-page .rt-cart-quantity-value {
    width: 44px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-width: 0 1px !important;
    border-style: solid !important;
    border-color: var(--rt-commerce-line) !important;
    border-radius: 0 !important;
    text-align: center;
    box-shadow: none !important;
}

.rt-cart-edit-link,
.rt-commerce-page .rt-cart-remove-button {
    width: auto !important;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.rt-cart-edit-link {
    border: 1px solid var(--rt-commerce-line);
    color: var(--rt-commerce-ink);
    background: #fff;
}

.rt-cart-edit-link:hover {
    border-color: #abb6af;
    background: #f4f6f4;
}

.rt-cart-edit-link svg {
    width: 14px;
    height: 14px;
}

.rt-commerce-page .rt-cart-remove-button {
    border: 1px solid #f0c5c1 !important;
    color: #963d36 !important;
    background: #fff5f4 !important;
}

.rt-commerce-page .rt-cart-remove-button:hover {
    border-color: #e2aaa5 !important;
    background: #ffebe9 !important;
}

.rt-cart-coupon {
    padding: 18px 0;
    border-bottom: 1px solid var(--rt-commerce-line);
}

.rt-cart-coupon-label {
    display: block;
    margin-bottom: 7px;
    color: #37403b;
    font-size: 12px;
    font-weight: 750;
}

.rt-cart-coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.rt-commerce-page .rt-cart-coupon-input {
    min-width: 0;
    margin: 0 !important;
}

.rt-commerce-page .rt-cart-coupon-input input {
    min-height: 42px;
    border-radius: 10px;
}

.rt-commerce-page .rt-cart-coupon-button,
.rt-commerce-page .rt-cart-coupon-remove {
    width: auto !important;
    min-height: 42px;
    padding: 9px 13px !important;
    border-radius: 10px !important;
    font-size: 12px;
}

.rt-cart-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rt-cart-coupon-applied span,
.rt-cart-coupon-applied strong { display: block; }
.rt-cart-coupon-applied span { color: var(--rt-commerce-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.rt-cart-coupon-applied strong { margin-top: 2px; color: var(--rt-commerce-green-dark); font-size: 13px; }

.rt-cart-tos {
    margin: 0 0 18px;
    padding: 12px;
    border: 1px solid var(--rt-commerce-line);
    border-radius: 11px;
    background: #f8f9f8;
}

.rt-commerce-page .rt-cart-tos label {
    color: var(--rt-commerce-copy);
    font-size: 11px;
    line-height: 1.45;
}

.rt-commerce-page .rt-cart-tos a {
    color: var(--rt-commerce-green-dark);
    font-weight: 750;
    text-underline-offset: 2px;
}

.rt-cart-empty {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 68px);
    border-radius: 28px;
    text-align: center;
}

.rt-cart-empty-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 21px;
    color: #041109;
    background: var(--rt-commerce-green);
}

.rt-cart-empty-icon svg { width: 28px; height: 28px; }
.rt-cart-empty h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.rt-cart-empty p { margin: 10px auto 24px; color: var(--rt-commerce-copy); }
.rt-cart-empty .rt-commerce-link-button { width: auto; min-width: 190px; }

@media (max-width: 960px) {
    .rt-commerce-grid,
    .rt-cart-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rt-commerce-summary {
        position: static;
    }
}

@media (max-width: 760px) {
    .rt-commerce-page {
        padding: 18px 12px 44px;
    }

    .rt-commerce-hero {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        padding: 24px 20px;
        border-radius: 22px;
    }

    .rt-commerce-hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.4rem);
    }

    .rt-commerce-hero-trust {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rt-commerce-hero-trust > span {
        align-items: flex-start;
        flex-direction: column;
    }

    .rt-cart-count {
        min-width: 0;
    }

    .rt-commerce-form-card,
    .rt-commerce-summary {
        padding: 18px;
        border-radius: 18px;
    }

    .rt-cart-item {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .rt-cart-item-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 14px;
    }

    .rt-cart-item-price {
        grid-column: 2;
        min-width: 0;
        text-align: left;
    }
}

@media (max-width: 520px) {
    .rt-commerce-hero-trust {
        grid-template-columns: minmax(0, 1fr);
    }

    .rt-commerce-hero-trust > span {
        align-items: center;
        flex-direction: row;
    }

    .rt-commerce-product-head {
        align-items: flex-start;
    }

    .rt-commerce-product-image,
    .rt-commerce-product-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 14px;
    }

    .rt-commerce-field-block {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 8px;
    }

    .rt-commerce-field-step {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .rt-cart-item-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rt-cart-quantity,
    .rt-cart-edit-link,
    .rt-commerce-page .rt-cart-remove-button {
        width: 100% !important;
    }

    .rt-cart-quantity > * {
        flex: 1 1 0;
    }

    .rt-commerce-page .rt-cart-quantity-input,
    .rt-commerce-page .rt-cart-quantity-value {
        width: auto !important;
    }

    .rt-cart-coupon-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .rt-commerce-page .rt-cart-coupon-button {
        width: 100% !important;
    }

    .rt-commerce-summary-lines .rt-commerce-summary-total strong {
        font-size: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-commerce-page *,
    .rt-commerce-page *::before,
    .rt-commerce-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* RepairTicket subscription plan selection */
.rt-catalog-page {
    --rt-catalog-canvas: #edecec;
    --rt-catalog-surface: #ffffff;
    --rt-catalog-ink: #09090b;
    --rt-catalog-copy: #5b625e;
    --rt-catalog-muted: #7b827e;
    --rt-catalog-line: #d9dedb;
    --rt-catalog-green: #05c653;
    --rt-catalog-green-dark: #048d3c;
    min-height: 70vh;
    padding: 28px 20px 62px;
    color: var(--rt-catalog-ink);
    background:
        radial-gradient(circle at 8% 7%, rgba(5, 198, 83, .09), transparent 24%),
        var(--rt-catalog-canvas);
}

.rt-catalog-shell {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.rt-catalog-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr);
    gap: 38px;
    align-items: end;
    min-height: 230px;
    padding: clamp(30px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(5, 198, 83, .19);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 10%, rgba(5, 198, 83, .16), transparent 31%),
        linear-gradient(125deg, #f8fffa 0%, #edf9f1 58%, #e2f6e9 100%);
    box-shadow: 0 22px 58px rgba(9, 9, 11, .08);
}

.rt-catalog-hero::after {
    position: absolute;
    top: -145px;
    right: -40px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(5, 198, 83, .2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    box-shadow: 0 0 0 45px rgba(5, 198, 83, .035), 0 0 0 90px rgba(5, 198, 83, .022);
}

.rt-catalog-hero-copy,
.rt-catalog-assurances {
    position: relative;
    z-index: 1;
}

.rt-catalog-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #087436;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}

.rt-catalog-kicker > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rt-catalog-green);
    box-shadow: 0 0 0 5px rgba(5, 198, 83, .12);
}

.rt-catalog-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--rt-catalog-ink);
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    font-weight: 650;
    letter-spacing: -.055em;
    line-height: .98;
}

.rt-catalog-hero-copy > p:last-child {
    max-width: 690px;
    margin: 16px 0 0;
    color: var(--rt-catalog-copy);
    font-size: 14px;
    line-height: 1.6;
}

.rt-catalog-assurances {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rt-catalog-assurances li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #35413a;
    font-size: 12px;
    font-weight: 650;
}

.rt-catalog-assurances li > span {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    flex: 0 0 19px;
    border-radius: 50%;
    color: #063b1d;
    background: #bff0cf;
    font-size: 11px;
    font-weight: 800;
}

.rt-catalog-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 8px;
    border: 1px solid var(--rt-catalog-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .68);
}

.rt-catalog-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 13px;
    border-radius: 9px;
    color: var(--rt-catalog-copy);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
}

.rt-catalog-nav a:hover,
.rt-catalog-nav a.is-active {
    color: #062b17;
    background: #dff8e8;
}

.rt-catalog-children {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.rt-catalog-children > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 70px;
    padding: 14px;
    border: 1px solid var(--rt-catalog-line);
    border-radius: 14px;
    color: var(--rt-catalog-ink);
    background: #fff;
    text-decoration: none;
}

.rt-catalog-children img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}

.rt-catalog-children strong,
.rt-catalog-children small {
    display: block;
}

.rt-catalog-children strong { font-size: 13px; font-weight: 750; }
.rt-catalog-children small { margin-top: 2px; color: var(--rt-catalog-muted); font-size: 11px; }

.rt-catalog-products {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.rt-catalog-product {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--rt-catalog-line);
    border-radius: 26px;
    background: var(--rt-catalog-surface);
    box-shadow: 0 18px 48px rgba(9, 9, 11, .06);
}

.rt-catalog-product-head {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    gap: 30px;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--rt-catalog-line);
}

.rt-catalog-product-title {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.rt-catalog-product-title > img,
.rt-catalog-product-title > span {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 13px;
    object-fit: cover;
}

.rt-catalog-product-title > span {
    display: grid;
    place-items: center;
    color: #041109;
    background: var(--rt-catalog-green);
    font-size: 19px;
    font-weight: 800;
}

.rt-catalog-product-title p {
    margin: 0 0 3px;
    color: var(--rt-catalog-green-dark);
    font-size: 9.5px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rt-catalog-product-title h2 {
    margin: 0;
    color: var(--rt-catalog-ink);
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.rt-catalog-product-description {
    margin: 0;
    color: var(--rt-catalog-copy);
    font-size: 12.5px;
    line-height: 1.55;
}

.rt-catalog-product-description > :first-child { margin-top: 0; }
.rt-catalog-product-description > :last-child { margin-bottom: 0; }

.rt-catalog-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.rt-catalog-plan {
    position: relative;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #252a27;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(5, 198, 83, .12), transparent 34%),
        #111313;
}

.rt-catalog-plan.is-featured {
    border-color: rgba(5, 198, 83, .5);
    background:
        radial-gradient(circle at 100% 0%, rgba(5, 198, 83, .26), transparent 38%),
        linear-gradient(135deg, #101713 0%, #0c2918 100%);
}

.rt-catalog-plan-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.rt-catalog-plan-top p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
}

.rt-catalog-plan-top div > span {
    display: block;
    margin-top: 3px;
    color: #aeb7b1;
    font-size: 10.5px;
    line-height: 1.4;
}

.rt-catalog-save {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 7px;
    color: #041109;
    background: var(--rt-catalog-green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rt-catalog-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 21px 0 18px;
}

.rt-catalog-price strong {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 650;
    letter-spacing: -.05em;
    line-height: 1;
}

.rt-catalog-price span {
    color: #9fa8a2;
    font-size: 12px;
    font-weight: 600;
}

.rt-catalog-plan-details {
    display: grid;
    gap: 8px;
    margin: 0 0 21px;
    padding: 17px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    list-style: none;
}

.rt-catalog-plan-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d6dcd8;
    font-size: 11.5px;
    line-height: 1.4;
}

.rt-catalog-plan-details li > span {
    color: var(--rt-catalog-green);
    font-weight: 800;
}

.rt-catalog-plan-action,
.rt-catalog-plan-unavailable {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
}

.rt-catalog-plan-action {
    color: #041109;
    background: var(--rt-catalog-green);
    text-decoration: none;
}

.rt-catalog-plan-action:hover {
    color: #fff;
    background: var(--rt-catalog-green-dark);
}

.rt-catalog-plan-unavailable {
    color: #aeb7b1;
    background: rgba(255, 255, 255, .08);
}

.rt-catalog-empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px dashed var(--rt-catalog-line);
    border-radius: 16px;
    color: var(--rt-catalog-copy);
    text-align: center;
}

.rt-catalog-empty strong,
.rt-catalog-empty span { display: block; }
.rt-catalog-empty strong { color: var(--rt-catalog-ink); font-size: 14px; }
.rt-catalog-empty span { margin-top: 4px; font-size: 12px; }

@media (max-width: 860px) {
    .rt-catalog-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        min-height: 0;
    }

    .rt-catalog-assurances {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rt-catalog-product-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 680px) {
    .rt-catalog-page {
        padding: 18px 12px 44px;
    }

    .rt-catalog-hero {
        padding: 25px 21px;
        border-radius: 22px;
    }

    .rt-catalog-hero h1 {
        font-size: clamp(1.9rem, 9vw, 2.5rem);
    }

    .rt-catalog-hero-copy > p:last-child {
        margin-top: 12px;
        font-size: 13px;
    }

    .rt-catalog-assurances {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    .rt-catalog-children,
    .rt-catalog-plan-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rt-catalog-product {
        padding: 18px;
        border-radius: 20px;
    }

    .rt-catalog-product-head {
        padding-bottom: 17px;
    }

    .rt-catalog-plan-grid {
        margin-top: 17px;
    }

    .rt-catalog-plan {
        padding: 20px;
        border-radius: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-catalog-page *,
    .rt-catalog-page *::before,
    .rt-catalog-page *::after {
        transition-duration: .01ms !important;
    }
}
