/* Полный набор экранов покупательского кабинета. */
.account-side-link{text-decoration:none}
.account-sidebar .account-real-link{margin-top:28px}
.account-view-head{margin:2px 0 22px}
.account-view-head>span{display:none;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.11em}
.account-view-head>div{display:flex;align-items:center;justify-content:space-between;gap:14px}
.account-view-head h1{margin:0 0 6px;font-size:clamp(36px,3.8vw,58px);font-weight:800;letter-spacing:-.07em;line-height:1.04}
.account-view-head p{margin:0;color:var(--muted);font-size:15px;line-height:1.45}
.account-view-head .secondary,.account-view-head .primary{white-space:nowrap;min-height:38px}
.account-tabs a{display:inline-flex;align-items:center;justify-content:center;min-width:134px;min-height:42px;padding:0 17px;border:1px solid transparent;border-radius:16px;background:var(--paper-2);color:var(--ink);font-size:13px;font-weight:800;text-decoration:none}
.account-tabs a.active{border-color:#b9d3c0;background:var(--green-soft);color:var(--green)}
.account-waitlist{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.account-waitlist h2{margin:9px 0 6px;font-size:21px;letter-spacing:-.035em}
.account-waitlist p{max-width:55ch;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.account-waitlist .secondary{flex:none}
.account-subnote{margin:10px 0;color:var(--muted);font-size:11px}
.account-cart-list{display:grid;gap:10px}
.account-cart-item{display:grid;grid-template-columns:130px minmax(0,1fr) auto;align-items:center;gap:17px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.account-cart-item>img{width:130px;height:100px;object-fit:cover;border-radius:9px}
.account-cart-item h2{margin:6px 0;font-size:18px;line-height:1.2;letter-spacing:-.03em}
.account-cart-item p{margin:0;color:var(--muted);font-size:11px}
.account-remove{margin-top:10px;padding:0;border:0;background:transparent;color:var(--muted);font-size:11px;text-decoration:underline;text-underline-offset:3px}
.account-cart-end{display:grid;justify-items:end;gap:13px}
.account-cart-end>strong{font-size:18px}
.account-qty{display:flex;align-items:center;gap:13px}
.account-qty button{width:31px;height:31px;border:1px solid var(--line);border-radius:50%;background:var(--paper-2);color:var(--green);font-size:18px}
.account-qty span{font-size:13px;font-weight:800}
.account-cart-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:15px;padding:21px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.account-cart-summary>div{display:grid;gap:4px}
.account-cart-summary span,.account-cart-summary small{color:var(--muted);font-size:11px}
.account-cart-summary strong{font-size:25px}
.account-cart-empty{padding:30px;border:1px dashed var(--line);border-radius:14px;background:var(--paper)}
.account-cart-empty h2{margin:0 0 6px;font-size:21px}.account-cart-empty p{color:var(--muted);font-size:12px;line-height:1.5}
.account-history-list{display:grid;gap:10px}
.account-history-list article{display:grid;grid-template-columns:116px minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.account-history-list .account-status{justify-self:start;background:var(--green-soft);color:var(--green)}
.account-history-list .account-status.cancelled{background:var(--paper-2);color:var(--muted)}
.account-history-list h2{margin:0 0 4px;font-size:17px}
.account-history-list p{margin:0;color:var(--muted);font-size:11px}
.account-history-list strong{font-size:16px;white-space:nowrap}
.account-master-list .account-round-link,.account-reminder .account-round-link{display:grid;place-items:center;flex:none;margin-left:auto;width:29px;height:29px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:17px;text-decoration:none}
.account-avatar-fallback{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:50%;background:var(--green-soft);color:var(--green);font-size:12px;font-weight:800}
.account-master-list .account-avatar-fallback{width:65px;height:65px;border-radius:7px;font-size:16px}
.account-maker-card-top .account-avatar-fallback{width:76px;height:76px;border-radius:13px;font-size:21px}
.account-widget strong{display:block;font-size:16px}
.account-wallet>strong{font-size:39px}
.account-notifications>div a{font-size:11px;font-weight:800;color:var(--green)}
.account-overview-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(190px,.65fr);min-height:260px;overflow:hidden;border-radius:16px;background:#123d29;color:#fff}
.account-overview-primary{display:flex;flex-direction:column;align-items:start;justify-content:center;padding:28px 32px}
.account-card-kicker{color:var(--green);font-size:10px;font-weight:800;letter-spacing:.12em}
.account-overview-primary .account-card-kicker{color:#a9dbb4}
.account-overview-primary h2{margin:10px 0 9px;font-size:clamp(26px,2.6vw,38px);line-height:1.1;letter-spacing:-.045em}
.account-overview-primary p{max-width:44ch;margin:0 0 22px;color:#d7e7d9;font-size:13px;line-height:1.55}
.account-overview-primary>div{display:flex;gap:8px;flex-wrap:wrap}
.account-overview-primary .primary{background:#f4f7ef;border-color:#f4f7ef;color:#103d28}
.account-overview-primary .secondary{background:transparent;border-color:#a8c4ab;color:#fff}
.account-overview-grid>img{width:100%;height:100%;object-fit:cover}
.account-overview-next{margin-top:27px}
.account-attention{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;border:1px solid #e8d8c8;border-radius:13px;background:var(--paper)}
.account-attention>div{display:grid;justify-items:start;gap:8px}
.account-attention strong{font-size:17px}
.account-attention small{color:var(--muted);font-size:11px}
.account-attention .account-pay{min-width:170px;margin:0}
.account-master-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.account-maker-card{display:flex;flex-direction:column;gap:14px;padding:20px;border:1px solid var(--line);border-radius:15px;background:var(--paper)}
.account-maker-card-top{display:flex;align-items:center;gap:15px}
.account-maker-card-top img{width:76px;height:76px;object-fit:cover;border-radius:13px;background:var(--green-soft)}
.account-maker-card h2{margin:5px 0 3px;font-size:22px;line-height:1.1;letter-spacing:-.035em}
.account-maker-card-top p{margin:0;color:var(--green);font-size:12px}
.account-maker-card>p{min-height:38px;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.account-maker-facts{display:grid;gap:5px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink);font-size:11px;font-weight:700}
.account-maker-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:auto}
.account-maker-buttons .secondary,.account-maker-buttons .account-follow{min-height:35px;padding:0 11px;font-size:10px}
.account-maker-buttons .account-follow{border:1px solid var(--green);border-radius:99px;background:var(--green-soft);color:var(--green);font-weight:800}
.account-reminder-list{display:grid;gap:12px}
.account-reminder-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.account-reminder-card>img{width:100%;height:160px;object-fit:cover;border-radius:10px;background:var(--green-soft)}
.account-reminder-card>div{display:flex;flex-direction:column;align-items:start;justify-content:center}
.account-reminder-card h2{margin:8px 0;font-size:21px;line-height:1.15;letter-spacing:-.035em}
.account-reminder-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.account-reminder-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.account-reminder-card-actions .primary,.account-reminder-card-actions .secondary{min-height:35px;padding:0 13px;font-size:11px}
.account-full-section{margin-top:25px;padding:21px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.account-full-section h2{margin:0 0 8px;font-size:19px}
.account-full-section p{margin:0 0 14px;color:var(--muted);font-size:12px;line-height:1.55}
.account-wallet-balance{padding:28px 30px;border-radius:16px;background:#113d29;color:#fff}
.account-wallet-balance>span{color:#aed8b8;font-size:11px;font-weight:800;letter-spacing:.08em}
.account-wallet-balance>strong{display:block;margin:15px 0 8px;font-size:60px;line-height:1;letter-spacing:-.06em}
.account-wallet-balance>strong small{font-size:23px;letter-spacing:0}
.account-wallet-balance p{margin:0;color:#d7e7d9;font-size:12px;line-height:1.5}
.account-transactions{margin-top:27px}
.account-transaction{display:grid;grid-template-columns:75px minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 15px;border:1px solid var(--line);border-bottom:0;background:var(--paper)}
.account-transaction:first-of-type{border-radius:13px 13px 0 0}
.account-transaction:last-child{border-bottom:1px solid var(--line);border-radius:0 0 13px 13px}
.account-transaction>span:first-child{font-size:19px;font-weight:800}
.account-transaction>span:first-child.positive{color:var(--green)}
.account-transaction>div{display:grid;gap:4px}
.account-transaction strong{font-size:13px}
.account-transaction small,.account-transaction>span:last-child{color:var(--muted);font-size:11px}
.account-settings-card{margin-bottom:14px;padding:21px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}
.account-settings-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}
.account-settings-head h2{margin:0;font-size:19px}
.account-settings-head span{color:var(--muted);font-size:11px}
.account-fields{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:15px}
.account-fields label{display:grid;gap:7px;font-size:11px;font-weight:800}
.account-fields input{height:42px;width:100%;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:var(--paper-2);color:var(--ink);font-size:13px;font-weight:500}
.account-setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 0;border-top:1px solid var(--line)}
.account-setting-row strong{font-size:13px}
.account-setting-row p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
.account-setting-row>.secondary{min-height:34px;padding:0 13px;white-space:nowrap;font-size:11px}
.account-push-note{padding:16px;margin-top:10px;border-radius:10px;background:var(--green-soft)}
.account-push-note strong{font-size:13px}
.account-push-note p{margin:5px 0 13px;color:var(--muted);font-size:11px;line-height:1.5}
.account-push-note .secondary{min-height:34px;font-size:11px}
.modal-card:has(.account-address-form){max-height:min(90dvh,760px);overflow:auto}
.account-address-form{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.account-address-form .modal-actions{grid-column:1/-1}
.dark .account-overview-grid,.dark .account-wallet-balance{background:#173923}
.dark .account-attention{border-color:var(--line)}
@media(max-width:1300px){.account-master-grid{grid-template-columns:1fr}.account-maker-card>p{min-height:0}.account-view-head h1{font-size:42px}}
@media(max-width:850px){.account-view-head>span{display:block;margin-bottom:8px}.account-view-head p{font-size:13px}.account-history-list article{grid-template-columns:100px minmax(0,1fr) auto}.account-history-list article .secondary{grid-column:2/-1;justify-self:start}.account-master-grid{grid-template-columns:1fr}}
@media(max-width:550px){.account-view-head>div{align-items:start;flex-direction:column}.account-view-head h1{font-size:36px}.account-overview-grid{grid-template-columns:1fr}.account-overview-grid>img{height:170px;order:-1}.account-overview-primary{padding:20px}.account-overview-primary h2{font-size:27px}.account-attention{align-items:stretch;flex-direction:column}.account-attention .account-pay{width:100%}.account-history-list article{grid-template-columns:1fr auto;gap:9px;padding:14px}.account-history-list .account-status{grid-column:1/-1}.account-history-list article .secondary{grid-column:1/-1}.account-reminder-card{grid-template-columns:100px minmax(0,1fr);gap:10px}.account-reminder-card>img{height:130px}.account-reminder-card h2{font-size:16px}.account-reminder-card p{display:none}.account-reminder-card-actions{margin-top:10px}.account-reminder-card-actions>*{width:100%}.account-fields{grid-template-columns:1fr}.account-setting-row{align-items:start}.account-setting-row>.secondary{padding:0 9px}.account-transaction{grid-template-columns:55px 1fr}.account-transaction>span:last-child{display:none}.account-wallet-balance>strong{font-size:49px}.account-master-list .account-avatar-fallback{width:48px;height:48px}.account-tabs a{min-width:0;flex:1;padding:0 9px;font-size:11px}.account-waitlist{align-items:stretch;flex-direction:column}.account-cart-item{grid-template-columns:75px 1fr;gap:9px}.account-cart-item>img{width:75px;height:75px}.account-cart-item h2{font-size:14px}.account-cart-end{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding-top:8px;border-top:1px solid var(--line)}.account-cart-summary{align-items:stretch;flex-direction:column}.account-cart-summary .primary{width:100%}.account-address-form{grid-template-columns:1fr}}
/* Кабинет на API: состояния блоков, нет фото, опасные действия */
.account-block-state{padding:22px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);text-align:center;display:grid;gap:10px;justify-items:center}
.account-block-state.error{border-color:#e8b7b2;color:#b3261e}
.account-block-state p{margin:0}
.account-no-photo{background:linear-gradient(135deg,var(--green-soft),var(--paper-2))}
.primary.danger{background:#b3261e;border-color:#b3261e}
.account-ticket-actions{flex-wrap:wrap}
.account-consent-banner{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;padding:15px 18px;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:14px;background:var(--green-soft)}
.account-consent-banner strong{font-size:14px}
.account-consent-banner p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.account-consent-banner .primary{white-space:nowrap;min-height:38px;padding:0 16px}
.account-delete-label{display:grid;gap:6px;margin:14px 0 4px;font-size:12px;font-weight:700}
.account-delete-label input{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font-size:15px}
@media(max-width:650px){.account-consent-banner{flex-direction:column;align-items:stretch}}
