.service-state{max-width:560px;margin:12vh auto;padding:32px;text-align:center}.service-state .brand{justify-content:center;margin-bottom:35px}.service-state h1{font-size:24px;line-height:1.5}.service-state p{color:var(--muted);line-height:1.9;margin:15px 0 25px}.account-gate{max-width:540px;margin:60px auto 100px;text-align:center;padding:35px 26px}.account-gate>.icon{width:38px;height:38px;color:var(--purple);margin-bottom:17px}.account-gate h1{font-size:26px;line-height:1.45}.account-gate p{line-height:1.9;color:var(--muted);margin:16px 0 24px}.account-gate .primary{margin:auto}.account-gate .secondary{margin:10px auto 0}.auth-tabs{display:flex;border-bottom:1px solid var(--line);margin:0 0 25px;gap:24px}.auth-tabs button{font-size:15px;padding:0 0 12px;color:var(--muted);border-bottom:2px solid transparent}.auth-tabs button.active{color:var(--purple);border-color:var(--purple)}.auth-intro{color:var(--muted);font-size:13px;line-height:1.9;margin-bottom:23px}.auth-password-row{display:flex;gap:8px}.auth-password-row input{flex:1;min-width:0}.auth-password-row button{flex:none;font-size:12px;padding:0 10px;border:1px solid var(--line);border-radius:7px}.auth-form .field input{font-size:16px}.auth-form .form-error:empty{display:none}.account-logout{margin-left:auto}.profile-hero .account-name{overflow-wrap:anywhere}.profile-avatar{flex:none}.sync-status{font-size:12px;line-height:1.7;padding:11px 18px;color:#795313;background:#fff8e9;border-bottom:1px solid #f0e2c5;display:flex;align-items:center;gap:14px;justify-content:center}.sync-status button{color:inherit;text-decoration:underline;white-space:nowrap}.sync-status[hidden]{display:none}.production-user{display:flex;align-items:center;gap:12px}.production-user small{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.merchant-live{color:#538166;font-size:11px;white-space:nowrap}.merchant-foot{line-height:1.8}.account-session{font-size:12px;color:var(--muted);margin:5px 0 0;overflow-wrap:anywhere}.auth-form .consent-check{align-items:flex-start;font-size:12px;line-height:1.8}.auth-form .consent-check input{margin-top:4px;flex:none;width:16px;height:16px}.production-busy{cursor:wait}.order-rejected{color:#9b443b}.pending-checkout{margin-top:16px;padding:12px;background:#fff8e9;border:1px solid #f0e2c5;border-radius:8px;font-size:12px;line-height:1.9}
@media(max-width:760px){.merchant-sidebar .workbench-label{display:none}.merchant-sidebar .back-to-shop{position:static;order:1;margin:8px 0 0;padding:0;align-self:flex-end}.merchant-sidebar .merchant-selector{order:2}.merchant-sidebar nav{order:3}}
@media(max-width:760px){.account-gate{margin:30px auto 70px;padding:25px 12px}.account-gate h1{font-size:23px}.account-gate p{font-size:13px}.profile-hero{flex-wrap:wrap}.profile-hero .account-name{font-size:22px}.profile-hero .account-logout{font-size:12px;margin-left:0}.profile-hero .profile-stats{width:100%;margin-left:0;justify-content:flex-start}.production-user small{display:none}.merchant-live{font-size:10px;max-width:90px;white-space:normal;text-align:right}.sync-status{font-size:11px;align-items:flex-start;justify-content:space-between;padding:9px 16px}.service-state{margin:8vh auto;padding:24px}.service-state h1{font-size:21px}.auth-tabs{gap:20px}.auth-form .field-pair{grid-template-columns:1fr;gap:0}.top-actions .account-login{font-size:11px;padding:0;min-height:25px}.account-gate .primary,.account-gate .secondary{max-width:100%}html[lang=ru] .auth-tabs button{font-size:14px}html[lang=ru] .profile-hero .account-name{font-size:22px}}
.merchant-entry{min-height:100vh;background:var(--bg,#faf9fc);display:flex;flex-direction:column}.portal-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px max(24px,calc((100vw - 1240px)/2));border-bottom:1px solid var(--line);background:#fff}.portal-header .brand{max-width:520px}.merchant-login{width:calc(100% - 40px);max-width:480px;margin:64px auto;padding:36px;background:#fff;border:1px solid var(--line);border-radius:12px}.portal-eyebrow{font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--purple)}.merchant-login h1{font-size:30px;letter-spacing:-.025em;line-height:1.35;margin:12px 0}.portal-intro{font-size:14px;line-height:1.8;color:var(--muted);margin:0 0 28px}.merchant-login .auth-form .primary{margin-top:10px}.merchant-onboarding{margin:28px 0 22px;border-top:1px solid var(--line);padding-top:22px}.merchant-onboarding strong{font-size:13px;font-weight:600}.merchant-onboarding p{font-size:12px;color:var(--muted);line-height:1.9;margin:8px 0 0}.portal-footer{padding:0 24px 28px;text-align:center;font-size:12px;color:var(--muted);margin-top:auto}.merchant-paused{display:flex;align-items:flex-start;gap:14px;border:1px solid #ead8b8;background:#fff8eb;padding:18px 20px;border-radius:8px;margin-bottom:24px;color:#795313}.merchant-paused>.icon{flex:none;margin-top:2px}.merchant-paused strong{font-size:15px}.merchant-paused p{font-size:13px;line-height:1.8;margin:5px 0 0}.profile-panel{max-width:780px}.profile-panel>.form-hint{margin-bottom:26px}.profile-panel .field{font-size:13px;line-height:1.6}.profile-panel input,.profile-panel textarea{font-size:16px}.profile-panel input[readonly]{background:#f6f5f8;color:var(--muted)}.profile-panel button[type=submit]{min-width:150px}.profile-panel .operation-error:empty{display:none}.profile-panel .operation-error{margin:12px 0}.merchant-profile-panel{max-width:920px}.account-tabs{flex-wrap:wrap}.merchant-entry .auth-password-row button{min-width:58px;min-height:44px}.merchant-content button:disabled,.merchant-content input:disabled,.merchant-content textarea:disabled,.merchant-content select:disabled{cursor:not-allowed;opacity:.55}.merchant-entry input:focus-visible,.profile-panel input:focus-visible,.profile-panel textarea:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.merchant-login .notice{margin-bottom:20px}
@media(max-width:760px){.portal-header{padding:20px;align-items:flex-start;gap:16px}.portal-header .brand-title{font-size:15px}.portal-header .brand-name{min-width:0}.portal-header .brandmark{flex:none}.portal-header .language-switch{flex:none;margin-top:7px}.merchant-login{margin:32px auto 44px;padding:25px 23px}.merchant-login h1{font-size:26px}.portal-intro{font-size:13px}.portal-eyebrow{font-size:10px}.merchant-login .field{font-size:13px}.merchant-paused{padding:15px;gap:11px}.merchant-paused p{font-size:12px}.profile-panel .field-pair{grid-template-columns:1fr;gap:0}.profile-panel button[type=submit]{width:100%}.profile-panel{padding:20px}.account-tabs{gap:10px}.account-tabs button{font-size:12px;padding-right:7px;padding-left:7px}html[lang=ru] .portal-header .brand-title{font-size:12px}html[lang=ru] .portal-header .brandmark{width:32px;height:32px;font-size:21px}}
.profile-form-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.merchant-top>[data-native]{overflow-wrap:anywhere}
@media(max-width:760px){.merchant-top{height:auto;min-height:62px;align-items:flex-start;padding:12px 20px;gap:12px}.merchant-top>span{max-width:105px;padding-top:9px;flex:none}.merchant-top>div{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0}.merchant-top .merchant-live{flex-basis:100%;max-width:none;order:4}.merchant-top [data-action=change-password]{font-size:11px;min-height:32px}.merchant-top [data-action=logout]{font-size:11px;min-height:32px}.profile-form-actions{gap:16px}.profile-form-actions button[type=button]{margin:0 auto}.merchant-sidebar nav{flex-wrap:wrap;justify-content:flex-start;gap:0 5px}.merchant-sidebar .merchant-nav{white-space:normal;text-align:left}html[lang=ru] .merchant-top>span{max-width:85px}}
.top-actions .account-login{min-height:40px;min-width:76px;padding:8px 17px;font-size:13px;white-space:nowrap;background:var(--purple);color:#fff}.remember-login{margin-top:18px;min-height:44px;align-items:center;gap:10px;font-size:13px}.remember-login input{width:18px;height:18px;flex:none;accent-color:var(--purple)}.remember-hint{margin-top:0;font-size:12px}.otp-heading{text-align:center;padding:4px 0 24px}.otp-symbol{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--lilac);color:var(--purple);margin-bottom:14px}.otp-heading h2{font-size:22px;line-height:1.45}.otp-heading p{font-size:13px;line-height:1.8;margin-top:10px;color:var(--muted);overflow-wrap:anywhere}.otp-heading p strong{display:block;color:var(--ink);font-weight:500}.auth-form .otp-input{font-size:27px;font-weight:600;letter-spacing:.35em;text-align:center;min-height:59px;padding-left:22px}.otp-actions{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:16px 0 7px}.otp-actions button{font-size:12px;min-height:44px}.otp-actions button:disabled{opacity:.5;cursor:not-allowed}.wallet-panel{max-width:1000px}.wallet-balances{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.wallet-primary-balance{background:var(--purple);color:white;border-color:var(--purple)}.wallet-primary-balance>span{font-size:13px;opacity:.85}.wallet-primary-balance>strong{display:block;font-size:40px;font-weight:600;line-height:1.4;margin:15px 0 10px;letter-spacing:-.025em}.wallet-primary-balance small{font-size:22px}.wallet-primary-balance>p{font-size:12px;opacity:.75}.wallet-other-balances{display:flex;flex-direction:column;justify-content:center;gap:24px}.wallet-other-balances>div{display:flex;justify-content:space-between;align-items:center;gap:16px}.wallet-other-balances span{font-size:13px;color:var(--muted)}.wallet-other-balances strong{font-size:22px;font-weight:600}.wallet-bank{margin-bottom:22px}.wallet-bank .panel-heading p{font-size:13px;color:var(--muted);margin-top:8px}.wallet-bank-notice{font-size:13px;line-height:1.9;padding:15px 17px;background:var(--soft);border-radius:8px;margin:20px 0}.wallet-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.wallet-actions button{min-height:44px}.wallet-actions button:disabled{cursor:not-allowed;opacity:.5}.wallet-empty{padding:34px 15px;text-align:center;color:var(--muted)}.wallet-empty>.icon{width:28px;height:28px}.wallet-empty p{font-size:13px;margin-top:12px}.wallet-loading p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:12px}.wallet-settlement{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.9;color:var(--muted);margin:-3px 0 20px}.wallet-settlement .icon{flex:none;width:17px;height:17px;margin-top:3px}
@media(max-width:760px){.top-actions .account-login{min-height:44px;min-width:78px;padding:9px 16px;font-size:13px}.top-actions .account-login:focus-visible{outline:3px solid var(--purple);outline-offset:3px}.otp-heading h2{font-size:21px}.otp-heading{padding-bottom:20px}.otp-actions{gap:8px}.otp-actions button{font-size:11px}.wallet-balances{grid-template-columns:1fr;gap:14px;margin-bottom:16px}.wallet-primary-balance>strong{font-size:36px}.wallet-other-balances{gap:20px}.wallet-other-balances strong{font-size:20px}.wallet-bank .panel-heading{align-items:flex-start;gap:10px}.wallet-bank .panel-heading p{font-size:12px}.wallet-bank .pill{flex:none;font-size:10px}.wallet-bank-notice{font-size:12px;padding:13px}.wallet-actions{gap:10px}.wallet-actions .primary,.wallet-actions .secondary{flex:1}.wallet-actions .text-button{width:100%;text-align:center}.wallet-ledger .table-scroll{overflow:auto}.wallet-ledger th{min-width:100px}.wallet-settlement{font-size:11px}.auth-form .otp-input{font-size:27px}}
