/* The account pages: sign-in, overview, licenses, devices, profile, the pages of an app link (/connect/) and the
   sign-out window. A file of its own, loaded wherever the full style.css is (functions.php): on the networks that
   cut this site every file comes on its own connection, and style.css with these rules had grown past what one
   connection delivers (24.9 KB on the wire, budget 24 KB, 2026-11-21). The order is style.css, this file, pay.css. */

/* Account sign-in landing page */
.sr-account-auth-main {
    padding: 0 !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(44,154,86,.09), transparent 27%),
        radial-gradient(circle at 84% 18%, rgba(37,99,235,.08), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
}
.sr-account-auth-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 78px);
    padding: 76px 0 92px;
}
.sr-account-auth-hero::before,
.sr-account-auth-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.sr-account-auth-hero::before {
    width: 420px;
    height: 420px;
    top: -245px;
    right: -100px;
    border: 1px solid rgba(37,99,235,.10);
    box-shadow: 0 0 0 52px rgba(37,99,235,.025), 0 0 0 104px rgba(37,99,235,.018);
}
.sr-account-auth-hero::after {
    width: 300px;
    height: 300px;
    bottom: -190px;
    left: -110px;
    border: 1px solid rgba(44,154,86,.11);
    box-shadow: 0 0 0 42px rgba(44,154,86,.025);
}
.sr-account-auth-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.04fr) minmax(420px,.78fr);
    gap: clamp(48px,7vw,98px);
    align-items: center;
}
.sr-account-auth-copy {
    max-width: 650px;
}
.sr-account-auth-copy h1 {
    max-width: 650px;
    margin: 0;
    color: var(--sr-navy);
    font-size: clamp(46px,5.2vw,70px);
    line-height: 1.01;
    letter-spacing: -.055em;
}
.sr-account-auth-lead {
    max-width: 620px;
    margin: 24px 0 0;
    color: #53677e;
    font-size: 18px;
    line-height: 1.62;
}
.sr-account-auth-benefits {
    display: grid;
    gap: 14px;
    margin-top: 34px;
}
.sr-account-auth-benefits > div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
    padding: 15px 16px;
    border: 1px solid rgba(214,225,235,.84);
    border-radius: 15px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 8px 24px rgba(20,45,73,.035);
    backdrop-filter: blur(8px);
}
.sr-account-auth-benefits strong {
    display: block;
    color: var(--sr-navy);
    font-size: 15px;
    line-height: 1.35;
}
.sr-account-auth-benefits p {
    margin: 3px 0 0;
    color: var(--sr-muted);
    font-size: 13px;
    line-height: 1.48;
}
.sr-account-auth-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf8f1;
    color: var(--sr-accent-dark);
    font-size: 20px;
    font-weight: 900;
}
.sr-account-auth-network {
    margin-top: 26px;
    opacity: .66;
}
.sr-account-auth-network svg {
    display: block;
    width: min(100%,560px);
    height: auto;
    overflow: visible;
}
.sr-account-auth-network path {
    fill: none;
    stroke: #9ab8d3;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 6 8;
}
.sr-account-auth-network path:first-child { stroke: #69b47f; }
.sr-account-auth-network circle {
    fill: var(--sr-navy);
    stroke: white;
    stroke-width: 4;
}
.sr-account-auth-network circle:nth-of-type(2n) { fill: var(--sr-accent); }
.sr-account-auth-card-wrap {
    display: flex;
    justify-content: flex-end;
}
.sr-account-auth-card {
    width: min(100%,500px);
    padding: 30px;
    border: 1px solid #dce6ef;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 26px 70px rgba(20,45,73,.14);
}
.sr-account-auth-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e7edf3;
}
.sr-account-auth-card-head > div {
    display: grid;
    gap: 1px;
}
.sr-account-auth-card-head span {
    color: var(--sr-navy);
    font-size: 13px;
    font-weight: 850;
}
.sr-account-auth-card-head small {
    color: var(--sr-muted);
    font-size: 12px;
}
.sr-account-auth-lock {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf8f1;
    color: var(--sr-accent-dark);
}
.sr-account-auth-lock svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sr-account-auth-card .sr-auth-panel {
    max-width: none;
    background: transparent;
}
.sr-account-auth-card .sr-auth-panel h2 {
    margin: 0 0 9px;
    color: var(--sr-navy);
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.sr-account-auth-card .sr-auth-panel > p {
    margin: 0;
    color: var(--sr-muted);
    font-size: 14px;
    line-height: 1.56;
}
.sr-account-auth-card .sr-auth-form {
    margin-top: 18px;
}
.sr-account-auth-card .sr-auth-form > input[type="hidden"] {
    display: none !important;
}
.sr-account-auth-card .sr-auth-field {
    display: grid;
    gap: 7px;
}
.sr-account-auth-card .sr-auth-form label {
    margin: 0;
    color: #21364d;
    font-size: 13px;
    font-weight: 800;
}
.sr-account-auth-card .sr-auth-form input:not([type="hidden"]) {
    width: 100%;
    min-height: 54px;
    padding: 0 15px;
    border-color: #cbd8e4;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.2;
}
.sr-account-auth-card .sr-auth-form .sr-button {
    appearance: none;
    display: flex;
    width: 100%;
    height: 52px;
    min-height: 52px;
    margin-top: 16px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 15px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
}
.sr-account-auth-card .sr-auth-form .sr-button-label,
.sr-auth-card .sr-auth-form .sr-button-label {
    display: block;
    line-height: 1;
    transform: translateY(-1px);
}
.sr-account-auth-card .sr-auth-form .sr-button-primary {
    box-shadow: 0 10px 24px rgba(13,39,70,.16);
}
.sr-account-auth-card .sr-auth-back {
    margin-top: 16px;
}
.sr-account-auth-note {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e7edf3;
    color: #718196;
    font-size: 12px;
    line-height: 1.5;
}

/* Keep the Connect handoff card aligned with the improved auth controls. */
.sr-auth-card .sr-auth-form .sr-button {
    appearance: none;
    display: flex;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

@media (max-width: 980px) {
    .sr-account-auth-hero { padding: 54px 0 74px; }
    .sr-account-auth-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }
    .sr-account-auth-copy { max-width: 760px; }
    .sr-account-auth-copy h1 { max-width: 760px; }
    .sr-account-auth-card-wrap { justify-content: flex-start; }
    .sr-account-auth-card { width: min(100%,620px); }
    .sr-account-auth-network { display: none; }
}
@media (max-width: 620px) {
    .sr-account-auth-hero { padding: 38px 0 54px; }
    .sr-account-auth-copy h1 { font-size: clamp(38px,12vw,50px); }
    .sr-account-auth-lead { font-size: 16px; }
    .sr-account-auth-benefits > div { grid-template-columns: 38px 1fr; padding: 13px; }
    .sr-account-auth-icon { width: 38px; height: 38px; }
    .sr-account-auth-card { padding: 22px; border-radius: 19px; }
    .sr-account-auth-card .sr-auth-panel h2 { font-size: 26px; }
}


/* Logged-in account dashboard 0.5.4 ------------------------------------- */
.sr-account-app {
    min-height: calc(100vh - 76px);
    padding: 48px 0 78px;
    background:
        radial-gradient(circle at 4% 12%, rgba(43,154,86,.075), transparent 27%),
        radial-gradient(circle at 96% 4%, rgba(59,130,246,.08), transparent 26%),
        #f5f8fb;
}
.sr-account-app-container {
    width: min(calc(100% - 36px), 1240px);
}
.sr-account-app .woocommerce {
    width: 100%;
    margin: 0;
}
.sr-account-shell {
    display: grid;
    grid-template-columns: 272px minmax(0,1fr);
    gap: 28px;
    align-items: start;
}
.sr-account-sidebar {
    position: sticky;
    top: 96px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(203,214,225,.85);
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 18px 46px rgba(18,42,68,.075);
    backdrop-filter: blur(12px);
}
.sr-account-sidebar-profile {
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    padding: 2px 2px 16px;
}
.sr-account-sidebar-avatar {
    display: inline-flex;
    overflow: hidden;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: white;
    background: linear-gradient(145deg,#0d2b4d,#17476f);
    font-size: 16px;
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(13,43,77,.16);
}
.sr-account-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sr-account-sidebar-profile small,
.sr-account-sidebar-profile strong {
    display: block;
    min-width: 0;
}
.sr-account-sidebar-profile small {
    margin-bottom: 3px;
    color: var(--sr-muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.sr-account-sidebar-profile strong {
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* The name shortens itself so that the country flag after it stays visible. */
.sr-account-sidebar-profile strong {
    display: flex;
    align-items: center;
    gap: 7px;
}
.sr-account-sidebar-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sr-account-sidebar-flag {
    flex: none;
    width: 20px;
    height: 15px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
    object-fit: cover;
}
.sr-account-sidebar-email {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: var(--sr-muted);
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sr-account-app .woocommerce-MyAccount-navigation {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0;
}
.sr-account-app .woocommerce-MyAccount-navigation ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.sr-account-app .woocommerce-MyAccount-navigation li {
    margin: 0;
}
.sr-account-app .woocommerce-MyAccount-navigation a {
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 18px;
    gap: 9px;
    align-items: center;
    min-height: 46px;
    padding: 6px 9px;
    border-radius: 11px;
    color: #27445f;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease,color .18s ease,transform .18s ease;
}
.sr-account-app .woocommerce-MyAccount-navigation a:hover {
    color: var(--sr-navy);
    background: #f1f6fa;
    transform: translateX(1px);
}
.sr-account-app .woocommerce-MyAccount-navigation .is-active > a {
    color: white;
    background: linear-gradient(135deg,#102f52,#163f67);
    box-shadow: 0 8px 20px rgba(16,47,82,.16);
}
.sr-account-nav-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #55718b;
    background: #f0f5f9;
}
.sr-account-nav-icon svg,
.sr-account-nav-arrow {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sr-account-nav-arrow {
    width: 14px;
    height: 14px;
    color: #9aabbb;
}
.sr-account-app .woocommerce-MyAccount-navigation .is-active .sr-account-nav-icon {
    color: white;
    background: rgba(255,255,255,.13);
}
.sr-account-app .woocommerce-MyAccount-navigation .is-active .sr-account-nav-arrow {
    color: rgba(255,255,255,.65);
}
.sr-account-sidebar-cta {
    margin-top: 19px;
    padding: 16px;
    border: 1px solid #d7e4ee;
    border-radius: 15px;
    background: linear-gradient(145deg,#f7fbfe,#eef7f2);
}
.sr-account-sidebar-cta strong {
    display: block;
    font-size: 13px;
}
.sr-account-sidebar-cta p {
    margin: 6px 0 13px;
    color: var(--sr-muted);
    font-size: 11px;
    line-height: 1.55;
}
.sr-account-sidebar-cta .sr-button {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
}
.sr-account-app .woocommerce-MyAccount-content {
    min-width: 0;
    width: 100%;
}
.sr-dashboard-v2 {
    display: grid;
    gap: 22px;
}
.sr-dashboard-v2-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 4px 2px 2px;
}
.sr-dashboard-v2-head h1 {
    max-width: 680px;
    margin: 5px 0 0;
    color: var(--sr-navy);
    font-size: clamp(32px,4vw,48px);
    line-height: 1.02;
    letter-spacing: -.045em;
}
.sr-dashboard-v2-head p {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--sr-muted);
    font-size: 15px;
    line-height: 1.65;
}
.sr-dashboard-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-bottom: 2px;
}
.sr-dashboard-v2-actions .sr-button {
    min-height: 44px;
    padding-inline: 17px;
}
.sr-dashboard-v2-summary {
    display: grid;
    grid-template-columns: minmax(0,1.6fr) minmax(180px,.7fr) minmax(180px,.7fr);
    gap: 14px;
}
.sr-dashboard-service-card,
.sr-dashboard-metric-card,
.sr-dashboard-panel {
    border: 1px solid rgba(203,214,225,.88);
    background: white;
    box-shadow: 0 12px 34px rgba(18,42,68,.055);
}
.sr-dashboard-service-card {
    position: relative;
    overflow: hidden;
    min-height: 172px;
    padding: 22px 24px;
    border-color: rgba(22,62,101,.35);
    border-radius: 19px;
    color: white;
    background:
        radial-gradient(circle at 88% 12%,rgba(77,192,113,.24),transparent 30%),
        linear-gradient(140deg,#0e2c4d 0%,#123a61 62%,#17446e 100%);
}
.sr-dashboard-service-card::after {
    content: '';
    position: absolute;
    right: -32px;
    bottom: -56px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 28px rgba(255,255,255,.025),0 0 0 56px rgba(255,255,255,.018);
}
.sr-dashboard-service-card.sr-dashboard-service-plan-advanced {
    border-color: rgba(222,177,62,.72);
    color: var(--sr-navy);
    background:
        radial-gradient(circle at 88% 12%,rgba(222,177,62,.24),transparent 31%),
        linear-gradient(135deg,#fffaf0 0%,#fff4cb 58%,#ffefb8 100%);
    box-shadow: 0 16px 42px rgba(173,126,18,.12);
}
.sr-dashboard-service-card.sr-dashboard-service-plan-advanced::after {
    border-color: rgba(154,104,0,.11);
    box-shadow: 0 0 0 28px rgba(154,104,0,.035),0 0 0 56px rgba(154,104,0,.022);
}
.sr-dashboard-service-card.sr-dashboard-service-plan-advanced .sr-dashboard-kicker { color: #8b6d25; }
.sr-dashboard-service-card.sr-dashboard-service-plan-advanced > p { color: #755f32; }
.sr-dashboard-service-card.sr-dashboard-service-plan-advanced .sr-dashboard-service-foot {
    border-top-color: rgba(154,104,0,.16);
    color: #7b6538;
}
.sr-dashboard-service-card.sr-dashboard-service-plan-advanced .sr-dashboard-service-foot a { color: #7d5600; }
.sr-dashboard-service-card.sr-dashboard-service-plan-advanced .sr-plan-pill.sr-plan-advanced {
    color: #805600;
    background: rgba(222,177,62,.2);
    border-color: rgba(184,132,9,.35);
}
.sr-dashboard-service-card.sr-dashboard-service-plan-free {
    border-color: rgba(163,177,190,.5);
    color: var(--sr-navy);
    background: linear-gradient(140deg,#f7f9fb 0%,#edf2f6 100%);
}
.sr-dashboard-service-card.sr-dashboard-service-plan-free::after {
    border-color: rgba(89,108,125,.08);
    box-shadow: 0 0 0 28px rgba(89,108,125,.025),0 0 0 56px rgba(89,108,125,.018);
}
.sr-dashboard-service-card.sr-dashboard-service-plan-free .sr-dashboard-kicker,
.sr-dashboard-service-card.sr-dashboard-service-plan-free > p,
.sr-dashboard-service-card.sr-dashboard-service-plan-free .sr-dashboard-service-foot { color: #647789; }
.sr-dashboard-service-card.sr-dashboard-service-plan-free .sr-dashboard-service-foot { border-top-color: rgba(89,108,125,.12); }
.sr-dashboard-service-card.sr-dashboard-service-plan-free .sr-dashboard-service-foot a { color: #234e75; }
.sr-dashboard-service-top,
.sr-dashboard-service-foot {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.sr-dashboard-kicker {
    color: #bdd0df;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.sr-dashboard-service-card .sr-plan-pill {
    border-width: 1px;
    border-style: solid;
}
.sr-dashboard-service-card .sr-plan-pill.sr-plan-advanced {
    color: #ffe7a0;
    background: rgba(210,153,16,.2);
    border-color: rgba(241,194,81,.34);
}
.sr-dashboard-service-card .sr-plan-pill.sr-plan-basic {
    color: #d7eaff;
    background: rgba(72,139,204,.2);
    border-color: rgba(132,184,233,.3);
}
.sr-dashboard-service-card .sr-plan-pill.sr-plan-free {
    color: #d8e1e9;
    background: rgba(184,198,211,.13);
    border-color: rgba(209,220,230,.2);
}
.sr-dashboard-service-title {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    font-size: 30px;
    font-weight: 850;
    letter-spacing: -.035em;
}
.sr-dashboard-service-card > p {
    position: relative;
    z-index: 1;
    margin: 6px 0 22px;
    color: #c9d9e6;
    font-size: 13px;
}
.sr-dashboard-service-foot {
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #bcd0df;
    font-size: 11px;
}
.sr-dashboard-service-foot a {
    color: white;
    font-weight: 750;
    text-decoration: none;
}
.sr-dashboard-metric-card {
    display: flex;
    min-height: 172px;
    gap: 14px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 19px;
}
.sr-dashboard-metric-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #217b47;
    background: #edf8f0;
}
.sr-dashboard-metric-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sr-dashboard-metric-card > div > span,
.sr-dashboard-metric-card small {
    display: block;
    color: var(--sr-muted);
}
.sr-dashboard-metric-card > div > span {
    font-size: 12px;
    font-weight: 650;
}
.sr-dashboard-metric-card strong {
    display: block;
    margin: 9px 0 7px;
    color: var(--sr-navy);
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.035em;
}
.sr-dashboard-metric-card small {
    font-size: 11px;
    line-height: 1.45;
}
.sr-dashboard-status-active {
    color: #22834a !important;
    font-size: 23px !important;
}
.sr-dashboard-panel {
    overflow: hidden;
    border-radius: 19px;
}
.sr-dashboard-panel-head {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #e7edf2;
}
.sr-dashboard-panel-head h2 {
    margin: 0;
    color: var(--sr-navy);
    font-size: 20px;
    letter-spacing: -.02em;
}
.sr-dashboard-panel-head p {
    margin: 4px 0 0;
    color: var(--sr-muted);
    font-size: 12px;
}
.sr-dashboard-text-link {
    flex: 0 0 auto;
    color: #176a3b;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}
.sr-dashboard-license-list {
    display: grid;
}
.sr-dashboard-license-row {
    display: grid;
    grid-template-columns: minmax(220px,1.4fr) minmax(160px,.8fr) minmax(110px,.5fr) auto;
    gap: 18px;
    align-items: center;
    min-height: 78px;
    padding: 14px 20px;
    border-bottom: 1px solid #eef2f5;
}
.sr-dashboard-license-row:last-child {
    border-bottom: 0;
}
.sr-dashboard-license-main {
    display: grid;
    grid-template-columns: 11px minmax(0,1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}
.sr-dashboard-plan-mark {
    width: 8px;
    height: 38px;
    border-radius: 999px;
    background: var(--sr-plan-free-border);
}
.sr-dashboard-plan-mark.sr-dashboard-plan-advanced { background: var(--sr-plan-advanced-border); }
.sr-dashboard-plan-mark.sr-dashboard-plan-basic { background: var(--sr-plan-basic-border); }
.sr-dashboard-plan-mark.sr-dashboard-plan-free { background: var(--sr-plan-free-border); }
.sr-dashboard-license-name {
    display: flex;
    gap: 8px;
    align-items: center;
}
.sr-dashboard-license-name strong {
    color: var(--sr-navy);
    font-size: 15px;
}
.sr-dashboard-license-id {
    min-width: 0;
    margin-top: 4px;
}
.sr-dashboard-license-id .sr-copyable-id {
    color: #74889a;
}
.sr-dashboard-license-detail span,
.sr-dashboard-license-detail strong {
    display: block;
}
.sr-dashboard-license-detail span {
    margin-bottom: 3px;
    color: var(--sr-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .045em;
}
.sr-dashboard-license-detail strong {
    color: #29455f;
    font-size: 12px;
}
.sr-dashboard-row-action {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    justify-self: end;
    color: #234e75;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}
.sr-dashboard-row-action svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sr-dashboard-empty-inline {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    color: var(--sr-muted);
    font-size: 13px;
}
.sr-dashboard-empty-inline a {
    color: #176a3b;
    font-weight: 800;
    text-decoration: none;
}
/* Expired and revoked licenses under the current ones, closed by default (overview and licenses pages). */
.sr-inactive-licenses > summary {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    color: var(--sr-navy);
    font-size: 14px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}
.sr-inactive-licenses > summary::-webkit-details-marker {
    display: none;
}
.sr-inactive-licenses > summary:hover {
    color: #234e75;
}
.sr-inactive-licenses > summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .18);
    outline-offset: -3px;
}
.sr-inactive-licenses > summary svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .15s ease;
}
.sr-inactive-licenses[open] > summary svg {
    transform: rotate(180deg);
}
.sr-dashboard-inactive-licenses {
    border-top: 1px solid #e7edf2;
}
.sr-dashboard-inactive-licenses > summary {
    padding: 16px 22px;
}
.sr-dashboard-inactive-licenses[open] > summary {
    border-bottom: 1px solid #eef2f5;
}
.sr-license-page-inactive-licenses {
    scroll-margin-top: 108px; /* the overview's "Renew" lands here, below the sticky header */
}
.sr-license-page-inactive-licenses > summary {
    padding: 16px 22px;
    border: 1px solid var(--sr-border);
    border-radius: 16px;
    background: white;
}
.sr-license-page-inactive-licenses > .sr-license-list {
    margin-top: 18px;
}
.sr-dashboard-device-table {
    width: 100%;
}
.sr-dashboard-device-header,
.sr-dashboard-device-row {
    display: grid;
    grid-template-columns: minmax(250px,1.25fr) minmax(110px,.5fr) minmax(140px,.62fr) minmax(210px,.88fr) 28px;
    gap: 18px;
    align-items: center;
}
.sr-dashboard-device-header {
    padding: 11px 20px;
    color: #8091a1;
    background: #f8fafc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}
.sr-dashboard-device-row {
    min-height: 76px;
    padding: 13px 20px;
    border-top: 1px solid #eef2f5;
}
.sr-dashboard-device-header + .sr-dashboard-device-row {
    border-top: 0;
}
.sr-dashboard-device-name {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 11px;
    align-items: center;
    min-width: 0;
}
.sr-dashboard-device-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #315b7d;
    background: #eef4f8;
}
.sr-dashboard-device-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sr-dashboard-device-name strong {
    display: block;
    overflow: hidden;
    color: var(--sr-navy);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sr-dashboard-device-name small {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: var(--sr-muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sr-dashboard-plan-badge {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid var(--sr-plan-free-border);
    border-radius: 999px;
    color: var(--sr-plan-free);
    background: var(--sr-plan-free-bg);
    font-size: 10px;
    font-weight: 850;
}
.sr-dashboard-plan-badge.sr-dashboard-plan-advanced {
    color: var(--sr-plan-advanced);
    background: var(--sr-plan-advanced-bg);
    border-color: var(--sr-plan-advanced-border);
}
.sr-dashboard-plan-badge.sr-dashboard-plan-basic {
    color: var(--sr-plan-basic);
    background: var(--sr-plan-basic-bg);
    border-color: var(--sr-plan-basic-border);
}
.sr-dashboard-plan-badge.sr-dashboard-plan-free {
    color: var(--sr-plan-free);
    background: var(--sr-plan-free-bg);
    border-color: var(--sr-plan-free-border);
}
.sr-dashboard-device-last {
    color: #37526b;
    font-size: 11px;
    font-weight: 650;
}
.sr-dashboard-device-row .sr-copyable-id {
    flex-wrap: nowrap;
    color: #5e7183;
    white-space: nowrap;
}
.sr-dashboard-device-row .sr-copyable-id code {
    padding: 4px 7px;
    border-radius: 7px;
    overflow-wrap: normal;
    white-space: nowrap;
    background: #f3f6f8;
}
.sr-dashboard-free-label {
    color: #6c7e8e;
    font-size: 11px;
}
.sr-dashboard-device-actions {
    display: flex;
    justify-content: flex-end;
}
.sr-dashboard-device-remove {
    display: inline-flex;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    appearance: none;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--sr-danger);
    cursor: pointer;
    opacity: 0;
    transition: opacity .12s ease, background .12s ease;
}
.sr-dashboard-device-row:hover .sr-dashboard-device-remove,
.sr-dashboard-device-remove:focus-visible {
    opacity: 1;
}
.sr-dashboard-device-remove:hover {
    background: #fdecea;
}
.sr-dashboard-device-remove svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
.sr-account-app .sr-license-status {
    padding: 4px 7px;
    font-size: 9px;
    letter-spacing: .025em;
    text-transform: none;
}

@media (max-width: 1080px) {
    .sr-account-shell { grid-template-columns: 230px minmax(0,1fr); gap: 20px; }
    .sr-dashboard-v2-summary { grid-template-columns: 1fr 1fr; }
    .sr-dashboard-service-card { grid-column: 1 / -1; }
    .sr-dashboard-license-row { grid-template-columns: minmax(200px,1fr) minmax(150px,.8fr) minmax(90px,.45fr) auto; gap: 12px; }
    .sr-dashboard-device-header,
    .sr-dashboard-device-row { grid-template-columns: minmax(210px,1.1fr) minmax(90px,.42fr) minmax(125px,.55fr) minmax(190px,.82fr) 28px; gap: 12px; }
}

@media (max-width: 820px) {
    .sr-account-app { padding: 28px 0 54px; }
    .sr-account-shell { grid-template-columns: 1fr; }
    .sr-account-sidebar { position: static; padding: 15px; }
    .sr-account-sidebar-profile { padding-bottom: 10px; }
    .sr-account-sidebar-cta { display: none; }
    .sr-account-app .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 2px; }
    .sr-account-app .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
    .sr-account-app .woocommerce-MyAccount-navigation a { grid-template-columns: 28px auto; min-height: 40px; padding: 5px 10px; }
    .sr-account-nav-icon { width: 28px; height: 28px; }
    .sr-account-nav-arrow { display: none; }
    .sr-dashboard-v2-actions { width: 100%; }
    .sr-dashboard-v2-actions .sr-button { flex: 1; }
}

@media (max-width: 680px) {
    .sr-account-app-container { width: min(calc(100% - 24px),1240px); }
    .sr-dashboard-v2-head h1 { font-size: 34px; }
    .sr-dashboard-v2-summary { grid-template-columns: 1fr; }
    .sr-dashboard-service-card { grid-column: auto; }
    .sr-dashboard-panel-head { align-items: flex-start; }
    .sr-dashboard-license-row { grid-template-columns: 1fr auto; gap: 12px; padding: 16px; }
    .sr-dashboard-license-detail { display: none; }
    .sr-dashboard-device-header { display: none; }
    .sr-dashboard-device-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 16px; }
    .sr-dashboard-device-row > [role="cell"]:not(.sr-dashboard-device-name) {
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        padding-left: 49px;
    }
    .sr-dashboard-device-row > [role="cell"]:not(.sr-dashboard-device-name)::before {
        content: attr(data-label);
        color: var(--sr-muted);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
    .sr-dashboard-device-actions { padding-left: 0 !important; }
    .sr-dashboard-device-actions::before { content: none !important; }
    .sr-dashboard-device-remove { opacity: 1; }
}

/* Google sign-in and account profile 0.7.5 ------------------------------ */
.sr-button-google {
    display: flex;
    width: 100%;
    min-height: 52px;
    margin-top: 18px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--sr-border);
    border-radius: 11px;
    background: white;
    color: var(--sr-text);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.sr-button-google:hover {
    border-color: var(--sr-blue);
}
.sr-google-mark {
    flex: none;
    width: 18px;
    height: 18px;
}
.sr-auth-divider {
    display: flex;
    align-items: center;
    margin: 18px 0;
    color: var(--sr-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.sr-auth-divider::before,
.sr-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--sr-border);
}
.sr-auth-divider span {
    padding: 0 12px;
}

.sr-profile-page { display: grid; gap: 22px; }
.sr-profile-avatar-panel,
.sr-profile-details-panel,
.sr-profile-delete-panel {
    padding: 20px 22px 26px;
}
/* .sr-auth-form/.sr-auth-field only get spacing before their button and
   between stacked fields inside .sr-account-auth-card - the profile page
   reuses those same classes outside that card, so it needs its own. */
.sr-profile-details-panel .sr-auth-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}
/* Grid items stretch to fill their track by default - fine for the text
   fields (already full-width), but it also stretched the Save button to
   the full panel width since buttons have no intrinsic stretch-resisting
   size the way an <input> would. */
.sr-profile-details-panel .sr-auth-form .sr-button {
    justify-self: start;
}
.sr-button-danger { background: var(--sr-danger); border-color: var(--sr-danger); color: white; }
.sr-button-danger:hover { background: #912018; border-color: #912018; color: white; }
.sr-button-danger-outline { border-color: #f0c5c2; color: var(--sr-danger); }
.sr-button-danger-outline:hover { border-color: var(--sr-danger); color: var(--sr-danger); }
.sr-profile-delete-summary {
    display: grid;
    gap: 8px;
    margin: 16px 0 18px;
    padding: 0;
    list-style: none;
}
.sr-profile-delete-summary li {
    padding: 10px 13px;
    border: 1px solid var(--sr-border);
    border-radius: 10px;
    font-size: 14px;
}
.sr-profile-delete-warning {
    display: block;
    margin-top: 4px;
    color: var(--sr-danger);
    font-weight: 700;
}
.sr-profile-delete-panel .sr-auth-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 420px;
    margin-top: 0;
}
.sr-profile-delete-panel .sr-auth-field { grid-template-columns: minmax(0, 1fr); }
.sr-profile-delete-panel .sr-auth-form input:not([type="hidden"]) { width: 100%; min-width: 0; box-sizing: border-box; }
.sr-profile-delete-panel .sr-auth-form p { margin: 0; }
.sr-profile-delete-panel .sr-auth-form .sr-button { justify-self: start; }
.sr-profile-delete-form { margin: 0; }
.sr-profile-delete-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sr-profile-delete-actions form { margin: 0; }
.sr-profile-avatar-current {
    display: flex;
    margin-bottom: 16px;
}
.sr-profile-avatar-preview {
    border-radius: 999px;
    border: 1px solid var(--sr-border);
    object-fit: cover;
}
.sr-profile-avatar-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.sr-profile-avatar-presets form {
    margin: 0;
}
.sr-profile-avatar-option {
    display: flex;
    width: 56px;
    height: 56px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 999px;
    background: none;
    cursor: pointer;
}
.sr-profile-avatar-option:hover {
    border-color: var(--sr-blue);
}
.sr-profile-avatar-option img {
    border-radius: 999px;
}
.sr-profile-avatar-upload-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}
.sr-profile-avatar-upload-label {
    display: inline-flex;
    width: auto;
    min-height: 44px;
    padding: 0 18px;
    align-items: center;
    cursor: pointer;
}
.sr-profile-avatar-crop {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--sr-border);
    border-radius: 14px;
    background: #f5f8fb;
}
.sr-profile-avatar-crop[hidden] {
    display: none;
}
.sr-profile-avatar-crop p {
    margin: 0;
    color: var(--sr-muted);
    font-size: 12px;
}
.sr-profile-avatar-crop canvas {
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: white;
    cursor: grab;
    touch-action: none;
}
.sr-profile-avatar-crop-actions {
    display: flex;
    gap: 10px;
}

/* "Sign out" in the account menu warns by its colour, quieter than the red of deleting the account, and asks before it
   signs out (the window below; woocommerce/myaccount/navigation.php, assets/js/account.js). */
.sr-account-app .woocommerce-MyAccount-navigation-link--customer-logout a { color: #c4453b; }
.sr-account-app .woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: var(--sr-danger); }
.sr-account-app .woocommerce-MyAccount-navigation-link--customer-logout .sr-account-nav-icon { color: #c4453b; background: #fdf0ee; }
dialog.sr-confirm {
    width: min(420px, calc(100vw - 32px));
    padding: 28px;
    border: 1px solid var(--sr-border);
    border-radius: 20px;
    background: var(--sr-surface);
    color: var(--sr-text);
    box-shadow: 0 24px 70px rgba(13, 39, 70, .28);
}
dialog.sr-confirm::backdrop { background: rgba(13, 39, 70, .45); }
dialog.sr-confirm h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.02em; }
dialog.sr-confirm p { margin: 0 0 22px; color: var(--sr-muted); line-height: 1.5; }
.sr-confirm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
/* The focus as on the sign-in fields: a soft ring, not the browser's black one. */
dialog.sr-confirm .sr-button:focus-visible { outline: 3px solid rgba(37, 99, 235, .18); outline-offset: 0; border-color: var(--sr-blue); }
dialog.sr-confirm .sr-button-danger:focus-visible { outline-color: rgba(180, 35, 24, .25); border-color: var(--sr-danger); }
