/* Shared OysKasir settings and subscription surfaces. All selectors are scoped. */
.smooth-settings-workspace,.smooth-subscription{--smooth-blue:#1d5bea;--smooth-ink:#12203a;--smooth-muted:#6d7c96;--smooth-line:#e3e8f2;font-family:'Plus Jakarta Sans',sans-serif;color:var(--smooth-ink);width:100%;margin:0 auto;animation:smooth-workspace-enter .18s ease-out}
.smooth-settings-workspace{max-width:980px;background:#fff;border:1px solid var(--smooth-line);border-radius:22px;padding:24px 28px 30px;min-height:580px}.smooth-settings-header{display:flex;align-items:center;gap:14px;padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid var(--smooth-line)}.smooth-settings-header>button{display:grid;place-items:center;width:38px;height:42px;border:0;background:none;color:var(--smooth-ink);cursor:pointer;border-radius:10px}.smooth-settings-header>button:hover{background:#f1f5ff}.smooth-settings-header svg{width:21px;height:21px}.smooth-settings-header h2,.smooth-subscription-heading h2{font-size:23px;letter-spacing:-.6px;margin:0 0 5px;font-weight:750}.smooth-settings-header p,.smooth-subscription-heading p{color:var(--smooth-muted);font-size:12px;margin:0;line-height:1.6}
.smooth-settings-search{display:flex!important;align-items:center;gap:12px;height:52px;border:1px solid #d7e0ef;border-radius:13px;padding:0 16px;margin-bottom:20px;background:#fff}.smooth-settings-search svg{width:19px;height:19px;color:#71809a;flex:none}.smooth-settings-search input{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;min-width:0;width:100%;font-size:14px;outline:none}.smooth-settings-search:focus-within{outline:3px solid #e9f0ff;border-color:#84a6f3}
.smooth-settings-card{border:1px solid var(--smooth-line);border-radius:18px;overflow:hidden;background:#fff}.smooth-setting-row{position:relative;display:flex!important;align-items:center;gap:16px;width:100%;padding:19px 20px;border:0!important;box-shadow:none!important;border-radius:0!important;background:#fff;text-align:left;text-decoration:none!important;color:var(--smooth-ink)!important;cursor:pointer;min-height:91px;transition:background .16s,transform .16s;font:inherit}.smooth-setting-row+.smooth-setting-row:before{content:'';position:absolute;left:84px;right:18px;top:0;border-top:1px solid #ebeff6}.smooth-setting-row:hover{background:#f7f9ff!important}.smooth-setting-row:focus-visible{outline:3px solid #a8c2ff;outline-offset:-3px}.smooth-setting-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:14px;background:#eef3ff;color:#2363e5}.smooth-setting-icon svg{width:23px;height:23px;color:inherit!important}.smooth-setting-icon.tone-wallet,.smooth-setting-icon.tone-scan,.smooth-setting-icon.tone-dashboard,.smooth-setting-icon.tone-message{background:#eaf7f3;color:#169984}.smooth-setting-icon.tone-user,.smooth-setting-icon.tone-info{background:#fff2e6;color:#bf6b2a}.smooth-setting-words{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.smooth-setting-words strong{color:var(--smooth-ink);font-size:15px;line-height:1.45;font-weight:700}.smooth-setting-words small{color:var(--smooth-muted);font-size:12px;line-height:1.55}.smooth-setting-count{font-size:12px;white-space:nowrap;color:#7c89a0}.smooth-setting-arrow{color:#9aa6b8;display:flex;flex:none}.smooth-setting-arrow svg{width:16px;height:16px}.smooth-settings-empty{padding:30px;color:var(--smooth-muted);text-align:center}
.smooth-settings-editor>h3,.smooth-settings-information h3{font-size:19px;margin:0 0 8px}.smooth-settings-editor>p,.smooth-settings-information p{color:var(--smooth-muted);font-size:13px;line-height:1.8;margin:0 0 22px}.smooth-settings-editor .panel{box-shadow:none;border:1px solid var(--smooth-line);border-radius:17px}.smooth-settings-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--smooth-line);padding-top:18px;margin-top:22px}.smooth-settings-actions .primary,.smooth-subscription .btn.primary{background:#1d5bea!important;color:#fff!important;border-color:#1d5bea!important;box-shadow:0 5px 13px #1d5bea14!important}.smooth-settings-information{padding:26px;border:1px solid var(--smooth-line);border-radius:17px}.smooth-settings-information>.smooth-setting-icon{margin-bottom:18px}.smooth-settings-information .btn{margin:5px 10px 0 0}
.smooth-subscription{max-width:1160px}.smooth-subscription-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.smooth-subscription-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.smooth-plan-hero{background:linear-gradient(120deg,#1d57e7,#2e6af0);color:#fff;border-radius:20px;padding:27px 28px;margin-bottom:20px;position:relative;overflow:hidden;box-shadow:0 10px 24px #1d5bea0d}.smooth-plan-hero>span{font-size:13px;opacity:.92}.smooth-plan-hero h3{font-size:25px;letter-spacing:-.5px;line-height:1.4;margin:8px 0 18px;color:#fff}.smooth-plan-status{font-size:14px;font-weight:700}.smooth-plan-hero p{font-size:13px;line-height:1.7;color:#e7efff;margin:7px 0 0}.smooth-plan-hero .smooth-days{display:inline-flex;margin-top:16px;padding:7px 12px;border-radius:30px;background:#fff;color:#205ce4;font-weight:700;font-size:12px;opacity:1}
.smooth-subscription-card{padding:24px;border:1px solid var(--smooth-line);border-radius:18px;background:#fff;margin-bottom:20px;box-shadow:0 3px 16px #26375c03}.smooth-subscription-card>header{display:flex;align-items:center;gap:14px;margin-bottom:19px}.smooth-subscription-card h3{font-size:17px;color:var(--smooth-ink);line-height:1.5;margin:0 0 6px}.smooth-subscription-card p{font-size:13px;color:var(--smooth-muted);line-height:1.75;margin:6px 0 17px}.smooth-subscription-card header p{margin:0;font-size:12px}.smooth-subscription-callout{padding:14px 16px;background:#f2f6ff;color:#3861a0;border-radius:12px;font-size:12px;line-height:1.7}.smooth-subscription-help{display:flex!important;align-items:center;justify-content:center;gap:10px;min-height:50px;border-radius:13px;background:#eaf6f1;color:#128267!important;text-decoration:none!important;font-size:13px;font-weight:700}.smooth-subscription-help svg{width:19px;height:19px}
.smooth-duration-option{display:flex!important;align-items:center;gap:12px;border:1px solid var(--smooth-line);border-radius:15px;padding:17px 16px;margin:10px 0!important;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}.smooth-duration-option:has(input:checked){border-color:#2663e9;background:#f0f5ff;box-shadow:0 0 0 1px #2663e9}.smooth-duration-option input{width:19px!important;height:19px;accent-color:#1d5bea;flex:none}.smooth-duration-option>span{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}.smooth-duration-option strong{font-size:14px;color:var(--smooth-ink)}.smooth-duration-option small{font-size:11px;color:var(--smooth-muted)}.smooth-duration-option>b{font-size:15px;color:#205cdd}.smooth-payment-manual{display:flex;gap:8px;font-size:12px!important;padding:12px 0}.smooth-payment-manual svg{width:17px;height:17px;flex:none;margin-top:3px}.smooth-subscription form>button[type=submit]{width:100%;min-height:46px;justify-content:center}.smooth-renewal-steps{padding:0;margin:18px 0;list-style:none;display:grid;gap:18px}.smooth-renewal-steps li{display:flex;gap:13px;align-items:center}.smooth-renewal-steps li>span{display:grid;place-items:center;border-radius:50%;width:30px;height:30px;background:#edf3ff;color:#2862d7;font-size:12px;font-weight:700;flex:none}.smooth-renewal-steps li>div{display:flex;flex-direction:column;gap:4px}.smooth-renewal-steps strong{font-size:12px;color:var(--smooth-ink)}.smooth-renewal-steps small{font-size:11px;color:var(--smooth-muted);line-height:1.5}
.smooth-invoice-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-top:1px solid var(--smooth-line)}.smooth-invoice-row>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}.smooth-invoice-row>div:last-child{align-items:flex-end;flex:none}.smooth-invoice-row strong{font-size:13px;overflow-wrap:anywhere}.smooth-invoice-row small{font-size:12px;color:var(--smooth-muted)}.smooth-invoice-row b{font-size:16px}.smooth-invoice-row .badge{font-size:11px}.smooth-history-empty{padding:28px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--smooth-muted);font-size:12px}.smooth-history-empty>svg{width:30px;height:30px;color:#90a8d1}.smooth-history-empty strong{font-size:14px;color:var(--smooth-ink)}
@keyframes smooth-workspace-enter{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:1500px){.smooth-settings-workspace{max-width:1060px}.smooth-setting-row{padding:21px 23px}.smooth-setting-words strong{font-size:16px}.smooth-setting-words small{font-size:13px}}
@media(max-width:760px){.smooth-settings-workspace{padding:19px 16px;min-height:0}.smooth-settings-header{margin-bottom:18px;padding-bottom:17px}.smooth-setting-row{padding:17px 13px;gap:11px}.smooth-setting-row+.smooth-setting-row:before{left:72px;right:13px}.smooth-setting-icon{width:42px;height:42px;border-radius:12px}.smooth-setting-words strong{font-size:13px}.smooth-setting-words small{font-size:11px}.smooth-setting-count{font-size:10px}.smooth-settings-header h2,.smooth-subscription-heading h2{font-size:20px}.smooth-subscription-columns{grid-template-columns:minmax(0,1fr);gap:0}.smooth-subscription-heading{align-items:flex-start;flex-direction:column;gap:14px}.smooth-subscription-heading .actions{width:100%;flex-wrap:wrap}.smooth-plan-hero,.smooth-subscription-card{padding:21px;border-radius:17px}.smooth-duration-option{gap:9px;padding:15px 12px}.smooth-duration-option>b{font-size:13px}.smooth-invoice-row{gap:12px}.smooth-settings-actions .btn{flex:1;justify-content:center}}
@media(prefers-reduced-motion:reduce){.smooth-settings-workspace,.smooth-subscription{animation:none}.smooth-setting-row,.smooth-duration-option{transition:none}}

/* Win the existing global typography/button cascade only inside these workspaces. */
body #root main .smooth-subscription .smooth-plan-hero,body #root main .smooth-subscription .smooth-plan-hero :is(h3,p,span,div){color:#fff!important}
body #root main .smooth-subscription .smooth-plan-hero .smooth-days{color:#205ce4!important;background:#fff!important}
body #root main .smooth-subscription .btn.primary,body #root main .smooth-settings-workspace .smooth-settings-actions .btn.primary{background:#1d5bea!important;background-image:none!important;color:#fff!important;border-color:#1d5bea!important}
body #root main .smooth-subscription .btn.primary svg,body #root main .smooth-settings-workspace .smooth-settings-actions .btn.primary svg{color:#fff!important}
body #root main .smooth-settings-workspace .smooth-settings-search input{border:0!important;box-shadow:none!important;outline:none!important;background:transparent!important}
body #root main :is(.smooth-subscription,.smooth-settings-workspace) .smooth-setting-icon{color:#2363e5!important;background:#eef3ff!important}
body #root main :is(.smooth-subscription,.smooth-settings-workspace) .smooth-setting-icon svg{color:inherit!important}
body #root main :is(.smooth-subscription,.smooth-settings-workspace) :is(.tone-wallet,.tone-scan,.tone-dashboard,.tone-message){color:#169984!important;background:#eaf7f3!important}
body #root main :is(.smooth-subscription,.smooth-settings-workspace) :is(.tone-user,.tone-info){color:#bf6b2a!important;background:#fff2e6!important}
body #root main .smooth-subscription .smooth-subscription-help{background:#eaf6f1!important;border-color:#cde9df!important;color:#128267!important;min-height:50px;border-radius:13px!important}
