:root {
    --sq-ink: #172033;
    --sq-muted: #647084;
    --sq-line: #dfe5ee;
    --sq-panel: #ffffff;
    --sq-canvas: #f4f6f9;
    --sq-brand: #3157d5;
    --sq-brand-dark: #203ca0;
    --sq-success: #17835d;
    --sq-warning: #9a6518;
    --sq-danger: #b43a46;
    --sq-shadow: 0 18px 54px rgba(23, 32, 51, 0.12);
    --sq-radius: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--sq-ink);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
}

button,
input,
select {
    font: inherit;
}

.sq-tab:focus-visible,
.sq-method-tab:focus-visible,
.sq-text-button:focus-visible,
.sq-primary-button:focus-visible,
.sq-secondary-button:focus-visible,
.sq-captcha-button:focus-visible,
.sq-link:focus-visible {
    outline: 3px solid rgba(49, 87, 213, 0.3);
    outline-offset: 2px;
}

.sq-auth-page {
    --sq-brand: #0c2748;
    --sq-brand-dark: #071c35;
    --sq-muted: #747871;
    --sq-line: #dedbd3;
    min-height: 100dvh;
    background-color: #f8f6f1;
    background-image: url("../imags/auth-rings-2022-2026.webp");
    background-position: left center;
    background-size: cover;
}

.sq-auth-topbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 clamp(32px, 4vw, 68px);
    color: #102946;
    background: rgba(250, 249, 246, 0.88);
    border-bottom: 1px solid rgba(87, 88, 80, 0.16);
}

.sq-auth-topbar .sq-brand-lockup {
    font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
    font-size: 19px;
    font-weight: 700;
}

.sq-auth-topbar .sq-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: none;
}

.sq-auth-topbar-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #77776f;
    font-size: 11px;
    letter-spacing: 0.16em;
}

.sq-auth-topbar-meta strong {
    color: #a57f49;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.sq-auth-shell {
    width: min(1440px, 100%);
    min-height: calc(100dvh - 84px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(450px, 520px);
    align-items: center;
    gap: clamp(46px, 5vw, 78px);
    padding: 48px clamp(42px, 5vw, 76px) 58px;
}

.sq-auth-story {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    max-width: 760px;
    padding: 36px 0 20px clamp(0px, 2vw, 30px);
    color: #102946;
    transform: translateY(-58px);
}

.sq-brand-lockup,
.sq-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sq-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(5, 14, 40, 0.22);
}

.sq-auth-kicker {
    margin: 22px 0 0;
    color: #7d807a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.sq-auth-story h1 {
    max-width: 670px;
    margin: 0;
    color: #0c2748;
    font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
    font-size: clamp(43px, 4.1vw, 58px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.sq-auth-story h1 span {
    display: block;
}

.sq-auth-heading-mark {
    margin-left: 0.1em;
    color: #bf1c27;
    font-size: 0.56em;
    font-weight: 400;
    vertical-align: 0.14em;
}

.sq-auth-story p {
    max-width: 620px;
    margin: 24px 0 0;
    color: #666c68;
    font-size: 16px;
    line-height: 1.8;
}

.sq-history-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(72px, 1fr));
    gap: 0;
    max-width: 690px;
    padding: 0;
    margin: clamp(70px, 9vh, 104px) 0 0;
    border-top: 1px solid rgba(41, 53, 61, 0.42);
    list-style: none;
}

.sq-history-year {
    position: relative;
    display: grid;
    gap: 5px;
    padding-top: 22px;
    color: #59616a;
    font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
}

.sq-history-year i {
    position: absolute;
    top: -6px;
    left: 0;
    color: #173552;
    font-size: 11px;
    box-shadow: 0 0 0 6px #f8f6f1;
}

.sq-history-year strong {
    color: #173552;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.sq-history-year span {
    font-size: 14px;
}

.sq-history-year.is-current,
.sq-history-year.is-current strong,
.sq-history-year.is-current i {
    color: #a57f49;
}

.sq-auth-card {
    width: 100%;
    min-height: min(770px, calc(100dvh - 150px));
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 150px);
    padding: clamp(38px, 4.4vw, 58px) clamp(36px, 4vw, 50px) 34px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d3cfc4 transparent;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(69, 74, 72, 0.16);
    border-radius: 2px;
    box-shadow: 0 18px 50px rgba(35, 42, 49, 0.15);
    transform: translateY(28px);
}

.sq-auth-card h2 {
    margin: 0 0 7px;
    color: #102946;
    font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.sq-auth-card > p {
    margin: 0 0 30px;
    color: var(--sq-muted);
    font-size: 13px;
    line-height: 1.65;
}

.sq-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 0;
    margin-bottom: 22px;
    background: transparent;
    border-bottom: 1px solid var(--sq-line);
    border-radius: 0;
}

.sq-tab {
    position: relative;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--sq-muted);
    cursor: pointer;
    font-weight: 700;
    text-align: left;
}

.sq-tab.is-active {
    color: var(--sq-ink);
    background: transparent;
    box-shadow: none;
}

.sq-tab.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--sq-brand);
}

.sq-form-panel[hidden],
.sq-method-panel[hidden],
.sq-field[data-captcha-field][hidden] {
    display: none;
}

.sq-method-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 20px;
    border-bottom: 0;
}

.sq-method-tab {
    min-height: 34px;
    padding: 0 13px;
    color: var(--sq-muted);
    background: #f3f5f8;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
}

.sq-method-tab.is-active {
    color: #fff;
    background: #24395e;
    border-color: #24395e;
}

.sq-field {
    margin-bottom: 15px;
}

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

.sq-field label {
    display: block;
    margin-bottom: 6px;
    color: #344056;
    font-size: 13px;
    font-weight: 700;
}

.sq-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
}

.sq-label-row label {
    margin-bottom: 0;
}

.sq-text-button {
    padding: 0;
    color: var(--sq-brand);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 12px;
}

.sq-optional {
    color: var(--sq-muted);
    font-weight: 400;
}

.sq-input,
.sq-select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    color: var(--sq-ink);
    background: #fbfcfe;
    border: 1px solid #cbd4e2;
    border-radius: 9px;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.sq-input:focus,
.sq-select:focus {
    border-color: var(--sq-brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.12);
}

.sq-input::placeholder {
    color: #8a95a7;
}

.sq-input[readonly] {
    color: #536079;
    background: #f5f7fa;
}

.sq-captcha-row,
.sq-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
}

.sq-captcha-button {
    height: 48px;
    padding: 0;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid #cbd4e2;
    border-radius: 9px;
    cursor: pointer;
}

.sq-captcha-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.sq-send-code {
    min-height: 48px;
    padding: 0 12px;
    white-space: nowrap;
}

.sq-field-help {
    margin: 7px 0 0;
    color: var(--sq-muted);
    font-size: 12px;
    line-height: 1.55;
}

.sq-register-identity .sq-field {
    margin-bottom: 0;
}

.sq-register-help {
    margin: -2px 0 15px;
}

.sq-inline-status {
    min-height: 20px;
    margin: -2px 0 12px;
    color: var(--sq-muted);
    font-size: 12px;
    line-height: 1.5;
}

.sq-inline-status.is-error {
    color: var(--sq-danger);
}

