/* ==========================================================================
   Account — כניסה בקוד חד-פעמי + לוח אישי
   ========================================================================== */
.fgroup { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }

.login { display: grid; border-bottom: var(--bw) solid var(--ink); }
.login[hidden], .dash[hidden] { display: none; }
.login__l { padding: 40px var(--gutter); display: flex; flex-direction: column; gap: 18px; }
.login h1 { font-size: clamp(48px, 13vw, 88px); line-height: .96; }
.login .form-stack { max-width: 460px; gap: 16px; }
.login .btn--lg { min-height: 58px; }
.login__btns { display: flex; flex-wrap: wrap; }
.login__r { min-height: 240px; border-top: var(--bw) solid var(--ink); }
.login__art { position: absolute; inset: 0; margin: auto; width: 60%; max-width: 420px; height: auto; }

.dash { padding-block: 32px 80px; }
.dash__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.dash h1 { font-size: clamp(40px, 9vw, 64px); margin-top: 6px; }
.dash__grid { display: grid; gap: 20px; align-items: start; }
.dnav { display: flex; overflow-x: auto; border: var(--bw) solid var(--ink); background: var(--surface); scrollbar-width: none; }
.dnav button { flex: 1 0 auto; min-height: 52px; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.dnav button + button { border-inline-start: var(--bw) solid var(--ink); }
.dnav button[aria-current="page"] { background: var(--ink); color: #fff; }
.dnav small { font-size: 12px; font-weight: 400; opacity: .7; }

.dpanel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dorder { border: var(--bw) solid var(--ink); background: var(--surface); }
.dorder__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 14px 16px; border-bottom: var(--bw) solid var(--ink); }
.dorder__h > strong:first-child { direction: ltr; }
.dorder__h .muted { font-size: 14px; }
.dorder__st { font-size: 12px; font-weight: 800; padding: 3px 10px; background: var(--ink); color: #fff; }
.dorder__st.is-live { background: var(--accent); color: var(--ink); }
.dorder__tot { margin-inline-start: auto; font-size: 18px; }
.dorder__b { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.ditem { display: flex; gap: 12px; align-items: center; }
.ditem__img { width: 56px; height: 56px; background: var(--stage); position: relative; flex-shrink: 0; }
.ditem__img img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.ditem span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.ditem span span { font-size: 13px; color: var(--ink-2); }
.dorder__a { display: flex; flex-wrap: wrap; gap: 8px; }
.dorder__a .btn { min-height: 46px; }
.dsample { font-size: 12px; font-weight: 700; background: #FBF2DF; color: var(--warn); padding: 2px 8px; }

.dnudge { display: grid; grid-template-columns: 72px 1fr; gap: 6px 16px; align-items: center; border: var(--bw) solid var(--ink); background: var(--accent); padding: 16px; }
.dnudge img { grid-row: span 2; width: 72px; }
.dnudge strong { font-size: 19px; }
.dnudge .btn { grid-column: 1 / -1; background: var(--ink); color: #fff; }
.dnudge .btn:hover { background: #fff; color: var(--ink); }

.dbox { border: var(--bw) solid var(--ink); background: var(--surface); }
.dbox__h { padding: 14px 16px; border-bottom: var(--bw) solid var(--ink); font-weight: 800; }
.dbox__r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.dbox__r:last-child { border-bottom: 0; }
.dbox__r .muted { font-size: 14px; }
.dform { border: var(--bw) solid var(--ink); background: var(--surface); padding: 20px 16px; display: grid; gap: 16px; }
.dform .field { font-weight: 400; }
.dform .fgroup > label { font-weight: 700; }
.addr { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

@media (min-width: 768px) {
  .login__l { padding: 64px 48px; }
  .dorder__h, .dorder__b { padding-inline: 22px; }
  .dorder__b { flex-direction: row; justify-content: space-between; align-items: center; }
  .dform { grid-template-columns: 1fr 1fr; padding: 24px 22px; }
  .dform .full { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .login { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .login__l { padding: 72px 64px; justify-content: center; }
  .login__r { border-top: 0; border-inline-start: var(--bw) solid var(--ink); }
  .dash { padding-block: 48px 96px; }
  .dash__grid { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
  .dnav { flex-direction: column; position: sticky; top: 24px; }
  .dnav button { justify-content: space-between; min-height: 56px; }
  .dnav button + button { border-inline-start: 0; border-top: var(--bw) solid var(--ink); }
}
