.account-page { font-size: 14px; background: #09090b; }
.account-page .site-header { position: relative; top: auto; left: auto; right: auto; }
.account-shell { width: min(1080px, calc(100% - 64px)); margin: 0 auto; padding: 40px 0 88px; }
.account-page :is(h1, h2, h3, strong, .btn, .label-row) { letter-spacing: 0; }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 32px; }
.account-eyebrow { color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.account-heading h1 { font: 700 28px/1.3 var(--sans); margin: 0 0 9px; }
.account-heading > div > p:last-child { color: var(--muted); overflow-wrap: anywhere; }
.account-identity { display: flex; align-items: center; gap: 12px; min-width: 0; max-width: 42%; }
.account-identity .avatar { width: 40px; height: 40px; flex-shrink: 0; }
.account-identity strong { display: block; overflow-wrap: anywhere; font-weight: 600; }
.account-identity small { display: block; color: var(--muted); font-size: 12px; }
.account-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line-2); }
.account-tabs button { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 2px; border-bottom: 2px solid transparent; color: var(--muted); font-size: 14px; line-height: 1.4; font-weight: 600; }
.account-tabs button[aria-selected="true"] { color: #a4baff; border-bottom-color: var(--blue-3); }
.account-tabs button:hover { color: var(--ink); }
.account-tabs .ico { width: 18px; height: 18px; flex-shrink: 0; }
.account-panel { min-height: 400px; }
.account-panel:focus-visible { outline-offset: 6px; }
.account-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.account-section:last-child { border-bottom: 0; }
.account-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.account-section h2 { font: 650 17px/1.5 var(--sans); margin: 0; }
.account-section h3 { font: 600 14px/1.5 var(--sans); margin: 0; }
.account-section-head p, .account-setting-row p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 5px 0 0; max-width: 62ch; }
.account-form { max-width: 800px; }
.account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.account-page .field { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; margin: 0; }
.account-page .label-row { font-size: 13px; font-weight: 600; color: var(--ink-2); margin: 0; }
.account-page .field small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.account-page :is(input:not([type="file"]), .select) { font: 400 14px/1.5 var(--sans); min-height: 44px; width: 100%; padding: 10px 12px; border: 1px solid #353539; border-radius: 6px; background: #141416; color: var(--ink); }
.account-page input:focus { border-color: var(--blue-3); }
.account-readonly { display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #ffffff03; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.account-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.account-save-status { margin-right: auto; color: #86d5a5; font-size: 13px; }
.account-page .btn { min-height: 40px; padding: 9px 16px; border-radius: 6px; font-size: 13px; white-space: normal; text-align: center; line-height: 1.5; flex-shrink: 0; }
.account-page .btn .ico { width: 16px; height: 16px; flex-shrink: 0; }
.account-page .btn-ghost { background: #ffffff04; border-color: #353539; }
.account-page .btn-danger { background: transparent; color: #ff9999; border-color: #ee777744; box-shadow: none; }
.account-page .btn-danger:hover { background: #ff66660c; }
.account-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 20px 0; border-top: 1px solid var(--line); }
.account-section-head + .account-setting-row, .account-setting-row:first-child { border-top: 0; padding-top: 0; }
.account-setting-row:last-child { padding-bottom: 0; }
.account-setting-row > div { min-width: 0; }
.account-setting-row .lang-select-wrap { flex-shrink: 0; gap: 10px; width: 210px; }
.account-danger h2 { color: #ffaaaa; }
.account-danger .account-setting-row { align-items: flex-start; }
.account-password-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.account-password-form > .field { max-width: 388px; }
.account-password-form .account-form-actions { margin-top: 0; }
.account-page .auth-error { font-size: 13px; margin-top: 12px; }
.account-page .auth-error:empty { display: none; }
.account-refund-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); }
.account-refund-dialog > form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.account-refund-dialog .fm-dialog-body { display: grid; gap: 14px; padding-block: 20px; }
.account-refund-lead { color: var(--muted); font-size: 13px; line-height: 1.65; }
.account-refund-checks { display: grid; gap: 8px; margin: 0; padding: 0 0 2px; list-style: none; }
.account-refund-checks li { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.account-refund-checks .ico { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 2px; }
.account-refund-checks .is-ok { color: #86d5a5; }
.account-refund-checks .is-error { color: #ff9999; }
.account-refund-dialog textarea { min-height: 82px; max-height: 180px; resize: vertical; font: 400 14px/1.5 var(--sans); padding: 10px 12px; border: 1px solid #353539; border-radius: 6px; background: #141416; color: var(--ink); }
.account-refund-confirm { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.account-refund-confirm input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 17px; }
.account-status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.account-status .ico { width: 15px; height: 15px; }
.account-status.is-ok { color: #86d5a5; }
.account-status.is-pending { color: #e9c383; }
.account-status.is-error { color: #ff9999; }
.account-inline-form { display: flex; align-items: flex-end; gap: 12px; max-width: 600px; }
.account-inline-form .field { flex: 1; }
.account-inline-form .btn { min-height: 44px; }
.account-mfa-enrollment { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 28px; max-width: 650px; }
.account-mfa-enrollment img { width: 208px; height: 208px; padding: 6px; background: white; border-radius: 6px; }
.account-mfa-enrollment .field { margin: 16px 0; max-width: 240px; }
.account-secret { font-size: 13px; margin: 12px 0; }
.account-secret summary { color: var(--ink-2); cursor: pointer; }
.account-secret code { display: block; padding-top: 10px; overflow-wrap: anywhere; user-select: all; }
.account-recovery { margin-top: 24px; padding: 0 0 0 20px; border-left: 2px solid #86d5a5; }
.account-recovery p { margin: 6px 0 16px; color: var(--muted); max-width: 62ch; font-size: 13px; }
.account-recovery pre { font: 14px/1.85 var(--mono); margin-bottom: 16px; white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.account-plan { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 26px; }
.account-plan h3 { font-size: 24px; line-height: 1.4; font-weight: 700; }
.account-plan p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.account-usage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 800px; margin-bottom: 18px; }
.account-usage-item > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.account-usage-item > div > span { color: var(--muted); font-size: 13px; }
.account-usage-item strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.account-usage-item strong small { color: var(--muted); font-size: 14px; font-weight: 400; }
.account-usage-item progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 4px; overflow: hidden; background: #ffffff14; accent-color: var(--blue); }
.account-usage-item progress::-webkit-progress-bar { background: #ffffff14; }
.account-usage-item progress::-webkit-progress-value { background: var(--blue); }
.account-usage-item progress::-moz-progress-bar { background: var(--blue); }
.account-usage-unlimited { display: flex; align-items: center; gap: 6px; color: #86d5a5; font-size: 12px; }
.account-usage-unlimited .ico { width: 14px; height: 14px; }
.account-help { color: var(--muted); font-size: 13px; line-height: 1.7; }
.account-notice { display: flex; align-items: flex-start; gap: 10px; border-left: 2px solid var(--amber); padding: 10px 14px; margin-top: 18px; color: #e9c383; font-size: 13px; background: #f59e0b06; }
.account-notice .ico { flex-shrink: 0; margin-top: 2px; }
.account-notice p { margin: 0; flex: 1; line-height: 1.55; }
.account-notice .btn { flex-shrink: 0; margin: -4px 0; }
.account-notice + .account-notice { margin-top: 10px; }
.account-notice.is-warn { border-left-color: #f87171; color: #fbb4b4; background: #ef444408; }
.account-icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink-2); flex-shrink: 0; }
.account-icon-button:hover { color: white; background: #ffffff08; border-color: #666; }
.account-icon-button .ico { width: 18px; height: 18px; }
.account-history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.account-history-toolbar .field { max-width: 260px; }
.account-history-table { border-collapse: collapse; width: 100%; font-size: 13px; text-align: left; table-layout: fixed; }
.account-history-table th { padding: 12px 10px; background: #ffffff03; color: var(--muted); font-weight: 500; border-block: 1px solid var(--line); }
.account-history-table th:first-child { width: 42%; }
.account-history-table th:nth-child(2) { width: 21%; }
.account-history-table th:last-child { width: 60px; }
.account-history-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.account-job-name { display: flex; align-items: center; gap: 12px; }
.account-job-name > .ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.account-job-name strong { display: block; font-weight: 600; }
.account-job-name small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.account-job-date { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.account-job-action { text-align: right; }
.account-more { display: flex; justify-content: center; padding-top: 22px; }
.account-empty { min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.account-empty > .ico { width: 28px; height: 28px; color: var(--muted); }
.account-empty p { color: var(--muted); font-size: 13px; max-width: 48ch; }
.account-loading { min-height: 300px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.account-spinner { width: 20px; height: 20px; border: 2px solid var(--line-2); border-top-color: var(--blue-3); border-radius: 50%; animation: account-spin 1s linear infinite; }
.account-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes account-spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .account-shell { width: calc(100% - 40px); padding-top: 36px; }
  .account-heading { align-items: flex-start; gap: 20px; }
  .account-heading h1 { font-size: 24px; }
  .account-identity { display: none; }
  .account-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .account-tabs button { flex-direction: column; justify-content: flex-start; gap: 7px; padding: 14px 4px 12px; text-align: center; font-size: 12px; min-height: 76px; overflow-wrap: anywhere; }
  .account-section { padding: 26px 0; }
  .account-section-head { gap: 14px; }
  .account-fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .account-setting-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .account-setting-row .lang-select-wrap { width: 100%; max-width: 300px; }
  .account-inline-form { flex-wrap: wrap; }
  .account-inline-form .field { min-width: 180px; }
  .account-mfa-enrollment { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .account-mfa-enrollment img { width: 192px; height: 192px; }
  .account-plan { flex-wrap: wrap; gap: 18px; }
  .account-usage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .account-history-table, .account-history-table tbody { display: block; }
  .account-history-table thead { display: none; }
  .account-history-table tr { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .account-history-table td { border: 0; padding: 0; }
  .account-history-table td:nth-child(2), .account-history-table td:nth-child(3) { grid-column: 1; }
  .account-history-table td:last-child { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .account-job-name > .ico { display: none; }
}
@media (max-width: 560px) {
  .account-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-tabs button { flex-direction: row; align-items: center; min-height: 48px; padding: 12px 6px; text-align: left; overflow-wrap: normal; }
}
@media (max-width: 400px) {
  .account-shell { width: calc(100% - 32px); }
  .account-heading h1 { font-size: 22px; }
  .account-history-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  .account-inline-form > .field, .account-inline-form > .btn { width: 100%; }
  .account-section-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .account-spinner { animation: none; } }

/* Refund request - card dialog (same family as AC.confirm) */
.rf-dialog { position: fixed; inset: 0; margin: auto; width: fit-content; height: fit-content; max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; color: #f5f6fa; }
.rf-dialog::backdrop { background: #000a; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: rfBack .22s ease both; }
.rf-dialog.is-closing::backdrop { animation: rfBackOut .18s ease both; }
.rf-card { display: flex; flex-direction: column; width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); box-sizing: border-box; border-radius: 30px; background: linear-gradient(180deg, #18181d, #111114); border: 1px solid #ffffff17; box-shadow: 0 40px 100px -20px #000e, inset 0 1px 0 #ffffff0d; font-family: Inter, "Plus Jakarta Sans", system-ui, sans-serif; animation: rfIn .46s cubic-bezier(.34, 1.42, .64, 1) both; overflow: hidden; }
.rf-dialog.is-closing .rf-card { animation: rfOut .18s ease-in both; }
.rf-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; padding: 30px 30px 6px; }
.rf-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: #3264f024; color: #8fa9ff; }
.rf-icon .ico, .rf-icon svg { width: 24px; height: 24px; }
.rf-head h2 { margin: 2px 0 0; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.rf-head p { margin: 6px 0 0; color: #a2a7b5; font-size: 14px; line-height: 1.55; }
.rf-close { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff17; border-radius: 12px; background: #ffffff08; color: #cfd5e4; cursor: pointer; }
.rf-close:hover { background: #ffffff14; color: #fff; }
.rf-close .ico, .rf-close svg { width: 16px; height: 16px; }
.rf-body { display: grid; gap: 16px; padding: 18px 30px 6px; overflow-y: auto; overscroll-behavior: contain; }
.rf-banner { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; font-size: 14px; line-height: 1.55; }
.rf-banner p { margin: 0; }
.rf-banner strong { display: block; margin-bottom: 2px; font-size: 15px; }
.rf-banner .ico, .rf-banner svg { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; }
.rf-banner.is-ok { background: #22c55e17; border: 1px solid #22c55e33; color: #a7f0c4; }
.rf-banner.is-no { background: #ff2d5514; border: 1px solid #ff2d5533; color: #ffc2cd; }
.rf-banner.is-wait { background: #3264f01a; border: 1px solid #3264f040; color: #c9d6ff; }
.rf-usage-head { margin-bottom: -6px; color: #a2a7b5; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rf-usage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rf-usage div { padding: 14px 12px; border-radius: 16px; background: #ffffff07; border: 1px solid #ffffff12; text-align: center; }
.rf-usage strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: #86d5a5; }
.rf-usage span { display: block; margin-top: 4px; color: #a2a7b5; font-size: 12px; font-weight: 700; }
.rf-usage .is-used strong { color: #ff8aa0; }
.rf-note { display: flex; gap: 8px; align-items: center; margin: -4px 0 0; color: #ff9db0; font-size: 13px; }
.rf-note .ico, .rf-note svg { width: 15px; height: 15px; }
.rf-field { display: grid; gap: 10px; }
.rf-label { font-size: 14px; font-weight: 800; color: #e6e9f2; }
.rf-reasons { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-reason input { position: absolute; opacity: 0; pointer-events: none; }
.rf-reason span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid #ffffff1c; background: #ffffff08; color: #dfe4f2; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.rf-reason span:hover { border-color: #ffffff38; }
.rf-reason input:checked + span { border-color: #648cff; background: #3264f026; color: #fff; }
.rf-reason input:focus-visible + span { outline: 2px solid #9cb9ff; outline-offset: 2px; }
.rf-textarea { min-height: 110px; max-height: 220px; resize: vertical; box-sizing: border-box; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid #ffffff1c; background: #0b0b0e; color: #f1f3f9; font: 500 15px/1.55 Inter, sans-serif; outline: 0; transition: border-color .18s; }
.rf-textarea:focus { border-color: #648cff; }
.rf-textarea::placeholder { color: #6f7689; }
.rf-check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: #c9cfdc; font-size: 14px; line-height: 1.55; cursor: pointer; }
.rf-check input { position: absolute; opacity: 0; pointer-events: none; }
.rf-box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid #ffffff38; background: #0b0b0e; color: transparent; transition: background .18s, border-color .18s, color .18s; }
.rf-box .ico, .rf-box svg { width: 15px; height: 15px; }
.rf-check input:checked + .rf-box { background: #3264f0; border-color: #3264f0; color: #fff; }
.rf-check input:focus-visible + .rf-box { outline: 2px solid #9cb9ff; outline-offset: 2px; }
.rf-dialog .auth-error:empty { display: none; }
.rf-foot { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; padding: 22px 30px 28px; }
.rf-btn { min-height: 52px; border-radius: 16px; border: 1px solid #ffffff1c; background: #ffffff0a; color: #eef1f8; font: 700 15px/1 Inter, sans-serif; cursor: pointer; transition: background .18s, transform .2s, opacity .18s; }
.rf-btn:hover:not(:disabled) { background: #ffffff14; }
.rf-btn:active:not(:disabled) { transform: scale(.97); }
.rf-btn.is-primary { border-color: transparent; background: linear-gradient(135deg, #5b84ff, #3264f0 55%, #2a55d0); color: #fff; box-shadow: 0 12px 24px -12px #3264f0cc; }
.rf-btn:disabled { opacity: .45; cursor: not-allowed; }
@keyframes rfIn { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 40% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes rfOut { to { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes rfBack { from { opacity: 0; } }
@keyframes rfBackOut { to { opacity: 0; } }
@media (max-width: 560px) {
  .rf-usage { grid-template-columns: repeat(2, 1fr); }
  .rf-head, .rf-body, .rf-foot { padding-left: 20px; padding-right: 20px; }
}
.rf-check, .rf-reason { position: relative; }
.rf-dialog .rf-check input, .rf-dialog .rf-reason input { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; margin: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }

/* Refund request: same frame as the subscription checkout (fm-dialog + checkout-consent-dialog). */
.refund-dialog .rfx-form-wrap { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 48px); }
.refund-dialog.is-single { width: min(560px, calc(100% - 32px)); }
.refund-dialog.is-single .fm-dialog-body { grid-template-columns: minmax(0, 1fr); }
.refund-dialog.is-single .checkout-order { padding-right: 0; border-right: 0; }
.refund-dialog .rfx-status { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.refund-dialog .rfx-status .co-ico-wrap { width: 22px; height: 22px; flex-basis: 22px; margin-top: 2px; }
.refund-dialog .rfx-status .co-ico-wrap svg { width: 22px; height: 22px; }
.refund-dialog .rfx-status.is-ok .co-ico-wrap { color: #00ff7a; }
.refund-dialog .rfx-status.is-no .co-ico-wrap { color: #ff2d55; }
.refund-dialog .rfx-status.is-wait .co-ico-wrap { color: #ffd84d; }
.refund-dialog .rfx-status strong { display: block; color: var(--ink); font-size: 16.8px; line-height: 1.4; }
.refund-dialog .rfx-status small { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.refund-dialog .rfx-usage li { align-items: center; }
.refund-dialog .rfx-usage li > span:nth-child(2) { flex: 1; }
.refund-dialog .rfx-usage li strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.refund-dialog .rfx-usage li .co-ico-wrap { color: #00ff7a; }
.refund-dialog .rfx-usage li.is-used .co-ico-wrap { color: #ff2d55; }
.refund-dialog .rfx-form { display: grid; gap: 14px; align-content: start; }
.refund-dialog .rfx-form > * { margin: 0; }
.refund-dialog .rfx-reasons .checkout-check { padding: 9px 0; }
.refund-dialog .rfx-field { display: grid; gap: 10px; }
.refund-dialog .rfx-textarea { min-height: 104px; resize: vertical; font: inherit; font-size: 15.5px; line-height: 1.5; }
@media (max-width: 720px) {
  .refund-dialog .fm-dialog-body { grid-template-columns: minmax(0, 1fr); }
  .refund-dialog .checkout-order { padding-right: 0; border-right: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
}
/* The checkout hides native inputs behind its animated tick; here they are real radios/checkbox. */
.refund-dialog .checkout-check { grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.refund-dialog .checkout-check input { position: static; width: 20px; height: 20px; margin: 2px 0 0; padding: 0; overflow: visible; clip: auto; accent-color: var(--blue, #3d6cf0); }
.refund-dialog .rfx-reasons .checkout-check-title strong { font-weight: 600; }
.refund-dialog .rfx-form > .checkout-check .checkout-check-title strong { font-weight: 500; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.refund-dialog .rfx-reasons .checkout-check { align-items: center; }
.refund-dialog .rfx-reasons .checkout-check input { margin: 0; }
.refund-dialog .rfx-reasons .checkout-check-title { margin: 0; }

/* Current subscription: same frame as the subscription checkout (fm-dialog + checkout-consent-dialog). */
.account-sub-section { border-bottom: 0; }
.account-sub-card { display: flex; flex-direction: column; width: 100%; max-height: none; margin: 0; box-shadow: 0 18px 60px #0006; }
.account-sub-card .fm-dialog-body { overflow: visible; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.45fr); }
.account-sub-eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; font-weight: 700; }
.account-sub-card .account-status { font-size: 14.5px; font-weight: 700; align-self: flex-start; }
.account-sub-card .co-benefits li { font-weight: 700; }
.account-sub-usage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-content: start; }
.account-sub-usage .account-help { grid-column: 1 / -1; margin: 0; }
.account-sub-card .account-usage-item > div > span { font-size: 15.5px; font-weight: 700; }
.account-sub-card .account-usage-item strong { font: 800 34px/1 Inter, system-ui, sans-serif; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.account-sub-card .co-benefits li span::first-letter { text-transform: uppercase; }
.account-sub-card .account-usage-item strong small { font-size: 16px; font-weight: 700; letter-spacing: 0; }
.account-sub-card .account-usage-item progress { height: 6px; }
.account-sub-card .account-usage-unlimited { font-size: 14.5px; font-weight: 700; }
.account-sub-card .checkout-footer-row { display: flex; align-items: center; gap: 12px; width: 100%; }
.account-sub-dates { display: flex !important; flex-wrap: wrap; gap: 4px 22px; }
.account-sub-dates b { color: var(--ink-2); font-weight: 700; }
@media (max-width: 760px) {
  .account-sub-usage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .account-sub-card .checkout-footer-row { flex-wrap: wrap; }
  .account-sub-card #accountChangePlan { width: 100%; }
}
/* usage: label on top, big number under it, bar last - left aligned like the checkout price */
.account-sub-card .account-usage-item > div { display: grid; justify-content: start; gap: 10px; margin-bottom: 14px; }
.account-sub-card .account-usage-item > div > span { white-space: nowrap; }
.account-sub-card .account-usage-item > div > span::first-letter { text-transform: uppercase; }
.account-sub-card .account-usage-item strong { font-size: 40px; }
.account-sub-card .account-usage-item strong small { margin-left: 4px; font-size: 17px; }
.account-sub-card .account-usage-item progress { height: 8px; border-radius: 8px; }
.account-sub-card .account-usage-unlimited { min-height: 8px; margin: 0; line-height: 8px; }
.account-sub-card .account-status { font: 900 15px/1.2 Inter, system-ui, sans-serif; letter-spacing: 0; }
.account-usage-pct { margin-left: 12px; padding: 3px 9px; border-radius: 7px; background: #ffffff14; color: var(--ink-2); font: 800 15px/1.2 Inter, system-ui, sans-serif; font-style: normal; letter-spacing: 0; vertical-align: middle; font-variant-numeric: tabular-nums; }
/* "Zmień plan" = the home hero CTA (marketing-components.css), a bit smaller for the card footer */
.account-sub-card #accountChangePlan { flex-shrink: 0; min-height: 60px; padding: 16px 30px; gap: 16px; border-radius: 18px; font-size: 17px; }
.account-sub-card #accountChangePlan svg { width: 22px; height: 22px; flex-basis: 22px; }