.sq-inline-status.is-success {
    color: var(--sq-success);
}

.sq-primary-button:disabled,
.sq-secondary-button:disabled,
.sq-captcha-button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.sq-form-meta {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    margin: -3px 0 20px;
    font-size: 13px;
}

.sq-link {
    color: var(--sq-brand);
    text-decoration: none;
}

.sq-link:hover {
    text-decoration: underline;
}

.sq-primary-button,
.sq-secondary-button,
.sq-ghost-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 9px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}

.sq-primary-button {
    color: #fff;
    background: var(--sq-brand);
    border: 1px solid var(--sq-brand);
    box-shadow: 0 9px 20px rgba(49, 87, 213, 0.2);
}

.sq-primary-button:hover {
    background: var(--sq-brand-dark);
    border-color: var(--sq-brand-dark);
}

.sq-primary-button:active,
.sq-secondary-button:active {
    transform: translateY(1px);
}

.sq-secondary-button {
    color: var(--sq-ink);
    background: #fff;
    border: 1px solid #cbd4e2;
}

.sq-ghost-button {
    color: #536079;
    background: transparent;
    border: 1px solid transparent;
}

.sq-full {
    width: 100%;
}

.sq-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    color: #7f2732;
    background: #fff0f2;
    border: 1px solid #f3c5ca;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.55;
}

.sq-alert.is-success {
    color: #116245;
    background: #ecf8f3;
    border-color: #b9e2d2;
}

.sq-field-error {
    margin-top: 6px;
    color: var(--sq-danger);
    font-size: 12px;
}

.sq-auth-footnote {
    margin-top: auto;
    padding-top: 22px;
    color: #85867f;
    border-top: 1px solid #e5e1d9;
    text-align: center;
    font-size: 12px;
}

.sq-auth-page .sq-tabs {
    gap: 64px;
    margin-bottom: 28px;
}

.sq-auth-page .sq-tab {
    color: #797b76;
    text-align: center;
}

.sq-auth-page .sq-tab.is-active {
    color: #102946;
}

.sq-auth-page .sq-tab.is-active::after {
    background: #102946;
}

.sq-auth-page .sq-method-tabs {
    margin-bottom: 12px;
}

.sq-auth-page .sq-method-tab {
    min-height: 38px;
    padding: 0 17px;
    color: #71746f;
    background: #f5f3ee;
    border: 1px solid #e3e0d9;
    border-radius: 6px;
}

.sq-auth-page .sq-method-tab.is-active {
    color: #fff;
    background: #102946;
    border-color: #102946;
}

.sq-method-note {
    margin: 22px 0 0;
    color: #858781;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.sq-auth-page .sq-field {
    margin-bottom: 18px;
}

.sq-input-wrap {
    position: relative;
}

.sq-input-wrap > i {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 16px;
    color: #9a9d98;
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
}

.sq-input-wrap:focus-within > i {
    color: #9d7b4c;
}

.sq-input-wrap .sq-input {
    padding-left: 42px;
}

.sq-auth-page .sq-input,
.sq-auth-page .sq-select {
    height: 50px;
    color: #172b43;
    background: #fff;
    border-color: #d6d3cc;
    border-radius: 5px;
}

.sq-auth-page .sq-input:focus,
.sq-auth-page .sq-select:focus {
    border-color: #9d7b4c;
    box-shadow: 0 0 0 3px rgba(165, 127, 73, 0.13);
}

.sq-auth-page .sq-text-button,
.sq-auth-page .sq-link {
    color: #244e80;
}

.sq-auth-page .sq-primary-button {
    min-height: 52px;
    color: #fff;
    background: #102946;
    border-color: #102946;
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(16, 41, 70, 0.18);
}

.sq-auth-page .sq-primary-button:hover {
    background: #071c35;
    border-color: #071c35;
}

.sq-auth-page .sq-secondary-button {
    color: #102946;
    background: #fff;
    border-color: #d6d3cc;
    border-radius: 5px;
}

.sq-auth-page .sq-captcha-button {
    border-color: #d6d3cc;
    border-radius: 5px;
}

.sq-auth-page .sq-tab:focus-visible,
.sq-auth-page .sq-method-tab:focus-visible,
.sq-auth-page .sq-text-button:focus-visible,
.sq-auth-page .sq-primary-button:focus-visible,
.sq-auth-page .sq-secondary-button:focus-visible,
.sq-auth-page .sq-captcha-button:focus-visible,
.sq-auth-page .sq-link:focus-visible {
    outline-color: rgba(165, 127, 73, 0.42);
}

.sq-app-page,
.sq-admin-page {
    min-height: 100vh;
    background: var(--sq-canvas);
}

.sq-topbar {
    position: relative;
    z-index: 20;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 0 max(32px, calc((100vw - 1360px) / 2));
    color: #fff;
    background: #061a34;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sq-topbar .sq-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    box-shadow: none;
}

.sq-topbar-primary {
    display: flex;
    align-items: center;
    gap: 58px;
    min-width: 0;
}

.sq-topbar-brand {
    font-size: 19px;
    white-space: nowrap;
}

.sq-topbar-brand strong {
    margin-right: 5px;
    font-size: 23px;
}

.sq-topbar-current {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.sq-topbar-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sq-topbar-actions form {
    margin: 0;
}

.sq-topbar-date {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-right: 24px;
    color: #dce5f3;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 14px;
}

.sq-account-menu {
    position: relative;
}

.sq-account-menu summary {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: #fff;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 600;
}

.sq-account-menu summary::-webkit-details-marker {
    display: none;
}

.sq-account-menu summary:focus-visible {
    outline: 3px solid rgba(118, 161, 255, 0.55);
    outline-offset: 4px;
    border-radius: 6px;
}

.sq-account-chevron {
    font-size: 10px;
    transition: transform 0.16s ease;
}

.sq-account-menu[open] .sq-account-chevron {
    transform: rotate(180deg);
}

.sq-account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 178px;
    overflow: hidden;
    padding: 8px;
    color: var(--sq-ink);
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 9px;
    box-shadow: 0 16px 40px rgba(5, 18, 38, 0.16);
}

.sq-account-item {
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    color: #263248;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    font-size: 14px;
}

.sq-account-item:hover {
    color: #0d55cf;
    background: #f1f6ff;
}

.sq-account-item.is-muted {
    color: #7b8597;
    cursor: default;
}

.sq-account-item.is-muted:hover {
    color: #7b8597;
    background: transparent;
}

.sq-topbar > .sq-ghost-button,
.sq-topbar .sq-topbar-actions > .sq-ghost-button {
    color: #e8edf6;
}

.sq-page-shell {
    width: min(1360px, calc(100% - 64px));
    margin: 0 auto;
    padding: 38px 0 72px;
}

.sq-page-heading {
    margin-bottom: 38px;
}

.sq-page-heading h1 {
    margin: 0;
    color: #111b2e;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.sq-page-heading p {
    margin: 11px 0 0;
    color: var(--sq-muted);
    font-size: 14px;
    line-height: 1.7;
}

