/* Account workspace: compact app layout with ARBIJITSU colours. */
.account-page.account-is-authenticated .account-main:has(.account-dashboard:not([hidden])){width:min(calc(100% - 40px),1320px);max-width:none;height:calc(100dvh - 82px);min-height:650px;padding:26px 0 0}
.account-page .account-dashboard{width:100%}
.account-page .account-dashboard{height:calc(100dvh - 108px)}
.account-page .account-shell{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:stretch;gap:0;width:100%;height:calc(100dvh - 108px);min-height:650px;overflow:hidden;border:1px solid #d6e0eb;border-radius:19px;background:#f5f7fa;box-shadow:0 22px 55px #1329431b}
.account-page .account-sidebar{position:relative;top:auto;display:flex;flex-direction:column;align-self:stretch;gap:0;min-width:0;padding:21px 13px 17px;border:0;border-radius:0;background:#101b2b;box-shadow:none;color:#e6edf6}
.account-page .account-sidebar-brand{display:flex;align-items:center;min-height:51px;margin:0 8px 39px;padding:0 2px;color:#fff;font-size:21px;font-weight:850;letter-spacing:-.045em;line-height:1.15}
.account-page .account-sidebar-title{display:block;margin:0 13px 10px;color:#7f95ae;font-size:10px;font-weight:850;letter-spacing:.14em}
.account-page .account-workspace-nav{display:grid;grid-template-columns:1fr;gap:5px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.account-page .account-workspace-nav a{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-height:49px;padding:8px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:#b9c7d8;font-size:12px;font-weight:750;line-height:1.25;text-align:left;white-space:normal;box-shadow:none;transition:background .18s,color .18s,border-color .18s}
.account-page .account-workspace-nav a:hover{background:#ffffff0e;color:#fff}
.account-page .account-workspace-nav a[aria-current="page"]{border-color:#f54d722c;background:#c9204530;color:#fff;box-shadow:inset 3px 0 #eb3157}
.account-page .account-nav-symbol{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:8px;background:#ffffff0c;color:#a9bdd3}
.account-page .account-workspace-nav a[aria-current="page"] .account-nav-symbol{background:#d5284a;color:#fff}
.account-page .account-nav-symbol svg{width:17px;height:17px;stroke:currentColor}
.account-page .account-workspace-nav a small{display:grid;place-items:center;min-width:22px;height:22px;margin-left:auto;padding:0 5px;border-radius:7px;background:#ffffff12;color:#d8e4f2;font-size:11px}
.account-page .account-sidebar-links{display:grid;gap:3px;margin:24px 0 0;padding:16px 0 0;border-top:1px solid #ffffff18}
.account-page .account-sidebar-links a{display:flex;align-items:center;justify-content:space-between;min-height:39px;padding:8px 13px;border-radius:9px;color:#aabdd1;font-size:11px;font-weight:700}
.account-page .account-sidebar-links a:hover{background:#ffffff0e;color:#fff}
.account-page .account-sidebar-links a span{color:#6e8ca8;font-size:14px}
.account-page .account-sidebar-person{display:flex;align-items:center;gap:10px;min-width:0;margin-top:auto;padding:17px 5px 0;border:0;border-top:1px solid #ffffff18}
.account-page .account-sidebar-person .account-profile-avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff20;border-radius:9px;background:#ffffff10;color:#d9e8f5}
.account-page .account-sidebar-person>div{min-width:0}
.account-page .account-sidebar-person small{display:block;color:#8ba0b8;font-size:9px;font-weight:800;letter-spacing:.1em}
.account-page .account-sidebar-person .account-identity{display:block;max-width:178px;overflow:hidden;color:#fff;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
.account-page .account-workspace-content{min-width:0;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b7c7d9 transparent;background:#f5f7fa}
.account-page .account-dashboard-header{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:73px;margin:0;padding:0 30px;border:0;border-bottom:1px solid #dfe6ef;border-radius:0;background:#fff;box-shadow:none;color:#1a2b41}
.account-page .account-dashboard-header h1{margin:0;color:#172a43;font-size:18px;font-weight:850;letter-spacing:-.035em}
.account-page .account-dashboard-header>a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border:1px solid #dce4ee;border-radius:8px;background:#fff;color:#ad1435;font-size:11px;font-weight:800;text-decoration:none;box-shadow:none}
.account-page .account-dashboard-header>a:hover{border-color:#e9b4c2;background:#fff5f7}
.account-page .account-view{min-height:0;padding:31px 33px 36px}
.account-page .account-view[hidden]{display:none!important}
.account-page .account-view-lead{min-height:0;margin:0 0 18px;padding:0}
.account-page .account-view-lead h2{margin:0;color:#172b43;font-size:clamp(23px,2.2vw,28px);font-weight:850;line-height:1.2;letter-spacing:-.05em}
.account-page .account-view-lead h2::after{content:"";display:block;width:38px;height:3px;margin-top:13px;border-radius:3px;background:#d51d43}
.account-page .account-orders,.account-page .account-topup,.account-page .account-history,.account-page .account-settings-card{border:1px solid #dce5ef;border-radius:13px;background:#fff;box-shadow:0 6px 20px #18314c08}
.account-page .account-orders{display:block;min-height:0;padding:18px}
.account-page .account-orders .account-empty{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:151px;padding:24px 24px 24px 98px;border:1px dashed #cfdbe8;border-radius:11px;background:linear-gradient(115deg,#f8fafc,#fff)}
.account-page .account-orders .account-empty::before{left:26px;width:50px;height:50px;border:1px solid #e3eaf2;border-radius:12px;background:#eef3f8;color:#bd193d;font-size:24px}
.account-page .account-empty-copy{display:block}
.account-page .account-empty-copy strong{color:#1c324b;font-size:17px;font-weight:800}
.account-page .account-empty-copy p{display:block;max-width:360px;margin:5px 0 0;color:#7b8da2;font-size:11px;line-height:1.5}
.account-page .account-orders .account-empty-link{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:41px;margin:0;padding:0 15px;border-radius:8px;background:#c9153b;color:#fff;font-size:11px;font-weight:800;white-space:nowrap}
.account-page .account-orders .account-empty-link:hover{background:#a90f30}
.account-page .account-claim-wrap{margin-top:16px;border-top:1px solid #e7edf4}
.account-page .account-claim-wrap summary{display:flex;align-items:center;justify-content:space-between;min-height:49px;padding:12px 5px 0;color:#354e6a;font-size:12px;font-weight:800;cursor:pointer;list-style:none}
.account-page .account-claim-wrap summary::-webkit-details-marker{display:none}
.account-page .account-claim-wrap summary span{color:#c0173a;font-size:18px;transition:transform .18s}
.account-page .account-claim-wrap[open] summary span{transform:rotate(180deg)}
.account-page .account-claim{margin:0;padding:13px 4px 5px;border:0}
.account-page .account-claim label{color:#354d69;font-size:11px}
.account-page .account-claim>div{display:grid;grid-template-columns:minmax(0,1fr) 124px;gap:9px;margin-top:8px}
.account-page .account-claim input,.account-page .account-claim button{min-height:43px;font-size:12px}
.account-page .account-claim small{font-size:10px}
.account-page .account-row{min-height:78px;padding:15px 17px;border:1px solid #e0e7ef;border-radius:9px;background:#fff}
.account-page .account-row:hover{border-color:#cbd8e6;background:#fbfcfe}
.account-page .account-balance-grid{display:block}
.account-page .account-topup{max-width:760px;padding:25px}
.account-page .account-topup h3,.account-page .account-history h3{color:#1c314a}
.account-page .account-history{margin-top:16px;padding:22px 25px}
.account-page .account-settings-view{display:grid;grid-template-columns:1fr;gap:14px}
.account-page .account-settings-view .account-view-lead,.account-page .account-settings-view .account-settings-card:has(form){grid-column:1}
.account-page .account-settings-card{min-height:0;padding:22px 24px}
.account-page .account-settings-card h3{color:#1c314a}
.account-page .account-settings-form input{background:#fff}
.storefront.account-page.account-is-authenticated .site-footer.footer-v2{display:none}
@media(max-width:850px){
 .account-page.account-is-authenticated .account-main:has(.account-dashboard:not([hidden])){width:calc(100% - 28px);height:auto;min-height:calc(100dvh - 74px);padding:18px 0 0}
 .account-page .account-dashboard{height:auto;min-height:calc(100dvh - 92px)}
 .account-page .account-shell{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 92px)}
 .account-page .account-sidebar{flex:none;padding:13px 14px}
 .account-page .account-sidebar-brand{min-height:39px;margin:0 1px 12px;font-size:17px}
 .account-page .account-sidebar-title,.account-page .account-sidebar-links,.account-page .account-sidebar-person{display:none}
 .account-page .account-workspace-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;overflow:visible}
 .account-page .account-workspace-nav::-webkit-scrollbar{display:none}
 .account-page .account-workspace-nav a{flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:63px;padding:6px 4px;font-size:10px;text-align:center;white-space:normal}
 .account-page .account-workspace-nav a small{display:none}
 .account-page .account-nav-symbol{width:27px;height:27px}
 .account-page .account-dashboard-header{flex-direction:row;align-items:center;min-height:61px;padding:0 18px}
 .account-page .account-dashboard-header>a{width:auto;white-space:nowrap}
 .account-page .account-workspace-content{flex:1;overflow:visible}
 .account-page .account-view{padding:23px 19px 27px}
 .account-page .account-orders .account-empty{padding-left:80px}
 .account-page .account-orders .account-empty::before{left:17px}
}
@media(max-width:560px){
 .account-page.account-is-authenticated .account-main:has(.account-dashboard:not([hidden])){width:calc(100% - 18px);padding:10px 0 0}
 .account-page .account-dashboard,.account-page .account-shell{min-height:calc(100dvh - 84px)}
 .account-page .account-shell{border-radius:12px}
 .account-page .account-sidebar{padding:11px}
 .account-page .account-sidebar-brand{margin-bottom:9px}
 .account-page .account-workspace-nav a[data-account-view="balance"]>span:nth-child(2),.account-page .account-workspace-nav a[data-account-view="settings"]>span:nth-child(2){font-size:0}
 .account-page .account-workspace-nav a[data-account-view="balance"]>span:nth-child(2)::after{content:"Баланс";font-size:10px}
 .account-page .account-workspace-nav a[data-account-view="settings"]>span:nth-child(2)::after{content:"Настройки";font-size:10px}
 .account-page .account-dashboard-header h1{font-size:16px}
 .account-page .account-dashboard-header>a{min-height:33px;padding:0 9px;font-size:10px}
 .account-page .account-view{padding:20px 13px 24px}
 .account-page .account-view-lead h2{font-size:23px}
 .account-page .account-orders{padding:12px}
 .account-page .account-orders .account-empty{align-items:flex-start;flex-direction:column;gap:12px;min-height:0;padding:18px 16px 18px 73px}
 .account-page .account-orders .account-empty::before{left:15px;width:44px;height:44px}
 .account-page .account-orders .account-empty-link{margin-left:0}
 .account-page .account-claim>div{grid-template-columns:1fr}
 .account-page .account-claim button{width:100%}
 .account-page .account-settings-card{padding:18px}
 .account-page .account-settings-form{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.account-page .account-workspace-nav a,.account-page .account-claim-wrap summary span{transition:none}}

/* Account workspace: clear navigation and compact, useful panels. */
.account-page .account-shell{grid-template-columns:276px minmax(0,1fr);background:#f4f6f9}
.account-page .account-sidebar{padding:26px 17px 19px}
.account-page .account-sidebar-brand{min-height:44px;margin:0 8px 29px;font-size:23px;letter-spacing:-.04em}
.account-page .account-sidebar-title{margin:0 11px 12px;font-size:11px;letter-spacing:.13em}
.account-page .account-workspace-nav{gap:8px}
.account-page .account-workspace-nav a{gap:13px;min-height:62px;padding:10px 11px;border-radius:11px;font-size:13px;font-weight:750}
.account-page .account-nav-symbol{width:39px;height:39px;border-radius:10px;background:#ffffff11}
.account-page .account-nav-symbol svg{width:20px;height:20px}
.account-page .account-workspace-nav a small{min-width:25px;height:25px;font-size:12px}
.account-page .account-sidebar-links{gap:6px;margin-top:24px;padding-top:19px}
.account-page .account-sidebar-links a{min-height:54px;padding:11px 13px;border-radius:10px;color:#c3d0df;font-size:13px}
.account-page .account-sidebar-links a span{font-size:19px}
.account-page .account-sidebar-person{padding-top:18px}
.account-page .account-sidebar-person .account-profile-avatar{width:40px;height:40px}
.account-page .account-sidebar-person small{font-size:10px}
.account-page .account-sidebar-person .account-identity{max-width:195px;font-size:12px}
.account-page .account-dashboard-header{min-height:72px;padding:0 32px}
.account-page .account-dashboard-header h1{font-size:18px}
.account-page .account-dashboard-header>a{min-height:42px;padding:0 16px;font-size:12px}
.account-page .account-view{padding:34px 36px 38px}
.account-page .account-view-lead{margin-bottom:24px}
.account-page .account-view-lead h2{font-size:30px}
.account-page .account-view-lead h2::after{width:46px;margin-top:15px}
.account-page .account-orders,.account-page .account-topup,.account-page .account-history,.account-page .account-settings-card{border-radius:14px;box-shadow:0 9px 28px #172d4909}
.account-page .account-orders{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.75fr);align-items:stretch;gap:17px;min-height:360px;padding:17px;background:transparent;border:0;box-shadow:none}
.account-page .account-orders>.account-list,.account-page .account-orders>.account-claim-wrap{min-width:0;border:1px solid #dce5ef;border-radius:14px;background:#fff;box-shadow:0 9px 28px #172d4909}
.account-page .account-orders>.account-list{padding:16px}
.account-page .account-orders .account-empty{align-items:flex-start;justify-content:center;flex-direction:column;gap:17px;min-height:100%;padding:30px 26px 30px 94px;border:0;border-radius:10px;background:#f7f9fc}
.account-page .account-orders .account-empty::before{top:31px;left:25px;width:52px;height:52px}
.account-page .account-empty-copy strong{font-size:19px}
.account-page .account-empty-copy p{font-size:12px}
.account-page .account-orders .account-empty-link{min-height:48px;padding:0 20px;font-size:12px}
.account-page .account-claim-wrap{margin:0;padding:16px;border-top:1px solid #dce5ef}
.account-page .account-claim-wrap summary{min-height:44px;padding:0 3px;color:#1b304a;font-size:15px}
.account-page .account-claim{padding:19px 3px 0}
.account-page .account-claim label{font-size:12px}
.account-page .account-claim>div{grid-template-columns:1fr;gap:10px;margin-top:10px}
.account-page .account-claim input,.account-page .account-claim button{min-height:49px;font-size:12px}
.account-page .account-claim button{width:100%;background:#bd1238}
.account-page .account-claim small{font-size:11px}
.account-page .account-balance-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.82fr);gap:17px;align-items:stretch}
.account-page .account-topup{max-width:none;min-height:360px;padding:30px}
.account-page .account-history{min-height:360px;margin:0;padding:30px}
.account-page .account-topup .account-card-heading{margin-bottom:26px}
.account-page .account-topup h3,.account-page .account-history h3{font-size:21px}
.account-page .account-topup form{gap:13px}
.account-page .account-amount input{min-height:52px;font-size:15px}
.account-page .account-provider{gap:10px}
.account-page .account-provider label span{min-height:47px}
.account-page .account-topup .account-primary{min-height:52px;font-size:13px}
.account-page .account-settings-view{display:block;min-height:calc(100% - 72px)}
.account-page .account-settings-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.9fr);grid-template-rows:1fr 1fr;gap:17px;min-height:470px}
.account-page .account-settings-card{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:31px}
.account-page .account-settings-security{grid-column:1;grid-row:1/3;justify-content:flex-start;padding:34px 36px}
.account-page .account-settings-security:has(form){display:flex;flex-direction:column;align-items:stretch}
.account-page .account-settings-email{grid-column:2;grid-row:1}
.account-page .account-settings-session{grid-column:2;grid-row:2;align-items:stretch}
.account-page .account-settings-card .account-kicker{font-size:11px;letter-spacing:.11em}
.account-page .account-settings-card h3{margin:10px 0 0;font-size:21px;line-height:1.25}
.account-page .account-settings-card p{margin:9px 0 0;color:#6b7f98;font-size:12px;line-height:1.6}
.account-page .account-settings-email strong{display:block;max-width:100%;margin-top:17px;overflow-wrap:anywhere;color:#1b304a;font-size:15px;line-height:1.5}
.account-page .account-settings-form{display:grid;grid-template-columns:1fr;align-items:stretch;gap:18px;margin-top:30px}
.account-page .account-settings-form label{gap:9px;font-size:13px}
.account-page .account-settings-form input{height:54px;padding:0 16px;font-size:14px}
.account-page .account-settings-form .account-primary{grid-column:1;min-height:54px;margin-top:5px;padding:0 20px;font-size:13px}
.account-page .account-settings-session .account-text-button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;margin:22px 0 0;padding:0 16px;border:1px solid #dbe3ec;border-radius:10px;background:#f8fafc;color:#273d56;font-size:13px;font-weight:750}
.account-page .account-settings-session .account-text-button:hover{border-color:#ddaab9;background:#fff4f6;color:#ae1838}
@media(max-width:1050px){
 .account-page .account-orders{grid-template-columns:1fr}
 .account-page .account-orders .account-empty{min-height:185px}
 .account-page .account-balance-grid{grid-template-columns:1fr}
 .account-page .account-settings-grid{grid-template-columns:1fr;grid-template-rows:auto;min-height:0}
 .account-page .account-settings-security,.account-page .account-settings-email,.account-page .account-settings-session{grid-column:1;grid-row:auto}
 .account-page .account-settings-security{justify-content:flex-start}
}
@media(max-width:850px){
 .account-page .account-sidebar{padding:16px}
 .account-page .account-sidebar-brand{min-height:35px;margin:0 2px 13px;font-size:20px}
 .account-page .account-workspace-nav a{min-height:69px;gap:6px;padding:7px 5px;font-size:12px}
 .account-page .account-nav-symbol{width:32px;height:32px}
 .account-page .account-nav-symbol svg{width:18px;height:18px}
 .account-page .account-view{padding:26px 24px 32px}
 .account-page .account-settings-view{min-height:0}
}
@media(max-width:560px){
 .account-page .account-workspace-nav a{min-height:65px;font-size:11px}
 .account-page .account-dashboard-header{padding:0 17px}
 .account-page .account-view{padding:24px 14px 28px}
 .account-page .account-view-lead h2{font-size:25px}
 .account-page .account-orders{gap:12px;padding:0}
 .account-page .account-orders>.account-list{padding:12px}
 .account-page .account-orders .account-empty{padding:78px 17px 20px;min-height:0}
 .account-page .account-orders .account-empty::before{top:16px;left:17px}
 .account-page .account-claim-wrap{padding:16px}
 .account-page .account-topup,.account-page .account-history,.account-page .account-settings-card,.account-page .account-settings-security{min-height:0;padding:23px}
 .account-page .account-settings-grid{gap:12px}
 .account-page .account-settings-form{gap:15px;margin-top:24px}
}

/* Let the desktop cabinet follow its content instead of filling a tall monitor. */
@media(min-width:851px){
 .account-page.account-is-authenticated .account-main:has(.account-dashboard:not([hidden])){display:flex;align-items:center;height:auto;min-height:calc(100dvh - 82px);padding:18px 0 24px}
 .account-page .account-dashboard{height:auto}
 .account-page .account-shell{height:auto;min-height:770px}
 .account-page .account-workspace-content{overflow-y:visible}
}

/* Final alignment pass for the account settings workspace. */
.account-page .account-view-lead h2::after{margin-top:16px}
.account-page .account-settings-view .account-view-lead{margin:0 0 24px}
.account-page .account-settings-card h3{margin:10px 0 0;font-size:20px;letter-spacing:-.035em}
.account-page .account-settings-card{align-items:stretch}
.account-page .account-settings-card p{margin-top:9px}
.account-page .account-settings-form{gap:17px;margin-top:30px}
.account-page .account-settings-form label{font-size:12px;line-height:1.4}
.account-page .account-settings-form input{height:52px}
.account-page .account-settings-form .account-primary{min-height:53px;margin-top:3px}
.account-page .account-settings-email strong{margin-top:18px;font-size:14px}
@media(min-width:1051px){
 .account-page .account-settings-grid{grid-template-columns:minmax(0,1.22fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:18px;min-height:500px}
 .account-page .account-settings-security{padding:34px 34px}
 .account-page .account-settings-email,.account-page .account-settings-session{align-items:stretch;justify-content:flex-start;padding:34px}
 .account-page .account-settings-session .account-text-button{margin-top:auto}
}
