.account-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(32, 39, 45, .28);
  overflow: auto;
}
.account-dialog::backdrop { background: rgba(32, 39, 45, .62); backdrop-filter: blur(3px); }
.account-dialog__head { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:30px 32px 22px; border-bottom:1px solid var(--line); }
.account-dialog__head h2 { margin:7px 0 0; font:600 clamp(30px,4vw,44px)/1.04 Arial,"Helvetica Neue",sans-serif; letter-spacing:-1.7px; }
.account-dialog__close { flex:0 0 auto; width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--ink); font:400 26px/1 Arial,sans-serif; cursor:pointer; }
.account-dialog__body { padding:26px 32px 32px; }
.account-note { margin:0 0 22px; color:var(--muted); font-size:14px; line-height:1.55; }
.account-form { display:grid; gap:15px; }
.account-form label { display:grid; gap:7px; color:var(--ink); font-size:12px; font-weight:750; }
.account-form input { width:100%; min-height:48px; padding:11px 13px; border:1px solid #cfd4d1; border-radius:9px; background:#fff; color:var(--ink); font:inherit; }
.account-form input:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(243,112,33,.12); outline:0; }
.account-password-control { position:relative; width:100%; }
.account-password-control input { padding-right:94px; }
.account-password-toggle { position:absolute; top:50%; right:7px; transform:translateY(-50%); min-height:34px; padding:0 11px; border:1px solid #d5d8d5; border-radius:7px; background:#f7f6f2; color:var(--ink); font:inherit; font-size:11px; font-weight:750; cursor:pointer; }
.account-password-toggle:hover,.account-password-toggle:focus-visible { border-color:var(--orange); color:var(--orange-dark); outline:0; }
.account-form__remember { display:flex !important; grid-template-columns:auto 1fr; align-items:flex-start; gap:9px !important; color:var(--muted) !important; font-weight:600 !important; line-height:1.45; }
.account-form__remember input { width:17px; min-height:17px; height:17px; margin-top:2px; }
.account-button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:0 18px; border:0; border-radius:8px; background:var(--orange); color:#fff; font:inherit; font-size:13px; font-weight:800; cursor:pointer; }
.account-button:hover,.account-button:focus-visible { background:var(--orange-dark); }
.account-button.secondary { background:var(--ink); }
.account-button.secondary:hover,.account-button.secondary:focus-visible { background:#11171b; }
.account-error { margin:0; padding:11px 13px; border-radius:8px; background:#fff1ec; color:#8b331c; font-size:12px; line-height:1.5; }
.account-success { margin:0; padding:11px 13px; border-radius:8px; background:#eef7ef; color:#315a3c; font-size:12px; line-height:1.5; }
.account-text-button { justify-self:start; padding:2px 0; border:0; background:transparent; color:var(--orange-dark); font:inherit; font-size:12px; font-weight:800; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.account-text-button:hover,.account-text-button:focus-visible { color:var(--orange); outline:0; }
.account-loading { padding:18px 0; color:var(--muted); }
.account-welcome { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:22px; }
.account-welcome h3 { margin:0 0 5px; font-size:24px; letter-spacing:-.7px; }
.account-welcome p { margin:0; color:var(--muted); font-size:13px; }
.account-logout { padding:0; border:0; background:transparent; color:var(--orange); font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.account-products { display:grid; gap:12px; }
.account-product { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:18px; align-items:center; padding:18px; border:1px solid var(--line); border-radius:12px; background:#f8f8f4; }
.account-product h4 { margin:0 0 5px; font-size:18px; }
.account-product p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.account-product__status { display:inline-flex; margin-top:9px; padding:4px 8px; border-radius:999px; background:#e4efe6; color:#315a3c; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.account-product__status.read-only { background:#fff0d8; color:#835511; }
.account-product__status.blocked { background:#eee; color:#6b6f72; }
.account-product__link { min-width:122px; min-height:46px; display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:0 17px; border:1px solid var(--orange); border-radius:8px; background:var(--orange); color:#fff !important; box-shadow:0 8px 20px rgba(243,112,33,.18); font-size:13px; font-weight:800; text-decoration:none; cursor:pointer; font-family:inherit; transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease; }
.account-product__link:hover,.account-product__link:focus-visible { background:var(--orange-dark); border-color:var(--orange-dark); transform:translateY(-1px); box-shadow:0 10px 24px rgba(243,112,33,.24); outline:0; }
.account-product__arrow { font-size:18px; line-height:1; }
.account-product__link[aria-disabled="true"] { border-color:#d7dbd8; background:#d7dbd8; color:#777 !important; box-shadow:none; pointer-events:none; }
.account-empty { padding:18px; border:1px dashed var(--line); border-radius:12px; color:var(--muted); font-size:13px; line-height:1.55; }
.account-password-intro { margin-bottom:18px; }
.account-password-intro strong { display:block; margin-bottom:5px; font-size:18px; }
.account-password-intro p { margin:0; color:var(--muted); font-size:13px; line-height:1.55; }
@media (max-width:700px){
  .account-dialog__head{padding:22px 20px 18px}.account-dialog__body{padding:20px}.account-product{grid-template-columns:1fr}.account-product__link{width:100%}.account-welcome{flex-direction:column}.account-dialog{max-height:calc(100dvh - 16px)}
}