.sq-eyebrow {
    margin: 0 0 9px;
    color: var(--sq-brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.sq-club-section + .sq-club-section {
    margin-top: 42px;
}

.sq-section-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
}

.sq-section-accent {
    width: 5px;
    height: 26px;
    background: #1467e8;
    border-radius: 999px;
}

.sq-section-heading h2 {
    margin: 0;
    color: #121d30;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.sq-section-count {
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #42516a;
    background: #e8edf5;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.sq-club-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.sq-club-card {
    position: relative;
    min-height: 292px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    color: inherit;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.sq-club-card.is-active:hover {
    border-color: #9fbae8;
    box-shadow: 0 14px 32px rgba(17, 61, 128, 0.1);
    transform: translateY(-2px);
}

.sq-club-card-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.sq-club-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #1167e9;
    border-radius: 10px;
    font-size: 25px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.sq-club-title-line {
    min-width: 0;
}

.sq-club-card h3 {
    margin: 4px 0 8px;
    color: #142036;
    font-size: 18px;
    line-height: 1.4;
}

.sq-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    color: #5e697b;
    background: #e7ebf0;
    border: 1px solid #d7dde6;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
}

.sq-status.is-valid {
    color: #18734e;
    background: #e8f7ee;
    border-color: #ccebd9;
}

.sq-club-meta {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
}

.sq-club-meta div {
    display: grid;
    grid-template-columns: 108px 1fr;
    align-items: center;
    gap: 10px;
}

.sq-club-meta dt,
.sq-club-meta dd {
    margin: 0;
    color: #556176;
    font-size: 14px;
}

.sq-club-meta dt {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sq-club-meta dt i {
    width: 15px;
    color: #1769e8;
    text-align: center;
}

.sq-enter-button {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: auto;
    color: #fff;
    background: #1267e8;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.sq-enter-button i {
    position: absolute;
    right: 46px;
    font-size: 11px;
}

.sq-club-card.is-unavailable {
    min-height: 272px;
    color: #697588;
    background: #fbfcfd;
    border-color: #dce2ea;
}

.sq-club-card.is-unavailable .sq-club-icon {
    color: #eef1f5;
    background: #788597;
}

.sq-club-card.is-unavailable h3,
.sq-club-card.is-unavailable .sq-club-meta dt,
.sq-club-card.is-unavailable .sq-club-meta dd {
    color: #667286;
}

.sq-club-card.is-unavailable .sq-club-meta dt i {
    color: #788597;
}

.sq-locked-label {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    color: #697588;
    border-top: 1px solid #dde3eb;
    font-size: 14px;
    font-weight: 700;
}

.sq-section-empty {
    padding: 26px 28px;
    color: #667286;
    background: #fff;
    border: 1px dashed #cbd3df;
    border-radius: 10px;
    font-size: 14px;
}

.sq-admin-shell {
    width: min(1220px, calc(100% - 40px));
    margin: 0 auto;
    padding: 34px 0 80px;
}

.sq-admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.sq-admin-heading h1 {
    margin: 0;
    font-size: 28px;
}

.sq-admin-heading p {
    margin: 7px 0 0;
    color: var(--sq-muted);
}

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

.sq-stat {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 10px;
}

.sq-stat span {
    color: var(--sq-muted);
    font-size: 12px;
}

.sq-stat strong {
    display: block;
    margin-top: 5px;
    font-size: 30px;
}

.sq-admin-panel {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: var(--sq-radius);
    box-shadow: 0 8px 24px rgba(35, 48, 78, 0.05);
}

.sq-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 12px;
}

.sq-search-form .sq-field {
    margin: 0;
}

.sq-narrow-form {
    max-width: 520px;
}

.sq-admin-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--sq-line);
    font-size: 13px;
}

.sq-member-admin-shell {
    width: min(1480px, calc(100% - 40px));
}

.sq-member-list-panel {
    margin-top: 22px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(31, 48, 78, 0.05);
}

.sq-member-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px 26px;
    border-bottom: 1px solid #e4e9f0;
}

.sq-member-list-heading .sq-eyebrow {
    margin-bottom: 5px;
}

.sq-member-list-heading h2,
.sq-member-list-heading p {
    margin: 0;
}

.sq-member-list-heading h2 {
    color: #16243b;
    font-size: 22px;
}

.sq-member-list-heading p:not(.sq-eyebrow) {
    margin-top: 6px;
    color: #79859a;
    font-size: 13px;
}

.sq-member-table-wrap {
    overflow-x: auto;
}

.sq-member-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    table-layout: fixed;
}

.sq-member-table th,
.sq-member-table td {
    padding: 17px 16px;
    border-bottom: 1px solid #e8ecf2;
    text-align: left;
    vertical-align: middle;
}

.sq-member-table th {
    color: #758196;
    background: #f7f9fc;
    font-size: 12px;
    font-weight: 700;
}

.sq-member-table td {
    color: #445168;
    font-size: 13px;
}

.sq-member-table tbody tr:last-child td {
    border-bottom: 0;
}

.sq-member-table tbody tr:hover td {
    background: #fbfcff;
}

.sq-member-table th:nth-child(1) { width: 260px; }
.sq-member-table th:nth-child(2) { width: 410px; }
.sq-member-table th:nth-child(3) { width: 250px; }
.sq-member-table th:nth-child(4) { width: 105px; }
.sq-member-table th:nth-child(5) { width: 105px; }

.sq-member-identity {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sq-member-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #145bc7;
    background: #eaf2ff;
    border: 1px solid #d9e7ff;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 800;
}

.sq-member-identity > div {
    min-width: 0;
}

.sq-member-name-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 4px;
}

.sq-member-name-line strong {
    overflow: hidden;
    color: #1c2a42;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-member-identity span:not(.sq-member-avatar):not(.sq-account-state),
.sq-member-identity small {
    display: block;
    overflow: hidden;
    color: #69768a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-member-identity small {
    margin-top: 3px;
    color: #929cad;
    font-size: 11px;
}

.sq-account-state {
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    padding: 0 6px;
    color: #157650;
    background: #e9f7ef;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
}

.sq-account-state.is-disabled {
    color: #a34848;
    background: #fff0f0;
}

.sq-entitlement-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sq-entitlement-chip {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    color: #245b45;
    background: #edf8f2;
    border: 1px solid #d4eddf;
    border-radius: 6px;
    line-height: 1.2;
}

.sq-entitlement-chip strong {
    color: inherit;
    font-size: 11px;
}

.sq-entitlement-chip span,
.sq-entitlement-chip small {
    color: #577467;
    font-size: 10px;
}

.sq-entitlement-chip span::after {
    margin-left: 6px;
    color: #9bb2a7;
    content: "·";
}

.sq-entitlement-chip.is-expired {
    color: #7d5960;
    background: #faf2f3;
    border-color: #efdfe2;
}

.sq-entitlement-chip.is-expired span,
.sq-entitlement-chip.is-expired small {
    color: #96747a;
}

.sq-entitlement-chip.is-scheduled {
    color: #775a19;
    background: #fff8e8;
    border-color: #f1e2b7;
}

.sq-service-summary {
    display: grid;
    gap: 5px;
}

.sq-service-summary > span {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 9px;
}

.sq-service-summary strong {
    overflow: hidden;
    color: #435069;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-service-summary small {
    flex: 0 0 auto;
    color: #2d8060;
    font-size: 10px;
}

.sq-service-summary .is-expired small {
    color: #a36a72;
}

.sq-service-summary .is-none small,
.sq-service-summary .is-missing small,
.sq-service-summary .is-revoked small {
    color: #8d98aa;
}

.sq-trial-summary {
    display: grid;
    gap: 3px;
    margin: 3px 0;
    padding: 7px 8px;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    background: #f8faff;
}

.sq-trial-summary > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.sq-trial-summary p,
.sq-trial-summary em {
    margin: 0;
    color: #6d7890;
    font-size: 9px;
    font-style: normal;
    line-height: 1.5;
}

.sq-trial-summary.is-active small {
    color: #18795b;
}

.sq-trial-summary.is-exhausted small,
.sq-trial-summary.is-expired small {
    color: #b5525e;
}

.sq-table-empty {
    color: #9aa4b3;
    font-size: 12px;
}

.sq-download-count-link {
    display: inline-grid;
    gap: 1px;
    color: #1267e8;
    text-decoration: none;
}

.sq-download-count-link strong {
    font-size: 21px;
    line-height: 1;
}

.sq-download-count-link span {
    font-size: 11px;
}

.sq-row-action {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    color: #1267e8;
    background: #f1f6ff;
    border: 1px solid #dce9ff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.sq-row-action:hover {
    color: #fff;
    background: #1267e8;
    border-color: #1267e8;
}

.sq-admin-pagination {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 20px;
    border-top: 1px solid #e8ecf2;
}

.sq-admin-pagination a,
.sq-admin-pagination span {
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    color: #5e6a7f;
    border: 1px solid #dce2eb;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

.sq-admin-pagination a:hover,
.sq-admin-pagination a.is-current {
    color: #fff;
    background: #1267e8;
    border-color: #1267e8;
}

.sq-admin-pagination a.is-disabled {
    color: #b2bac6;
    background: #f7f8fa;
    cursor: default;
}

.sq-member-list-empty {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    color: #7e899b;
}

.sq-member-list-empty strong {
    color: #38465d;
    font-size: 16px;
}

.sq-member-list-empty span {
    font-size: 13px;
}

.sq-member-log-summary {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 10px;
}

.sq-member-log-summary > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.sq-member-log-summary span,
.sq-member-log-summary small {
    color: #778397;
    font-size: 12px;
}

.sq-member-log-summary strong {
    color: #1267e8;
    font-size: 28px;
}

.sq-member-log-entitlements > span {
    display: block;
    margin-bottom: 6px;
}

.sq-member-log-entitlements p {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
}

.sq-member-log-entitlements p span {
    padding: 5px 8px;
    color: #296249;
    background: #edf8f2;
    border-radius: 5px;
}

.sq-member-log-entitlements p span.is-muted {
    color: #8490a1;
    background: #f2f4f7;
}

.sq-member-log-summary > a {
    color: #1267e8;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.sq-download-table th:nth-child(1) { width: 38%; }
.sq-download-table th:nth-child(2) { width: 20%; }
.sq-download-table th:nth-child(3) { width: 27%; }
.sq-download-table th:nth-child(4) { width: 15%; }

.sq-download-table td small {
    display: block;
    margin-top: 4px;
    color: #8b96a8;
}

.sq-trace-state {
    display: inline-flex;
    padding: 5px 8px;
    color: #7a8597;
    background: #f1f3f6;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}

.sq-trace-state.is-ready {
    color: #187451;
    background: #e9f7ef;
}

.sq-download-count-link:focus-visible,
.sq-row-action:focus-visible,
.sq-admin-pagination a:focus-visible {
    outline: 3px solid rgba(49, 105, 232, 0.28);
    outline-offset: 2px;
}

.sq-edit-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.sq-sticky {
    position: sticky;
    top: 18px;
}

.sq-section {
    margin-bottom: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-radius: 10px;
}

.sq-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.sq-section-title h2 {
    margin: 0;
    font-size: 18px;
}

.sq-section-title p {
    margin: 4px 0 0;
    color: var(--sq-muted);
    font-size: 12px;
}

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

.sq-membership {
    padding: 18px;
    background: #f8f9fb;
    border: 1px solid var(--sq-line);
    border-left: 4px solid #8390a6;
    border-radius: 8px;
}

.sq-membership.is-enabled {
    background: #f3f7ff;
    border-left-color: var(--sq-brand);
}

.sq-membership-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.sq-membership-head strong {
    font-size: 14px;
}

.sq-mini-status {
    color: #6c7688;
    font-size: 11px;
    font-weight: 800;
}

.sq-membership.is-enabled .sq-mini-status {
    color: var(--sq-success);
}

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

.sq-service {
    padding: 18px;
    background: #f8f9fb;
    border: 1px solid var(--sq-line);
    border-radius: 8px;
}

.sq-quick-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.sq-date-button {
    min-height: 30px;
    padding: 0 9px;
    color: #44506a;
    background: #fff;
    border: 1px solid #cfd7e4;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
}

.sq-savebar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 0 0;
}

.sq-club-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 7px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.sq-club-switcher:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.navbar-end {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sq-admin-links-first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.sq-admin-links a {
    color: #47617f;
    text-decoration: none;
}

.sq-admin-links a:hover,
.sq-admin-links a.is-current {
    color: var(--sq-brand);
    font-weight: 800;
}

.sq-filter-grid {
    display: grid;
    grid-template-columns: minmax(190px, 1.35fr) minmax(190px, 1fr) repeat(2, minmax(145px, .7fr)) auto;
    align-items: end;
    gap: 12px;
}

.sq-filter-grid .sq-field {
    margin: 0;
}

.sq-filter-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sq-filter-actions .sq-primary-button,
.sq-filter-actions .sq-secondary-button {
    white-space: nowrap;
}

.sq-admin-log-table th:nth-child(1) { width: 92px; }
.sq-admin-log-table th:nth-child(2) { width: 250px; }
.sq-admin-log-table th:nth-child(3) { width: 130px; }
.sq-admin-log-table th:nth-child(4) { width: auto; }
.sq-admin-log-table th:nth-child(5) { width: 190px; }

.sq-log-id {
    color: #8290a4;
    font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
    font-size: 12px;
}

.sq-log-identity strong,
.sq-log-identity small {
    display: block;
}

.sq-log-identity strong {
    color: #25344d;
    font-size: 13px;
}

.sq-log-identity small {
    margin-top: 3px;
    color: #8a96a8;
    font-size: 11px;
}

.sq-log-filename {
    overflow-wrap: anywhere;
    color: #35435a;
    font-size: 13px;
}

.sq-trace-upload {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(230px, .75fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--sq-line);
}

.sq-trace-upload h2,
.sq-trace-upload p {
    margin: 0;
}

.sq-trace-upload h2 {
    margin-top: 9px;
    color: #17253d;
    font-size: 20px;
}

.sq-trace-upload p {
    margin-top: 7px;
    color: #758197;
    font-size: 12px;
}

.sq-file-picker {
    min-height: 74px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 13px 16px;
    background: #f7f9fd;
    border: 1px dashed #b9c7db;
    border-radius: 8px;
    cursor: pointer;
}

.sq-file-picker:hover {
    border-color: var(--sq-brand);
    background: #f2f6ff;
}

.sq-file-picker span {
    color: #1b5fc7;
    font-size: 13px;
    font-weight: 800;
}

.sq-file-picker small {
    overflow: hidden;
    margin-top: 5px;
    color: #7f8b9d;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.sq-trace-loading {
    grid-column: 1 / -1;
    color: #52617a !important;
}

.sq-trace-result {
    margin-top: 22px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--sq-line);
    border-left: 4px solid #8793a5;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(35, 48, 78, 0.05);
}

.sq-trace-result.is-success {
    border-left-color: #21855f;
}

.sq-trace-result-heading h2,
.sq-trace-result-heading p {
    margin: 0;
}

.sq-trace-result-heading h2 {
    margin-top: 10px;
    color: #17253d;
    font-size: 22px;
}

.sq-trace-result-heading p {
    margin-top: 7px;
    color: #748096;
    font-size: 13px;
}

.sq-trace-identity-grid,
.sq-trace-layer-grid {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.sq-trace-identity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sq-trace-layer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sq-trace-identity-grid > div,
.sq-trace-layer-grid > div {
    padding: 15px;
    background: #f7f9fc;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
}

.sq-trace-identity-grid span,
.sq-trace-layer-grid span {
    display: block;
    color: #7d899b;
    font-size: 11px;
}

.sq-trace-identity-grid strong,
.sq-trace-layer-grid strong {
    display: block;
    margin-top: 6px;
    color: #23324a;
    font-size: 16px;
}

.sq-trace-layer-grid strong {
    color: #1769df;
    font-size: 21px;
}

.sq-trace-log-panel {
    margin-top: 24px;
    box-shadow: none;
}

.sq-trace-fragments {
    margin-top: 18px;
    padding: 13px 15px;
    color: #765d22;
    background: #fff8e8;
    border: 1px solid #f0dfb0;
    border-radius: 7px;
    font-size: 12px;
}

@media (max-width: 1040px) {
    .sq-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sq-filter-actions {
        grid-column: 1 / -1;
    }

    .sq-trace-upload {
        grid-template-columns: 1fr 1fr;
    }

    .sq-trace-upload > div:first-child,
    .sq-trace-loading {
        grid-column: 1 / -1;
    }

    .sq-trace-layer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .sq-admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sq-filter-grid,
    .sq-trace-upload,
    .sq-trace-identity-grid,
    .sq-trace-layer-grid {
        grid-template-columns: 1fr;
    }

    .sq-filter-actions,
    .sq-trace-upload > div:first-child,
    .sq-trace-loading {
        grid-column: auto;
    }

    .sq-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .sq-filter-actions .sq-primary-button,
    .sq-filter-actions .sq-secondary-button,
    .sq-trace-upload .sq-primary-button {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .sq-auth-topbar {
        padding: 0 28px;
    }

    .sq-auth-shell {
        width: min(720px, 100%);
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 40px 28px 54px;
    }

    .sq-auth-story {
        min-height: auto;
        max-width: none;
        padding: 20px 12px 0;
        transform: none;
    }

    .sq-auth-card {
        min-height: 650px;
        max-height: none;
        max-width: 600px;
        justify-self: center;
        padding: 42px 40px 30px;
        border: 1px solid rgba(69, 74, 72, 0.16);
        border-radius: 2px;
        box-shadow: 0 16px 44px rgba(35, 42, 49, 0.13);
        transform: none;
    }

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

    .sq-topbar-primary {
        gap: 28px;
    }

    .sq-topbar-date {
        display: none;
    }

    .sq-edit-layout {
        grid-template-columns: 1fr;
    }

    .sq-sticky {
        position: static;
    }

    .sq-member-log-summary {
        grid-template-columns: 130px minmax(0, 1fr);
    }

    .sq-member-log-summary > a {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .sq-member-list-heading {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .sq-member-table {
        min-width: 0;
    }

    .sq-member-table thead {
        display: none;
    }

    .sq-member-table,
    .sq-member-table tbody,
    .sq-member-table tr,
    .sq-member-table td {
        display: block;
        width: 100%;
    }

    .sq-member-table tbody {
        padding: 10px 14px;
    }

    .sq-member-table tr {
        margin: 10px 0;
        padding: 4px 15px;
        border: 1px solid #e1e7ef;
        border-radius: 9px;
    }

    .sq-member-table td {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 12px;
        padding: 13px 0;
        border-bottom: 1px solid #edf0f4;
    }

    .sq-member-table td:last-child {
        border-bottom: 0;
    }

    .sq-member-table td::before {
        color: #8792a4;
        content: attr(data-label);
        font-size: 11px;
        font-weight: 700;
    }

    .sq-member-table tbody tr:hover td {
        background: transparent;
    }
}

@media (max-width: 620px) {
    .sq-page-shell,
    .sq-admin-shell {
        width: min(100% - 24px, 1180px);
    }

    .sq-auth-page {
        background-color: #f8f6f1;
        background-position: 34% top;
    }

    .sq-auth-topbar {
        min-height: 72px;
        padding: 0 18px;
        background: rgba(250, 249, 246, 0.94);
    }

    .sq-auth-topbar .sq-brand-lockup {
        gap: 9px;
        font-size: 16px;
    }

    .sq-auth-topbar .sq-brand-mark {
        width: 36px;
        height: 36px;
    }

    .sq-auth-topbar-meta {
        gap: 0;
    }

    .sq-auth-topbar-meta span {
        display: none;
    }

    .sq-auth-shell {
        width: 100%;
        gap: 26px;
        padding: 28px 12px 30px;
    }

    .sq-auth-story {
        padding: 18px 8px 0;
    }

    .sq-auth-kicker {
        margin: 20px 0 0;
        font-size: 10px;
        line-height: 1.7;
    }

    .sq-auth-story h1 {
        font-size: clamp(33px, 10vw, 42px);
    }

    .sq-auth-story p {
        margin-top: 16px;
        font-size: 14px;
    }

    .sq-history-timeline {
        display: none;
    }

    .sq-auth-card {
        min-height: auto;
        padding: 30px 20px 24px;
        border: 1px solid rgba(69, 74, 72, 0.14);
        box-shadow: 0 12px 34px rgba(35, 42, 49, 0.11);
    }

    .sq-auth-card h2 {
        font-size: 27px;
    }

    .sq-auth-card > p {
        margin-bottom: 20px;
    }

    .sq-field-row,
    .sq-club-grid,
    .sq-stat-grid,
    .sq-membership-grid,
    .sq-service-grid {
        grid-template-columns: 1fr;
    }

    .sq-topbar {
        min-height: 70px;
        padding: 0 14px;
    }

    .sq-topbar-primary {
        gap: 14px;
    }

    .sq-topbar-current {
        display: none;
    }

    .sq-topbar-brand {
        font-size: 14px;
    }

    .sq-topbar-brand strong {
        font-size: 17px;
    }

    .sq-topbar .sq-brand-mark {
        width: 30px;
        height: 30px;
    }

    .sq-account-menu summary span {
        display: none;
    }

    .sq-account-menu summary {
        gap: 6px;
    }

    .sq-account-dropdown {
        position: fixed;
        top: 62px;
        right: 12px;
    }

    .sq-member-list-panel {
        border-radius: 9px;
    }

    .sq-member-table tbody {
        padding: 7px;
    }

    .sq-member-table tr {
        padding: 3px 12px;
    }

    .sq-member-table td {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .sq-member-table td::before {
        margin-bottom: 1px;
    }

    .sq-member-log-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sq-member-log-summary {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sq-member-log-summary > a {
        grid-column: auto;
    }

    .sq-page-shell {
        padding-top: 28px;
    }

    .sq-page-heading {
        margin-bottom: 30px;
    }

    .sq-club-card {
        min-height: 260px;
        padding: 22px;
    }

    .sq-club-switcher {
        padding: 7px 8px;
    }

    .sq-switcher-label {
        font-size: 0;
    }

    .sq-switcher-label::after {
        content: "切换";
        font-size: 12px;
    }

    .top-nav .brand {
        gap: 0;
        padding: 4px;
        font-size: 0;
    }

    .top-nav .brand i {
        font-size: 18px;
    }

    .top-nav .user-btn {
        padding: 8px 5px;
    }

    .top-nav .user-btn span,
    .top-nav .user-btn .fa-chevron-down {
        display: none;
    }

    .sb-topnav .navbar-brand {
        width: auto;
        max-width: 170px;
        padding-right: 8px;
        font-size: 13px;
    }

    .sq-account {
        display: none;
    }

    .sq-page-heading,
    .sq-admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .sq-count {
        width: 100%;
    }

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

    .sq-help-strip {
        align-items: flex-start;
        flex-direction: column;
    }
}

.sq-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.sq-club-portal-page {
    overflow-x: hidden;
}

.sq-club-portal-topbar {
    position: sticky;
    top: 0;
    min-height: 94px;
}

.sq-club-portal-topbar .sq-topbar-brand {
    font-size: 21px;
}

.sq-club-portal-topbar .sq-topbar-brand strong {
    font-size: 28px;
}

.sq-club-portal-topbar .sq-topbar-date,
.sq-club-portal-topbar .sq-account-menu summary {
    font-size: 15px;
}

.sq-club-menu-toggle {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
}

.sq-club-menu-toggle:focus-visible,
.sq-club-portal-return:focus-visible,
.sq-club-nav-link:focus-visible,
.sq-club-primary-action:focus-visible,
.sq-managed-content-download:focus-visible,
.sq-club-recent-row:focus-visible,
.sq-club-content-actions a:focus-visible,
.sq-club-content-actions button:focus-visible {
    outline: 3px solid rgba(49, 105, 232, 0.32);
    outline-offset: 3px;
}

.sq-club-portal-return {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 15px;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.sq-club-portal-return:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

.sq-club-portal-shell {
    min-height: calc(100vh - 94px);
    display: grid;
    grid-template-columns: 322px minmax(0, 1fr);
    background: #fff;
}

.sq-club-portal-sidebar {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fbfcfe;
    border-right: 1px solid #e3e8f0;
}

.sq-club-portal-nav {
    flex: 1;
    padding: 38px 22px 48px;
}

.sq-club-nav-section {
    margin-top: 38px;
}

.sq-club-nav-section h2 {
    margin: 0 14px 13px;
    color: #8995a8;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.025em;
}

.sq-club-nav-link {
    position: relative;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 2px 0;
    padding: 0 14px;
    color: #4d5a70;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.45;
}

.sq-club-nav-link::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: -22px;
    width: 4px;
    background: transparent;
    border-radius: 0 999px 999px 0;
}

.sq-club-nav-link:hover {
    color: #125fda;
    background: #f2f6fc;
}

.sq-club-nav-link.is-active {
    color: #1267e8;
    background: #edf4ff;
    font-weight: 700;
}

.sq-club-nav-link.is-active::before {
    background: #1267e8;
}

.sq-club-nav-icon {
    width: 24px;
    flex: 0 0 24px;
    color: #66758b;
    text-align: center;
    font-size: 16px;
}

.sq-club-nav-link.is-active .sq-club-nav-icon {
    color: #1267e8;
}

.sq-club-nav-external {
    margin-left: auto;
    color: #9aa6b7;
    font-size: 10px;
}

.sq-club-nav-count {
    min-width: 24px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0 7px;
    color: #607088;
    background: #edf1f6;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.sq-club-nav-link.is-active .sq-club-nav-count {
    color: #1267e8;
    background: #dbe9ff;
}

.sq-club-portal-footer {
    display: grid;
    gap: 5px;
    padding: 25px 36px 31px;
    color: #718096;
    background: #f5f7fa;
    border-top: 1px solid #e3e8f0;
    font-size: 13px;
}

.sq-club-portal-footer strong {
    color: #536177;
    font-size: 14px;
}

.sq-club-mobile-account {
    display: none;
}

.sq-club-portal-main {
    min-width: 0;
    padding: 52px clamp(42px, 3.2vw, 56px) 76px;
    background: #fff;
}

.sq-club-overview {
    width: min(1080px, 100%);
    margin: 0 auto;
}

.sq-club-hero {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-bottom: 60px;
    border-bottom: 1px solid #e1e6ee;
}

.sq-club-hero-icon {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #1267e8;
    border-radius: 12px;
    font-size: 34px;
}

.sq-club-hero-copy {
    min-width: 0;
}

.sq-club-hero h1 {
    margin: 0;
    color: #101d33;
    font-size: clamp(32px, 3.4vw, 44px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.sq-club-membership-status {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    color: #657187;
    font-size: 15px;
}

.sq-club-status-valid {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: #16845c;
    background: #eaf8f1;
    border: 1px solid #c9ebda;
    border-radius: 7px;
    font-weight: 700;
}

.sq-club-introduction {
    padding: 42px 0 69px;
}

.sq-club-introduction p {
    max-width: 940px;
    margin: 0 0 8px;
    color: #5f6c82;
    font-size: 18px;
    line-height: 1.8;
}

.sq-club-category-grid {
    margin-bottom: 58px;
}

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

.sq-category-card {
    min-width: 0;
    min-height: 92px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    color: #1d2a40;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
}

.sq-category-card:hover {
    color: #1267e8;
    background: #f8faff;
    border-color: #a9c5ef;
    box-shadow: 0 10px 28px rgba(26, 69, 128, 0.08);
}

.sq-category-card-icon,
.sq-resource-card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1267e8;
    background: #edf4ff;
    border-radius: 9px;
    font-size: 18px;
}

.sq-category-card-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.sq-category-card-copy strong {
    font-size: 16px;
}

.sq-category-card-copy small {
    overflow: hidden;
    color: #7b8799;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-club-primary-action {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 25px;
    padding: 0 27px;
    color: #fff;
    background: #1267e8;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
}

.sq-club-primary-action:hover {
    background: #0d58c9;
}

.sq-managed-content {
    margin-bottom: 58px;
}

.sq-managed-content-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.sq-managed-content-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #1267e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.sq-managed-content-heading h2 {
    margin: 0;
    color: #152239;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.sq-managed-content-count {
    color: #6a778c;
    font-size: 13px;
}

.sq-managed-content-list {
    overflow: hidden;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
}

.sq-managed-content-row {
    min-height: 104px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #fff;
}

.sq-managed-content-row + .sq-managed-content-row {
    border-top: 1px solid #e8ecf2;
}

.sq-managed-content-row:hover {
    background: #f8faff;
}

.sq-managed-content-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1267e8;
    background: #edf4ff;
    border-radius: 9px;
    font-size: 18px;
}

.sq-managed-content-copy {
    min-width: 0;
}

.sq-managed-content-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.sq-managed-content-title-line h3 {
    margin: 0;
    color: #1b2940;
    font-size: 16px;
    line-height: 1.45;
}

.sq-managed-content-copy p {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 6px 0 0;
    color: #68758a;
    font-size: 13px;
}

.sq-managed-content-filename {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #929cad;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-managed-content-download {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    color: #fff;
    background: #1267e8;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.sq-managed-content-download:hover {
    color: #fff;
    background: #0d58c9;
}

.sq-club-category-panel {
    width: min(1080px, 100%);
    margin: 0 auto;
}

.sq-club-category-panel[hidden] {
    display: none !important;
}

.sq-category-back {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: #334258;
    background: #fff;
    border: 1px solid #d8e0ea;
    border-radius: 7px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.sq-category-back:hover {
    color: #1267e8;
    border-color: #a9c5ef;
}

.sq-resource-section {
    margin-top: 48px;
}

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

.sq-resource-card {
    min-height: 86px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 17px 19px;
    color: #1d2a40;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    text-decoration: none;
}

.sq-resource-card:hover {
    color: #1267e8;
    background: #f8faff;
    border-color: #a9c5ef;
}

.sq-resource-card > span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.sq-resource-card strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sq-resource-card small {
    color: #7b8799;
    font-size: 12px;
}

.sq-resource-card > i {
    color: #93a0b2;
    font-size: 12px;
}

.sq-category-empty {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    color: #6f7c90;
    background: #f8fafc;
    border: 1px dashed #cfd8e5;
    border-radius: 12px;
    text-align: center;
}

.sq-category-empty > i {
    margin-bottom: 18px;
    color: #9aabc1;
    font-size: 42px;
}

.sq-category-empty h2 {
    margin: 0 0 9px;
    color: #27364d;
    font-size: 21px;
}

.sq-category-empty p {
    margin: 0;
    font-size: 14px;
}

.sq-club-recent h2 {
    margin: 0 0 18px;
    color: #152239;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.sq-club-recent-list {
    border-top: 1px solid #dfe5ee;
    border-bottom: 1px solid #dfe5ee;
}

.sq-club-recent-head,
.sq-club-recent-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 136px;
    align-items: center;
    gap: 24px;
}

.sq-club-recent-head {
    min-height: 45px;
    padding: 0 14px;
    color: #7c889a;
    font-size: 13px;
}

.sq-club-recent-row {
    width: 100%;
    min-height: 70px;
    padding: 0 14px;
    color: #526076;
    background: transparent;
    border: 0;
    border-top: 1px solid #edf0f4;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
}

.sq-club-recent-row:hover {
    background: #f8faff;
}

.sq-club-recent-name {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #26344b;
    font-weight: 600;
}

.sq-club-recent-name i {
    width: 20px;
    flex: 0 0 20px;
    color: #1267e8;
    text-align: center;
}

.sq-club-recent-open {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: #1267e8;
    font-weight: 700;
}

.sq-club-content-toolbar {
    min-height: 72px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.sq-club-content-toolbar p,
.sq-club-content-toolbar h1 {
    margin: 0;
}

.sq-club-content-toolbar p {
    margin-bottom: 6px;
    color: #1267e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.sq-club-content-toolbar h1 {
    color: #142137;
    font-size: 30px;
    line-height: 1.25;
}

.sq-club-sidebar-backdrop {
    display: none;
}

@media (max-width: 1120px) {
    .sq-club-portal-shell {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .sq-club-portal-nav {
        padding-inline: 18px;
    }

    .sq-club-nav-link::before {
        left: -18px;
    }

    .sq-club-portal-main {
        padding-inline: 34px;
    }
}

@media (max-width: 900px) {
    .sq-club-menu-toggle {
        display: inline-flex;
    }

    .sq-club-portal-shell {
        display: block;
    }

    .sq-club-portal-sidebar {
        position: fixed;
        z-index: 45;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(320px, calc(100vw - 54px));
        overflow-y: auto;
        box-shadow: 18px 0 52px rgba(7, 25, 53, 0.18);
        transform: translateX(-105%);
        transition: transform 0.2s ease;
    }

    .is-club-menu-open .sq-club-portal-sidebar {
        transform: translateX(0);
    }

    .sq-club-sidebar-backdrop {
        position: fixed;
        z-index: 40;
        inset: 0;
        display: block;
        visibility: hidden;
        background: rgba(6, 26, 52, 0.42);
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .is-club-menu-open .sq-club-sidebar-backdrop {
        visibility: visible;
        opacity: 1;
    }

    .sq-club-portal-nav {
        padding-top: 28px;
    }

    .sq-club-portal-main {
        min-height: calc(100vh - 82px);
    }

    .sq-club-recent-head,
    .sq-club-recent-row {
        grid-template-columns: minmax(0, 1fr) 116px;
    }

    .sq-club-recent-head span:nth-child(2),
    .sq-club-recent-row > span:nth-child(2) {
        display: none;
    }
}

@media (max-width: 680px) {
    .sq-category-cards,
    .sq-resource-grid {
        grid-template-columns: 1fr;
    }

    .sq-category-card,
    .sq-resource-card {
        padding-inline: 15px;
    }
}

@media (max-width: 620px) {
    .sq-club-portal-topbar {
        min-height: 82px;
        padding-inline: 14px;
    }

    .sq-club-portal-topbar .sq-topbar-primary {
        gap: 10px;
    }

    .sq-club-portal-topbar .sq-topbar-brand {
        font-size: 15px;
    }

    .sq-club-portal-topbar .sq-topbar-brand strong {
        font-size: 19px;
    }

    .sq-club-portal-topbar .sq-brand-mark {
        width: 30px;
        height: 30px;
    }

    .sq-club-menu-toggle {
        width: 40px;
        flex: 0 0 40px;
    }

    .sq-club-portal-topbar .sq-topbar-actions {
        display: none;
    }

    .sq-club-mobile-account {
        display: grid;
        gap: 2px;
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid #dfe5ed;
    }

    .sq-club-mobile-identity,
    .sq-club-mobile-account a,
    .sq-club-mobile-account button {
        min-height: 42px;
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 0 10px;
        color: #536177;
        background: transparent;
        border: 0;
        border-radius: 7px;
        text-decoration: none;
        font: inherit;
        font-weight: 650;
        text-align: left;
    }

    .sq-club-mobile-account a:hover,
    .sq-club-mobile-account button:hover {
        color: #1267e8;
        background: #eaf2ff;
    }

    .sq-club-mobile-account form,
    .sq-club-mobile-account button {
        width: 100%;
    }

    .sq-club-portal-main {
        padding: 30px 18px 52px;
    }

    .sq-club-hero {
        align-items: flex-start;
        gap: 17px;
        padding-bottom: 25px;
    }

    .sq-club-hero-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 9px;
        font-size: 22px;
    }

    .sq-club-hero h1 {
        font-size: 23px;
    }

    .sq-club-membership-status {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
        font-size: 13px;
    }

    .sq-club-status-valid {
        min-height: 28px;
        padding-inline: 9px;
    }

    .sq-club-introduction {
        padding: 27px 0 39px;
    }

    .sq-club-introduction p {
        font-size: 16px;
    }

    .sq-club-primary-action {
        width: 100%;
    }

    .sq-managed-content {
        margin-bottom: 42px;
    }

    .sq-managed-content-heading {
        align-items: flex-start;
    }

    .sq-managed-content-heading h2 {
        font-size: 21px;
    }

    .sq-managed-content-row {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 14px;
        padding: 17px 15px;
    }

    .sq-managed-content-icon {
        width: 42px;
        height: 42px;
    }

    .sq-managed-content-download {
        grid-column: 1 / -1;
        width: 100%;
    }

    .sq-club-recent-head {
        display: none;
    }

    .sq-club-recent-row {
        min-height: 68px;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
        padding-inline: 4px;
    }

    .sq-club-recent-open {
        font-size: 0;
    }

    .sq-club-recent-open i {
        font-size: 11px;
    }

    .sq-club-content-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

}

.sq-account-security-page {
    min-height: 100dvh;
    background: var(--sq-canvas);
}

.sq-security-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 80px;
}

.sq-security-heading {
    margin-bottom: 30px;
}

.sq-security-heading > p {
    margin: 0 0 8px;
    color: var(--sq-brand);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.sq-security-heading h1 {
    margin: 0;
    color: var(--sq-ink);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.sq-security-heading > span {
    display: block;
    margin-top: 10px;
    color: var(--sq-muted);
    font-size: 16px;
    line-height: 1.7;
}

.sq-security-overview,
.sq-security-panel {
    border: 1px solid var(--sq-line);
    border-radius: var(--sq-radius);
    background: var(--sq-panel);
    box-shadow: 0 12px 36px rgba(31, 52, 88, 0.06);
}

.sq-security-overview {
    padding: 28px 30px 8px;
}

.sq-security-section-heading h2,
.sq-security-panel-head h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.35;
}

.sq-security-section-heading p,
.sq-security-panel-head p {
    margin: 7px 0 0;
    color: var(--sq-muted);
    font-size: 14px;
    line-height: 1.65;
}

.sq-identity-grid {
    margin-top: 22px;
}

.sq-identity-row {
    min-height: 104px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    border-top: 1px solid var(--sq-line);
}

.sq-identity-icon,
.sq-security-panel-head > span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 11px;
    color: var(--sq-brand);
    background: #edf2ff;
    font-size: 18px;
}

.sq-identity-row h3 {
    margin: 0 0 5px;
    color: var(--sq-muted);
    font-size: 13px;
    font-weight: 700;
}

.sq-identity-row strong {
    display: block;
    font-size: 16px;
    line-height: 1.4;
}

.sq-identity-row p {
    margin: 5px 0 0;
    color: var(--sq-muted);
    font-size: 13px;
    line-height: 1.5;
}

.sq-identity-row > a {
    min-width: 92px;
    padding: 10px 14px;
    border: 1px solid #cfd9ed;
    border-radius: 9px;
    color: #244aa8;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.sq-identity-row > a:hover {
    border-color: var(--sq-brand);
    background: #f7f9ff;
}

.sq-security-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sq-security-panel {
    min-width: 0;
    padding: 28px 30px 30px;
}

.sq-security-panel:first-child {
    grid-column: 1 / -1;
}

.sq-security-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--sq-line);
}

.sq-security-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.sq-security-form .sq-field,
.sq-security-form .sq-field-row {
    min-width: 0;
}

.sq-security-form .sq-primary-button {
    width: max-content;
    min-width: 154px;
    padding-inline: 24px;
    white-space: nowrap;
}

.sq-security-form .sq-captcha-row,
.sq-security-form .sq-code-row {
    grid-template-columns: minmax(0, 1fr) 142px;
}

.sq-security-form .sq-captcha-button,
.sq-security-form .sq-secondary-button {
    min-width: 0;
    width: 142px;
}

.sq-service-unavailable {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #dbe2ef;
    border-radius: 10px;
    color: #47556d;
    background: #f7f9fc;
}

.sq-service-unavailable.is-complete {
    color: #19694f;
    border-color: #cce5db;
    background: #f2faf7;
}

.sq-service-unavailable > i {
    margin-top: 2px;
    color: var(--sq-brand);
}

.sq-service-unavailable.is-complete > i {
    color: var(--sq-success);
}

.sq-service-unavailable strong,
.sq-service-unavailable p {
    display: block;
}

.sq-service-unavailable p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 820px) {
    .sq-security-shell {
        width: min(100% - 28px, 680px);
        padding: 34px 0 56px;
    }

    .sq-security-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sq-security-panel:first-child {
        grid-column: auto;
    }

    .sq-security-overview,
    .sq-security-panel {
        padding-inline: 22px;
    }

    .sq-identity-row {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 20px 0;
    }

    .sq-identity-row > a {
        grid-column: 2;
        width: max-content;
    }
}

@media (max-width: 560px) {
    .sq-account-security-page .sq-topbar-date,
    .sq-account-security-page .sq-topbar-current {
        display: none;
    }

    .sq-account-security-page .sq-topbar {
        padding-inline: 16px;
    }

    .sq-account-security-page .sq-topbar-brand span {
        display: none;
    }

    .sq-security-heading h1 {
        font-size: 31px;
    }

    .sq-security-overview,
    .sq-security-panel {
        padding: 22px 18px;
    }

    .sq-security-form .sq-field-row,
    .sq-security-form .sq-captcha-row,
    .sq-security-form .sq-code-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .sq-security-form .sq-captcha-button,
    .sq-security-form .sq-secondary-button,
    .sq-security-form .sq-primary-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.sq-product-section {
    margin-bottom: 34px;
}

.sq-product-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 18px;
    min-height: 124px;
    padding: 24px 26px;
    border: 1px solid #ccd8ee;
    border-radius: 18px;
    color: var(--sq-ink);
    background:
        radial-gradient(circle at 90% 10%, rgba(47, 91, 222, .16), transparent 34%),
        linear-gradient(135deg, #ffffff, #f6f8fd);
    box-shadow: 0 16px 38px rgba(24, 48, 92, .08);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sq-product-card:hover {
    transform: translateY(-2px);
    border-color: #7899ee;
    box-shadow: 0 20px 46px rgba(24, 48, 92, .13);
}

.sq-product-card.is-disabled {
    opacity: .68;
    box-shadow: none;
}

.sq-product-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(145deg, #17376d, #3262dc);
    font-size: 23px;
}

.sq-product-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.sq-product-copy strong {
    font-size: 22px;
}

.sq-product-copy > span:last-child {
    color: var(--sq-muted);
    font-size: 14px;
    line-height: 1.55;
}

.sq-product-kicker {
    color: var(--sq-brand);
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: .14em;
}

.sq-product-plan {
    padding: 7px 12px;
    border-radius: 999px;
    color: #2452bd;
    background: #e9efff;
    font-size: 13px;
    font-weight: 800;
}

.sq-product-enter {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #fff;
    background: #17345d;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 720px) {
    .sq-product-card {
        grid-template-columns: 52px minmax(0, 1fr) auto;
        padding: 20px;
    }

    .sq-product-icon {
        width: 52px;
        height: 52px;
    }

    .sq-product-enter {
        grid-column: 2 / -1;
        justify-content: center;
    }
}
