/* ==========================================================================
   Ichud Tosh — store accounts: login, My Account, checkout, My Things and
   the player bar, the members' Phone Book, mailing labels + their print CSS.
   docs/ACCOUNTS-SPEC.md §6.2 (.itplayer), §7.3, §8.5 (Avery 5160/8160).
   Markup: public/js/account.js. Loaded after style.css (index.html).

   Old-Safari rules for this file (filtered tablets, old iPads):
   - every var() / calc() / env() comes AFTER a plain fallback declaration;
   - no flex `gap` (Safari < 14.1 ignores it): spacing is margins;
   - grids sit behind @supports (display:grid), with stacked margins first;
   - no logical properties without a physical twin + an html[dir=rtl] flip.
   Palette = the style.css tokens (espresso ink, clay/tan brass, cream).
   ========================================================================== */

/* ---- header + drawer link (shares the .cartbtn pill) --------------------- */
.acctbtn{ text-decoration:none; }
.acctbtn__ic{ width:19px; height:19px; flex:0 0 auto; color:#1c110c; color:var(--ink); }
@media (max-width:360px){ .hdr__tools .acctbtn{ display:none; } }   /* the drawer still has it */
/* logged in (account.js paintHeader): a green badge on the pill, the icon
   green, and the first name on the label where there is room for it.

   The badge is absolutely placed, so the pill is exactly as wide logged in
   as logged out: an inline dot added 14px and pushed the phone header over
   its edge between 361px and 375px.

   The name is capped HARD. The bar is fitted to the pixel while the menu
   shows (1180px to 1480px, see style.css "links show from 1180px"), and a
   long first name there ran the last menu link under these buttons, which
   is the overlap the office photographed in September. So: a short cap
   while the menu shows, a roomier one while it is folded into the burger
   or the bar is wide, and under 941px style.css hides every pill label. */
.acctbtn.is-in::before{
  content:""; position:absolute; top:-3px; right:-3px; width:9px; height:9px;
  border-radius:50%; background:#1d7a4c; border:2px solid #fff;
}
.acctbtn.is-in .acctbtn__ic{ color:#1d7a4c; }
.acctbtn.is-in .lbl{
  display:block; max-width:8em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
@media (min-width:1180px) and (max-width:1480px){ .acctbtn.is-in .lbl{ max-width:3.6em; } }

/* ---- shared bits -------------------------------------------------------- */
.acct-narrow{ max-width:560px; margin-left:auto; margin-right:auto; }
.acct-h{ font-size:1.45rem; margin:0 0 .5em; }
.acct-h3{ font-size:1.12rem; margin:0 0 .6em; }

/* the browsers a man is signed in on: one to a line, its name and when it was
   last used on the left, the button to end it on the right */
.acct-seats{ list-style:none; margin:10px 0 16px; padding:0; }
.acct-seat{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  flex-wrap:wrap; padding:.6em 0;
  border-bottom:1px solid #d6c6b8; border-bottom:1px solid var(--line-2);
}
.acct-seat:last-child{ border-bottom:0; }
.acct-seat__w{ display:flex; align-items:center; gap:.6em; flex-wrap:wrap; min-width:0; }
.acct-seat__w strong{ word-break:break-word; }
.pill--sm{ padding:.1em .6em; font-size:.72rem; background:#efe3da; background:var(--brass-soft); color:#7a5f4c; }
.acct-wait{ padding:28px 0; text-align:center; }
.acct-fail{ max-width:560px; margin:10px auto; text-align:center; }
.acct-fail p{ margin:12px 0 0; }
.acct-lead{ max-width:760px; font-size:1.02rem; }
.acct-back{ margin:0 0 14px; font-size:.95rem; }
.acct-back a{ color:#a88b79; color:var(--brass); font-weight:600; }
.acct-back a:hover{ color:#1c110c; color:var(--ink); }
.acct-note{ font-size:1.8rem; color:#c7ae9f; color:var(--brass-2); }
.acct-priv{ color:#7a5f4c; margin-top:14px; }
.acct-cur{ font-weight:600; color:#1c110c; color:var(--ink); word-break:break-all; margin:0 0 10px; }
.acct-note-box{
  background:#efe3da; background:var(--brass-soft);
  border:1px solid #d6c6b8; border:1px solid var(--line-2);
  border-radius:12px; padding:.75em 1em; color:#43301f; margin:10px 0;
}
.acct-acts{ margin:-4px; }
.acct-acts > *, .acct-acts > .btn{ margin:4px; vertical-align:middle; }
.acct-link{
  background:none; border:0; padding:0; font:inherit; cursor:pointer;
  color:#a88b79; color:var(--brass); font-weight:600; text-decoration:underline;
}
.acct-link:hover{ color:#1c110c; color:var(--ink); }
/* The reference wraps its whole account in #acctMain; ours is the page
   itself, so the same two rules are written for both — the icon in a button
   is sized by the text around it either way. */
#acctMain .btn svg, .acct-link svg, .btn svg{ width:1.15em; height:1.15em; flex:0 0 auto; }
#acctMain .btn .ic, .btn .ic{ width:1.05em; height:1.05em; }
.btn .ic{ vertical-align:-.12em; }

/* ---- login -------------------------------------------------------------- */
.acct-login{ padding:28px; }
.acct-ctx{
  background:#efe3da; background:var(--brass-soft);
  border-radius:12px; padding:.7em 1em; margin:0 0 18px; font-weight:600; color:#43301f;
}
.acct-alt{ margin:2px 0 0; }
/* the "never read this code to anyone" line — the most important sentence */
.acct-never{
  margin:14px 0 18px; padding:.85em 1.1em; border-radius:12px;
  background:#fdf3e7; border:2px solid #c98a3d; color:#5a3410; font-weight:700; line-height:1.55;
}
input.acct-code{
  font-size:1.6rem; letter-spacing:.18em; text-align:center; font-weight:700;
  font-family:Menlo, Consolas, "Courier New", monospace; direction:ltr; max-width:300px;
}
.acct-resend{ margin:18px 0 6px; }
.acct-resend .small{ margin:0 6px; }
.acct-help{ margin-top:10px; }
.acct-ts{ margin:4px 0; }
.acct-ts:empty{ display:none; }

/* ---- account shell ------------------------------------------------------ */
/* the tabs here are links, each its own URL, so the rule covers both */
.acct-tabbar .tabs button, .acct-tabbar .tabs a{ font-size:.92rem; }
.acct.section{ padding-top:34px; }
.acct-cols > .panel{ margin-bottom:18px; }
@supports (display:grid){
  .acct-cols{ display:grid; grid-template-columns:1fr; grid-gap:18px; gap:18px; align-items:start; }
  .acct-cols > .panel{ margin:0; }
  .acct-cols > .panel + .panel{ margin:0; }
}
@media (min-width:900px){
  @supports (display:grid){ .acct-cols{ grid-template-columns:1fr 1fr; } }
}
.acct-reauth .formmsg{ margin-bottom:10px; }

/* ---- My Things: library grid ------------------------------------------ */
.libgrid > .libcard{ margin-bottom:18px; }
@supports (display:grid){
  .libgrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); grid-gap:18px; gap:18px; }
  .libgrid > .libcard{ margin:0; }
}
.libcard{
  background:#fffcf8; background:var(--paper);
  border:1px solid #e7dcd2; border:1px solid var(--line);
  border-radius:18px; overflow:hidden; box-shadow:0 1px 2px rgba(28,17,12,.06), 0 2px 8px rgba(28,17,12,.05);
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-box-orient:vertical; -webkit-flex-direction:column; flex-direction:column;
}
.libcard__img{
  display:block; position:relative; padding-top:100%; overflow:hidden;
  background:#2e1e14; background:linear-gradient(150deg,#43301f,#1c110c);
}
.libcard__img img, .libcard__img .acct-note{
  position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover;
}
.libcard__img .acct-note{ display:block; text-align:center; line-height:1; padding-top:38%; font-size:2.4rem; }
.libcard__b{ padding:14px 16px 16px; }
.libcard__t{ font-size:1.05rem; margin:0 0 .5em; line-height:1.35; }
.libcard__t a{ color:#1c110c; color:var(--ink); }
.libcard__acts{ margin:-4px; }
.libcard__acts .btn{ margin:4px; }

/* ---- album -------------------------------------------------------------- */
.albumhd{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center; margin:0 0 20px; }
.albumhd__img{
  -webkit-flex:0 0 140px; flex:0 0 140px; width:140px; height:140px; border-radius:16px; overflow:hidden;
  background:#2e1e14; text-align:center; margin-right:20px;
}
html[dir=rtl] .albumhd__img{ margin-right:0; margin-left:20px; }
.albumhd__img img{ width:100%; height:100%; object-fit:cover; }
.albumhd__img .acct-note{ display:block; line-height:140px; font-size:2.6rem; }
.albumhd__b h2{ margin:0 0 .3em; }
.albumhd__b p{ margin:.3em 0 0; }
@media (max-width:560px){
  .albumhd__img{ -webkit-flex-basis:96px; flex-basis:96px; width:96px; height:96px; }
  .albumhd__img .acct-note{ line-height:96px; }
}
/* #77.25: an album with a kuntres — the tracks, and the booklet beside them */
.albumwrap{ display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:26px; -webkit-align-items:start; align-items:start; }
.albumwrap__kun{ margin:0; position:-webkit-sticky; position:sticky; top:calc(var(--hdr, 70px) + 18px); }
@media (max-width:820px){ .albumwrap{ grid-template-columns:1fr; } .albumwrap__kun{ position:static; } }
.trks{ list-style:none; margin:0 0 22px; padding:0; background:#fff; border:1px solid #e7dcd2; border-radius:16px; overflow:hidden; }
.trk{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
  padding:8px 12px; border-bottom:1px solid #efe6de;
}
.trk:last-child{ border-bottom:0; }
.trk > *{ margin:0 6px; }
.trk.is-now{ background:#f6ece3; }
.trk.is-now .trk__t{ font-weight:700; color:#1c110c; }
.trk__b, .trk__dl{
  -webkit-flex:0 0 auto; flex:0 0 auto; width:40px; height:40px; border-radius:100px; cursor:pointer;
  border:1px solid #d6c6b8; background:#fff; color:#1c110c; padding:9px; line-height:0;
}
.trk__b{ background:#a88b79; background:linear-gradient(180deg,#c7ae9f,#a88b79); border-color:#a88b79; color:#fff; }
.trk__b svg, .trk__dl svg{ width:20px; height:20px; }
.trk__dl:hover{ border-color:#a88b79; }
/* the record's contents on the shop page: the same list with nothing to press,
   because he has not bought it yet */
.trks--plain .trk{ padding-inline-start:16px; }
/* a track the office has named but not yet sent up: it keeps its place in
   the list, greyed, so the contents read whole */
.trk__b--off{ opacity:.35; cursor:default; }
.trk__n{ -webkit-flex:0 0 1.6em; flex:0 0 1.6em; color:#7c6c60; text-align:center; font-variant-numeric:tabular-nums; }
.trk__t{ -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; }
.trk__f{ display:block; font-size:.78rem; color:#7c6c60; line-height:1.3; margin-top:1px; }
.trk__now{
  display:inline-block; font-size:.74rem; font-weight:700; color:#fff; background:#a88b79;
  border-radius:100px; padding:.05em .6em; vertical-align:middle;
}
.trk__now.hidden{ display:none; }
.trk__d{ -webkit-flex:0 0 auto; flex:0 0 auto; color:#7c6c60; font-size:.9rem; font-variant-numeric:tabular-nums; }
.trkvid{ margin:0 0 22px; }
.trkvid h4{ margin:0 0 .4em; }
.trkvid video{ width:100%; max-width:760px; border-radius:14px; background:#000; display:block; }
.dls{ margin:0 0 10px; }
.dlrow{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
  -webkit-justify-content:space-between; justify-content:space-between;
  background:#fff; border:1px solid #e7dcd2; border-radius:14px; padding:10px 14px; margin:0 0 8px;
}
.dlrow__t{ min-width:0; margin:0 10px; overflow-wrap:break-word; word-break:break-word; }

/* ---- the player bar: fixed, outside #main, survives every render ------- */
.itplayer{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  background:#1c110c; background:linear-gradient(135deg,#2e1e14,#1c110c);
  color:#f3e9e1; box-shadow:0 -6px 24px rgba(28,17,12,.28);
  border-top:2px solid #a88b79;
  padding:8px 12px; padding-bottom:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom));
}
.itplayer.hidden{ display:none; }
.itplayer__in{
  max-width:1180px; margin:0 auto;
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
}
.itplayer__ctl{
  -webkit-flex:0 0 auto; flex:0 0 auto; direction:ltr;
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
}
.itplayer__b{
  width:40px; height:40px; border-radius:100px; border:0; cursor:pointer; margin:0 2px;
  background:rgba(255,255,255,.08); color:#f3e9e1; padding:9px; line-height:0;
}
.itplayer__b svg{ width:22px; height:22px; }
.itplayer__b--main{ width:48px; height:48px; padding:11px; background:#c7ae9f; background:linear-gradient(180deg,#c7ae9f,#a88b79); color:#1c110c; }
.itplayer__b[disabled]{ opacity:.35; cursor:default; }
.itplayer__mid{ -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; margin:0 12px; }
.itplayer__t{
  display:block; color:#fff; font-weight:600; font-size:.95rem; line-height:1.35;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.itplayer__t:hover{ color:#e9d9cc; }
.itplayer__seek{
  direction:ltr; display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
}
.itplayer__seek input[type=range]{
  -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; width:100%; margin:0 10px 0 0; accent-color:#c7ae9f;
  background:transparent; border:0; padding:0; height:22px; box-shadow:none;
}
.itplayer__time{ -webkit-flex:0 0 auto; flex:0 0 auto; font-size:.8rem; color:#d9c9bc; font-variant-numeric:tabular-nums; white-space:nowrap; }
.itplayer__msg{ font-size:.82rem; color:#ffd9a8; line-height:1.3; }
.itplayer__msg.hidden{ display:none; }
.itplayer__x{
  -webkit-flex:0 0 auto; flex:0 0 auto; width:34px; height:34px; border-radius:100px; border:0; cursor:pointer;
  background:transparent; color:#c9b6a6; padding:7px; line-height:0;
}
.itplayer__x svg{ width:20px; height:20px; }
.itplayer__x:hover{ color:#fff; background:rgba(255,255,255,.08); }
body.has-player{ padding-bottom:84px; }
body.has-player .toast{ bottom:96px; }
body.has-player .toast.toast--top{ bottom:auto; }
@media (max-width:560px){
  .itplayer{ padding-left:8px; padding-right:8px; }
  .itplayer__b{ width:36px; height:36px; padding:8px; margin:0 1px; }
  .itplayer__b--main{ width:44px; height:44px; padding:10px; }
  .itplayer__mid{ margin:0 8px; }
  .itplayer__time{ font-size:.72rem; }
}

/* ---- My Orders ---------------------------------------------------------- */
.ord{
  background:#fff; border:1px solid #e7dcd2; border-radius:18px; padding:16px 18px; margin:0 0 14px;
  box-shadow:0 1px 2px rgba(28,17,12,.06);
}
.ord__hd b{ font-size:1.08rem; color:#1c110c; margin:0 8px 0 0; }
html[dir=rtl] .ord__hd b{ margin:0 0 0 8px; }
.ord__hd .small{ margin:0 6px; }
.ost{ display:inline-block; font-size:.78rem; font-weight:700; border-radius:100px; padding:.15em .75em; vertical-align:middle; }
.ost--pending{ background:#fdf3e7; color:#8a5a16; border:1px solid #ecd2a7; }
.ost--paid{ background:#eaf6ef; color:#1d7a4c; border:1px solid #b9e0cb; }
.ost--cancelled, .ost--refunded{ background:#f1ece8; color:#7c6c60; border:1px solid #e0d6cd; }
/* the matzo orders (read-only): received → the office will call; handled */
.ost--new{ background:#fdf3e7; color:#8a5a16; border:1px solid #ecd2a7; }
.ost--handled{ background:#eaf6ef; color:#1d7a4c; border:1px solid #b9e0cb; }
.ords__h{ margin:22px 0 10px; }
.ords__note{ margin:2px 0 0; }
.ord__mem{ color:#1d7a4c; font-weight:600; }
.ord__items{ list-style:none; margin:10px 0 0; padding:0; }
.ord__items li{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-justify-content:space-between; justify-content:space-between;
  padding:4px 0; border-bottom:1px dashed #efe6de; font-size:.95rem;
}
.ord__items li span:first-child{ min-width:0; margin:0 10px 0 0; }
html[dir=rtl] .ord__items li span:first-child{ margin:0 0 0 10px; }
.ord__tot{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-justify-content:space-between; justify-content:space-between;
  padding-top:8px; font-weight:700; color:#1c110c;
}
.ord p{ margin:8px 0 0; }

/* ---- membership --------------------------------------------------------- */
.mem__yes{ font-size:1.25rem; font-weight:700; color:#1d7a4c; margin:0 0 .4em; }

/* ---- checkout (no card) ------------------------------------------------- */
.chk > .panel{ margin-bottom:18px; }
@supports (display:grid){
  .chk{ display:grid; grid-template-columns:1fr; grid-gap:18px; gap:18px; align-items:start; }
  .chk > .panel{ margin:0; }
  .chk > .panel + .panel{ margin:0; }
}
@media (min-width:900px){
  @supports (display:grid){ .chk{ grid-template-columns:.95fr 1.05fr; } }
}
.qline{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:baseline; align-items:baseline;
  -webkit-flex-wrap:wrap; flex-wrap:wrap; padding:.55em 0; border-bottom:1px solid #e7dcd2;
}
.qline__n{ -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; margin:0 10px 0 0; }
html[dir=rtl] .qline__n{ margin:0 0 0 10px; }
.qline__p{ font-weight:700; white-space:nowrap; color:#1c110c; }
.qline--off .qline__n{ color:#7c6c60; text-decoration:line-through; }
.qline__st{ font-size:.8rem; font-weight:700; color:#8a5a16; background:#fdf3e7; border-radius:100px; padding:.1em .7em; margin:0 6px; }
.qline__x{ font-size:.85rem; }
.qline--disc .qline__n, .qline--disc .qline__p{ color:#1d7a4c; }
.chk__lines .summary__total{ margin-top:6px; }
.chk__lines p{ margin:10px 0 0; }
.chk-done p{ font-size:1.05rem; }
/* the cart page: member line + the server's total inside the dark .cartfoot */
#cartQuote:empty{ display:none; }
.cartq__line{ color:#bfe3cc; font-weight:600; }
.cartq__line b{ color:#fff; }
.cartq__hint{ color:#e7dcd2; font-size:.92rem; max-width:420px; }
.cartq__line{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center; gap:10px; }
/* the same saving on the checkout's own summary, which is a light panel */
.summary__row--disc{ color:#1d7a4c; font-weight:600; }
.cartrow__st{
  display:inline-block; margin-top:4px; font-size:.78rem; font-weight:700; color:#8a5a16;
  background:#fdf3e7; border:1px solid #ecd2a7; border-radius:100px; padding:.1em .7em;
}

/* ---- members' Phone Book (§7.3) ---------------------------------------- */
.pbform{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap; margin:-5px -5px 8px; }
.pbform > *{ margin:5px; }
.pbform input[type=search]{
  -webkit-flex:1 1 260px; flex:1 1 260px; min-width:0; width:auto;
  padding:.7em .9em; border:1px solid #d6c6b8; border-radius:12px; background:#fff; font:inherit; font-size:1rem;
  -webkit-appearance:none;
}
.pbform select{ -webkit-flex:0 1 220px; flex:0 1 220px; width:auto; }
.pbbar{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap;
  -webkit-align-items:center; align-items:center; -webkit-justify-content:space-between; justify-content:space-between;
  background:#fffcf8; border:1px solid #e7dcd2; border-radius:14px; padding:8px 12px; margin:6px 0 14px;
  position:-webkit-sticky; position:sticky; top:74px; top:calc(var(--hdr) + 6px); z-index:5;
}
.pbbar > *{ margin:4px; }
.pbbar__n{ font-weight:700; color:#1c110c; }
.pbbar__add select{ width:auto; display:inline-block; padding-top:.45em; padding-bottom:.45em; }
.pbbar__add input[type=text]{ width:190px; display:inline-block; padding:.45em .7em; }
.pbbar__add input.hidden{ display:none; }
.pbbar__add > *{ margin:2px; vertical-align:middle; }
.pbgrid > .pbcard{ margin-bottom:12px; }
@supports (display:grid){
  .pbgrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); grid-gap:12px; gap:12px; }
  .pbgrid > .pbcard{ margin:0; }
}
.pbcard{
  background:#fff; border:1px solid #e7dcd2; border-radius:14px; padding:12px 14px;
  box-shadow:0 1px 2px rgba(28,17,12,.05);
}
.pbcard__pick{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:flex-start; align-items:flex-start; cursor:pointer; }
.pbcard__pick input{ -webkit-flex:0 0 auto; flex:0 0 auto; width:19px; height:19px; margin:.25em 0 0; accent-color:#1c110c; }
.pbcard__nm{ margin:0 10px; min-width:0; }
.pbcard__nm b{ display:block; font-size:1.06rem; color:#1c110c; line-height:1.35; }
.pbcard__nm span{ display:block; color:#43301f; font-size:.93rem; line-height:1.35; }
.pbcard__a{ margin:6px 0 0; font-size:.9rem; color:#2b211a; text-align:left; }
.pbcard__ph{ margin:6px -4px 0; }
.pbtel{
  display:inline-block; margin:2px 4px; padding:.25em .7em; border-radius:100px; font-size:.88rem;
  border:1px solid #d6c6b8; background:#fffcf8; color:#1c110c; white-space:nowrap;
}
.pbtel:hover{ border-color:#a88b79; color:#1c110c; }
.pbtel__k{ color:#7c6c60; font-weight:600; }
.pbpager{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-justify-content:space-between; justify-content:space-between;
  -webkit-align-items:center; align-items:center; margin:16px 0 4px;
}

/* ---- mailing lists ------------------------------------------------------ */
.lblists{ margin:0 0 14px; }
.lblist{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-justify-content:space-between; justify-content:space-between;
  -webkit-align-items:center; align-items:center;
  padding:.75em 1em; border:1px solid #d6c6b8; border-radius:12px; background:#fff; margin:0 0 8px; color:#1c110c;
}
.lblist:hover{ border-color:#a88b79; color:#1c110c; }
.lblist b{ min-width:0; margin:0 10px 0 0; }
html[dir=rtl] .lblist b{ margin:0 0 0 10px; }
.lblnew{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap; margin:-4px; }
.lblnew > *{ margin:4px; }
.lblnew input{ -webkit-flex:1 1 220px; flex:1 1 220px; width:auto; min-width:0; }
.lblhd h2{ margin:0 0 .2em; }
.lblhd{ margin:0 0 12px; }
.lblitems{ background:#fff; border:1px solid #e7dcd2; border-radius:14px; margin:14px 0 8px; max-height:60vh; overflow:auto; -webkit-overflow-scrolling:touch; }
.lblitem{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
  padding:.5em .9em; border-bottom:1px solid #efe6de; cursor:pointer;
}
.lblitem:last-child{ border-bottom:0; }
.lblitem input{ -webkit-flex:0 0 auto; flex:0 0 auto; width:18px; height:18px; margin:0; accent-color:#1c110c; }
.lblitem__n{ -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; margin:0 10px; }
.lblitem__c{ -webkit-flex:0 0 auto; flex:0 0 auto; font-size:.88rem; }
.lblcustom{ margin-top:18px; }
.lblcustom summary{ cursor:pointer; font-weight:700; color:#1c110c; }
.lblcustom .form{ margin-top:14px; }

/* ---- the print page controls ------------------------------------------- */
.lblpanel{ max-width:760px; }
.lbllabel{ font-size:.87rem; font-weight:600; color:#1c110c; display:block; margin-bottom:6px; }
.lblopts > .field{ margin-bottom:14px; }
.lblopts input[type=number]{ max-width:120px; }
.lblstyle{ margin-bottom:6px; }
.lblnudge{ direction:ltr; }
.lblnudge .btn{ min-width:44px; margin:2px; }
.lblnudge .small{ margin:0 8px; }

/* ---- Avery 5160 / 8160 sheet (§8.5): 30 labels, 3 × 10, 1" × 2⅝",
   absolute positions in inches — no grid, no flex inside the sheet.
   Scoped to .lblsheet: a bare .lbl would also catch the header's
   span.lbl text in the cart and account buttons. The @page rule is added
   by account.js on the print route only (printMode), so printing any other
   page of the site keeps the printer's own margins. -------------------- */
.lblsheets{ direction:ltr; overflow-x:auto; -webkit-overflow-scrolling:touch; padding:18px 0 6px; }
.lblsheets > .formmsg, .lblsheets > .acct-wait, .lblsheets > .acct-fail{ direction:inherit; }
.lblsheet{
  position:relative; width:8.5in; height:11in; overflow:hidden; direction:ltr; background:#fff;
  page-break-after:always; margin:0 auto 24px; box-shadow:0 1px 6px rgba(0,0,0,.2);
}
.lblsheet .lbl{
  position:absolute; width:2.625in; height:1in; padding:.07in .12in; box-sizing:border-box; overflow:hidden;
  font:9.5pt/1.18 Arial, "Noto Sans Hebrew", sans-serif; color:#000; text-align:left;
}
.lblsheet .lbl div{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

@media print{
  html.lblprint body{ background:#fff !important; margin:0 !important; padding:0 !important; }
  /* style.css prints "printing is disabled" under every page — not here */
  html.lblprint body::after{ content:none !important; display:none !important; }
  html.lblprint #hdr, html.lblprint #ftr, html.lblprint #drawer, html.lblprint .skip,
  html.lblprint .lblctl, html.lblprint .itplayer, html.lblprint .toast,
  html.lblprint .phead, html.lblprint .tabbar{ display:none !important; }
  html.lblprint #main, html.lblprint #acctMain, html.lblprint .section, html.lblprint .wrap, html.lblprint #acctBody{
    margin:0 !important; padding:0 !important; max-width:none !important; width:auto !important;
    animation:none !important; opacity:1 !important; transform:none !important;
  }
  html.lblprint .lblsheets{ overflow:visible !important; padding:0 !important; }
  html.lblprint .lblsheet{ margin:0 !important; box-shadow:none !important; page-break-after:always; break-after:page; }
  html.lblprint .lblsheet:last-child{ page-break-after:auto; break-after:auto; }
  html.lblprint .reveal{ opacity:1 !important; animation:none !important; transform:none !important; }
}

/* ---- 18 Oct 2026: the place list, a whole place a page at a time, and the
   membership benefits each with its link beside it ------------------------ */
.pbplaces{ margin:2px -3px 4px; line-height:1; }
.pbplaces__t{ display:inline-block; font-weight:700; color:#1c110c; margin:6px 6px 6px 3px; vertical-align:middle; }
.pbchip{
  display:inline-block; margin:3px; padding:.42em .85em; border-radius:100px; cursor:pointer;
  border:1px solid #d6c6b8; background:#fff; color:#1c110c; font-size:.95rem; line-height:1.3;
  vertical-align:middle; -webkit-user-select:none; user-select:none;
}
.pbchip input{ width:16px; height:16px; margin:0 0 0 6px; vertical-align:-2px; accent-color:#1c110c; }
html[dir="ltr"] .pbchip input{ margin:0 6px 0 0; }
.pbchip small{ color:#7c6c60; font-size:.78rem; }
.pbchip.is-on{ background:#1c110c; border-color:#1c110c; color:#fff; }
.pbchip.is-on small{ color:#e7dcd2; }
.pbplaces__x{ margin:3px 6px; vertical-align:middle; }
.pbsel{ margin:0 0 8px; }
.pbsel > *{ margin:0 6px 4px 0; vertical-align:middle; }
.pbsel__all{ display:inline-block; font-weight:700; cursor:pointer; padding:.35em .2em; }
.pbsel__all input{ width:18px; height:18px; vertical-align:-3px; accent-color:#1c110c; }
.pblist{ background:#fff; border:1px solid #e7dcd2; border-radius:14px; overflow:hidden; }
.pbrow{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
  -webkit-flex-wrap:wrap; flex-wrap:wrap; padding:9px 12px; border-top:1px solid #f0e8e0; cursor:pointer;
}
.pbrow:first-child{ border-top:0; }
.pbrow:hover{ background:#fffcf8; }
.pbrow.is-on{ background:#fbf3e9; }
.pbrow input{ -webkit-flex:0 0 auto; flex:0 0 auto; width:19px; height:19px; margin:0; accent-color:#1c110c; }
.pbrow > span{ margin:0 10px; }
.pbrow__yi{ font-weight:700; color:#1c110c; -webkit-flex:1 1 200px; flex:1 1 200px; min-width:0; }
.pbrow__en{ color:#43301f; font-size:.93rem; -webkit-flex:1 1 180px; flex:1 1 180px; min-width:0; }
.pbrow__p{ color:#7c6c60; font-size:.85rem; white-space:nowrap; }

/* ---- 20 Oct 2026: the membership benefits as a list, "מיינע נדבות" by
   year, his card on "מיינע פרטים", his picture in the header. Margins, not
   gap, and -webkit- flex: old iPads. ------------------------------------- */
.mem--yes{ max-width:700px; margin-left:auto; margin-right:auto; padding:22px 24px; }
.mem__badge{
  margin:0 0 6px; padding:12px 16px; border-radius:14px; font-weight:700; font-size:1.12rem; line-height:1.4;
  background:#e9f6ef; border:1px solid #bfe3cc; color:#17633e;
}
.perks{ list-style:none; margin:0; padding:0; }
.perk{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
  padding:16px 2px; border-top:1px solid #eee3d8;
}
.perk:first-child{ border-top:0; }
.perk__ic{
  -webkit-flex:0 0 46px; flex:0 0 46px; width:46px; height:46px; border-radius:14px;
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center;
  -webkit-justify-content:center; justify-content:center; background:#f4ebe1; color:#7a5c44;
}
.perk__ic svg{ width:24px; height:24px; }
.perk__tx{ -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; margin:0 16px; }
.perk__t{ display:block; color:#1c110c; font-size:1.04rem; line-height:1.35; margin-bottom:3px; }
.perk__d{ display:block; color:#4b3b2f; font-size:.93rem; line-height:1.6; }
.perk__go{
  -webkit-flex:0 0 156px; flex:0 0 156px; width:156px;      /* one column: every button the same width */
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-flex-direction:column; flex-direction:column;
}
.perk__go .btn{ display:block; margin:3px 0; text-align:center; white-space:nowrap; }
@media (max-width:600px){
  .mem--yes{ padding:16px; }
  .perk{ -webkit-flex-wrap:wrap; flex-wrap:wrap; -webkit-align-items:flex-start; align-items:flex-start; }
  .perk__tx{ -webkit-flex:1 1 0; flex:1 1 0; margin:0 12px; }
  .perk__go{ -webkit-flex:1 1 100%; flex:1 1 100%; width:auto; -webkit-flex-direction:row; flex-direction:row; -webkit-flex-wrap:wrap; flex-wrap:wrap; margin-top:10px; }
  html[dir="rtl"] .perk__go{ padding-right:58px; }
  html[dir="ltr"] .perk__go{ padding-left:58px; }
  .perk__go .btn{ margin:3px; }
}

/* his picture in the "מיין אקאונט" header and on his card */
.acct-ava{
  width:76px; height:76px; border-radius:50%; object-fit:cover; -webkit-flex:0 0 auto; flex:0 0 auto;
  border:3px solid rgba(255,255,255,.85); box-shadow:0 4px 14px rgba(0,0,0,.25); background:#f4ebe1;
}
.acct-ava--sm{ width:64px; height:64px; border:2px solid #fff; box-shadow:0 2px 8px rgba(28,17,12,.18); }
@media (max-width:640px){ .acct-head .acct-ava{ width:60px; height:60px; } }

/* "מיינע פרטים": his card in the office's list */
.acct-rec{ margin:0 0 18px; }
.acct-rec__hd{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center; margin:0 0 10px; }
.acct-rec__hd > .acct-ava{ margin:0 0 0 14px; }
html[dir="ltr"] .acct-rec__hd > .acct-ava{ margin:0 14px 0 0; }
.acct-rec__hd .acct-h3{ margin:0 0 .2em; }
.acct-rec__nm{ margin:0; font-weight:700; font-size:1.08rem; color:#1c110c; }
.acct-rec__en{ margin:0; color:#5b4a3d; font-size:.93rem; }
.recdl{ margin:0 0 12px; }
.recrow{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap; padding:7px 0; border-top:1px solid #eee3d8; }
.recrow:first-child{ border-top:0; }
.recrow dt{ -webkit-flex:0 0 130px; flex:0 0 130px; color:#7c6c60; font-weight:600; font-size:.9rem; }
.recrow dd{ -webkit-flex:1 1 200px; flex:1 1 200px; margin:0; color:#1c110c; }
html[dir="rtl"] .recrow dd[dir="ltr"]{ text-align:right; }
.acct-rec__ft{ margin:6px 0 0; }
.acct-rec__ft .btn{ margin:4px 0; }

/* "מיינע נדבות": one fold per Hebrew year */
.dons{ max-width:820px; margin-left:auto; margin-right:auto; }
.dyear{ background:#fff; border:1px solid #e7dcd2; border-radius:14px; margin:0 0 12px; overflow:hidden; }
/* the flex row is an inner span: old iOS Safari draws <summary> as a block
   whatever its display says */
.dyear__h{ display:block; padding:14px 18px; cursor:pointer; list-style:none; background:#fffcf8; }
.dyear__row{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center; }
.dyear__h::-webkit-details-marker{ display:none; }
.dyear__h::before{ content:"▸"; float:right; display:inline-block; color:#a88b79; margin:0 0 0 10px; -webkit-transition:-webkit-transform .2s; transition:transform .2s; }
html[dir="ltr"] .dyear__h::before{ float:left; }
html[dir="rtl"] .dyear__h::before{ content:"◂"; }
html[dir="ltr"] .dyear__h::before{ margin:0 10px 0 0; }
.dyear[open] > .dyear__h::before{ -webkit-transform:rotate(90deg); transform:rotate(90deg); }
html[dir="rtl"] .dyear[open] > .dyear__h::before{ -webkit-transform:rotate(-90deg); transform:rotate(-90deg); }
.dyear__y{ font-weight:700; font-size:1.15rem; color:#1c110c; }
.dyear__n{ color:#7c6c60; font-size:.88rem; margin:0 12px; }
.dyear__t{ font-size:1.1rem; color:#17633e; }
html[dir="rtl"] .dyear__t{ margin-right:auto; margin-left:0; }
html[dir="ltr"] .dyear__t{ margin-left:auto; margin-right:0; }
.dyear__b{ padding:4px 18px 14px; border-top:1px solid #eee3d8; }
.dtab{ width:100%; border-collapse:collapse; }
.dtab th{ text-align:start; font-size:.82rem; color:#7c6c60; font-weight:600; padding:8px 6px; border-bottom:1px solid #eee3d8; }
html[dir="rtl"] .dtab th{ text-align:right; }
.dtab td{ padding:9px 6px; border-bottom:1px solid #f3ece5; vertical-align:top; }
.dtab tr:last-child td{ border-bottom:0; }
.dtab__d span{ display:block; color:#1c110c; }
.dtab__d small{ display:block; color:#8a7a6e; font-size:.78rem; }
.dtab__a{ white-space:nowrap; font-weight:700; color:#1c110c; text-align:left; }
.dtag{ display:inline-block; font-size:.72rem; font-weight:700; color:#8a5a16; background:#fdf3e7; border:1px solid #ecd2a7; border-radius:100px; padding:0 .55em; vertical-align:1px; }
.dyear--ords .dyear__b{ padding-top:14px; }
/* the header picture is spaced by its own margin, not the row's gap (old iPads) */
html[dir="rtl"] .acct-head .acct-ava{ margin-left:16px; }
html[dir="ltr"] .acct-head .acct-ava{ margin-right:16px; }
@media (max-width:620px){ html[dir] .acct-head .acct-ava{ margin:0 0 12px; } }


/* ---- 20 Oct 2026 (2): every Donations column, receipts, his titles ---- */
.dons{ max-width:1060px; }
.dtab-w{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.dtab{ min-width:760px; }
.dtab__s{ white-space:nowrap; font-size:.9rem; color:#43301f; }
.dtab__m{ min-width:160px; max-width:280px; font-size:.88rem; color:#43301f; word-wrap:break-word; overflow-wrap:break-word; }
.dtab__r{ white-space:nowrap; }
.dtab__r .btn{ padding:.3em .8em; }
.acct-rec__t3{ font-size:.78em; font-weight:600; color:#7c6c60; }


/* ---- 21 Oct 2026: log out on its own, a password box that fits, the
   list switch, business + married children, "מיין באקס" from מיינע זאכן ---- */
/* the head's far end — the left in Yiddish (margins, not gap: old iPads) */
.acct-head .acct-out{ -webkit-flex:0 0 auto; flex:0 0 auto; white-space:nowrap; }
/* ours posts the log-out as a form, so the form is the flex item the
   reference's bare button was, and it is the form that has to be pushed to
   the far end — on the button the margin had nothing to push against */
.acct-head .phead__row > .form{ -webkit-flex:0 0 auto; flex:0 0 auto; margin:0; }
html[dir="rtl"] .acct-head .phead__row > .form{ margin-right:auto; }
html[dir="ltr"] .acct-head .phead__row > .form{ margin-left:auto; }
@media (max-width:620px){ html[dir] .acct-head .phead__row > .form{ margin:12px 0 0; } }
html[dir="rtl"] .acct-head .acct-out{ margin-right:auto; margin-left:0; }
html[dir="ltr"] .acct-head .acct-out{ margin-left:auto; margin-right:0; }
@media (max-width:620px){ html[dir] .acct-head .acct-out{ margin:12px 0 0; } }
/* the house's mark, where a man has no photograph of his own: it is a
   drawing, not a face, so it sits inside the circle rather than filling it */
.acct-ava--mark{ object-fit:contain; padding:9px; background:#fdf8f2; }
.acct-out svg{ width:1.1em; height:1.1em; vertical-align:-.2em; }
html[dir="rtl"] .acct-out svg{ -webkit-transform:scaleX(-1); transform:scaleX(-1); }

.acct-login input[type=password], #pwNew{ font-size:1.05rem; min-height:48px; }
.acct-alts{ margin-top:6px; }
.acct-alts .acct-alt{ margin:6px 0 0; }

.libtop{ margin:0 0 16px; }
.libtop .btn svg{ vertical-align:-.2em; }
.libtop .navbadge{ margin:0 2px; }

.acct-sub{ margin:16px 0 0; padding:14px 0 0; border-top:1px solid #eee3d8; }
.acct-sub h4{ margin:0 0 8px; font-size:.95rem; color:#1c110c; }
.acct-biz{ margin:0 0 10px; }
.acct-biz > *{ display:block; }
.acct-biz b{ color:#1c110c; }
html[dir="rtl"] .acct-biz [dir="ltr"]{ text-align:right; }
.acct-kids{ list-style:none; margin:0; padding:0; }
.acct-kids li{ padding:5px 0; border-bottom:1px solid #f3ece5; }
.acct-kids li:last-child{ border-bottom:0; }
.acct-tag{ display:inline-block; font-size:.72rem; font-weight:700; color:#6b4b2e; background:#f5ece3; border-radius:100px; padding:0 .55em; vertical-align:1px; }

.acct-news{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-box-align:center; -webkit-align-items:center; align-items:center;
  margin:16px 0 0; padding:14px 0 0; border-top:1px solid #eee3d8; }
.acct-news__t{ -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; }
.acct-news__t > *{ display:block; }
.acct-news__t b{ color:#1c110c; margin-bottom:2px; }
/* ours posts the switch as a form, so the form is the flex item the
   reference's bare button was */
.acct-news form{ -webkit-flex:0 0 auto; flex:0 0 auto; margin:0; }
.acct-news .formmsg{ margin-top:4px; }
.acct-sw{ -webkit-flex:0 0 auto; flex:0 0 auto; position:relative; width:52px; height:30px; border-radius:100px; border:0;
  background:#d9cdc2; cursor:pointer; padding:0; margin:0 0 0 12px; -webkit-transition:background .2s; transition:background .2s; }
html[dir="rtl"] .acct-sw{ margin:0 12px 0 0; }
.acct-sw i{ position:absolute; top:3px; left:3px; width:24px; height:24px; border-radius:50%; background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.25); -webkit-transition:left .2s; transition:left .2s; }
.acct-sw.is-on{ background:#1d7a4c; }
.acct-sw.is-on i{ left:25px; }
.acct-sw:disabled{ opacity:.6; cursor:default; }
.acct-sw:focus-visible{ outline:3px solid #c7ae9f; outline-offset:2px; }

/* --------------------------------------------------------------- the login
   Measured against the office's other site. Its login form carries two more
   rows than ours (a message slot and a captcha slot), and the grid's 16px gap
   through them is what sets the room above the button and the links. Rather
   than add empty rows to the markup for the sake of it, the same space is
   asked for here. Scoped to .acct-login so nothing else shifts. */
.acct-login .form button[type=submit]{ margin-block-start:16px; }
.acct-login .acct-alts{ margin-top:28px; }
.acct-login .acct-link{ display:inline-block; line-height:1.85; }

/* The shop orders folded under the giving ledger, the way the office's other
   site shows them: one history, the bought part collapsible. */
.acct-fold{ margin-top:26px; border-top:1px solid var(--line); padding-top:4px; }
.acct-fold > summary{
	display:flex; align-items:center; gap:10px; cursor:pointer;
	padding:14px 2px; list-style:none; user-select:none;
}
.acct-fold > summary::-webkit-details-marker{ display:none; }
.acct-fold > summary::after{
	content:""; inline-size:8px; block-size:8px; margin-inline-start:auto;
	border-inline-end:2px solid currentColor; border-block-end:2px solid currentColor;
	transform:rotate(45deg); transition:transform .18s ease; opacity:.55;
}
.acct-fold[open] > summary::after{ transform:rotate(-135deg); }
.acct-fold__t{ font-family:var(--font-display); font-size:1.18rem; font-weight:600; }
.acct-fold__n{
	min-inline-size:24px; padding:1px 8px; border-radius:999px;
	background:var(--cream); font-size:.82rem; text-align:center;
}
.acct-fold__b{ padding-block-end:8px; }

/* ==========================================================================
   The ledger, the album folds, the checkout card and the pledge box, taken
   across from the office's other site as they stand. Ours had the year cards
   and nothing to put in them — the rows, the summary strip, the amber pledge
   year and the red box of what is still owed were all missing, which is why
   מיינע נדבות was a plain table while theirs was a ledger.
   ========================================================================== */
/* ---- 21 Oct 2026 (2): "מיינע נדבות" as a ledger, not a wide table ----
   Flex with the -webkit- spellings and margins (no gap, no grid): old
   iPads. The amounts line up at the row's end, right under the year's
   total in the card's head (both stop 128px before the end: the receipt
   column, 116px, and 12px between). */
.dons{ max-width:860px; margin-left:auto; margin-right:auto; }

/* the strip on top (more than one year) */
.dsum{
  display:-webkit-box; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap;
  margin:0 -5px 12px;
}
.dsum__i{
  -webkit-box-flex:1; -webkit-flex:1 1 130px; flex:1 1 130px; min-width:0;
  margin:0 5px 8px; padding:11px 16px; background:#fff; border:1px solid #e7dcd2; border-radius:14px;
}
.dsum__i--tot{ -webkit-box-flex:2; -webkit-flex:2 1 230px; flex:2 1 230px; background:#e9f6ef; border-color:#bfe3cc; }
.dsum__k{ display:block; font-size:.8rem; line-height:1.4; color:#7c6c60; }
.dsum__v{ display:block; font-size:1.2rem; line-height:1.4; color:#1c110c; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dsum__i--tot .dsum__v{ color:#17633e; white-space:normal; }
html[dir="rtl"] .dsum__v[dir="ltr"]{ text-align:right; }
html[dir="ltr"] .dsum__v[dir="rtl"]{ text-align:left; }

/* the year's head: the total above the amounts column */
.dyear__t{ white-space:nowrap; }
@media (min-width:601px){
  html[dir="rtl"] .dyear__t{ margin-left:128px; }
  html[dir="ltr"] .dyear__t{ margin-right:128px; }
}

/* the gifts */
.dlist{ list-style:none; margin:0; padding:0; border-top:1px solid #eee3d8; }
.drow{ padding:12px 18px; border-top:1px solid #f3ece5; }
.drow:first-child{ border-top:0; }
.drow:hover{ background:#fffcf8; }
.drow__ln{
  display:-webkit-box; display:-webkit-flex; display:flex;
  -webkit-box-align:center; -webkit-align-items:center; align-items:center;
}
.drow__when{ -webkit-box-flex:0; -webkit-flex:0 0 120px; flex:0 0 120px; width:120px; line-height:1.35; }
.drow__when b{ display:block; font-weight:600; font-size:.95rem; color:#1c110c; white-space:nowrap; }
.drow__when small{ display:block; font-size:.78rem; color:#8a7a6e; white-space:nowrap; }
.drow__what{ -webkit-box-flex:1; -webkit-flex:1 1 auto; flex:1 1 auto; min-width:0; margin:0 14px; line-height:1.4; }
.drow__c{ display:block; font-weight:700; color:#1c110c; }
.drow__tags{ display:block; margin-top:4px; line-height:1.2; }
.dtag{
  display:inline-block; font-size:.72rem; font-weight:600; line-height:1.65; white-space:nowrap;
  color:#5b4a3d; background:#f5efe8; border:1px solid #e7dcd2; border-radius:100px; padding:0 .6em; vertical-align:1px;
}
.dtag--m{ color:#8a5a16; background:#fdf3e7; border-color:#ecd2a7; font-weight:700; }
html[dir="rtl"] .drow__tags .dtag{ margin:0 0 0 5px; }
html[dir="ltr"] .drow__tags .dtag{ margin:0 5px 0 0; }
.drow__amt{
  -webkit-box-flex:0; -webkit-flex:0 0 auto; flex:0 0 auto; min-width:88px;
  font-weight:700; font-size:1.06rem; color:#1c110c; white-space:nowrap;
}
html[dir="rtl"] .drow__amt{ text-align:left; margin-left:12px; }
html[dir="ltr"] .drow__amt{ text-align:right; margin-right:12px; }
.drow__amt--neg{ color:#b3261e; }
.drow__r{ -webkit-box-flex:0; -webkit-flex:0 0 116px; flex:0 0 116px; width:116px; }
html[dir="rtl"] .drow__r{ text-align:left; }
html[dir="ltr"] .drow__r{ text-align:right; }
.drow__r .btn{ padding:.32em .85em; white-space:nowrap; }
/* his message: a quiet line under the campaign */
.drow__msg{ margin:6px 0 0; padding:0 10px; font-size:.9rem; line-height:1.55; color:#5b4a3d; }
/* dir="auto": an English note in Yiddish keeps its own order, but stays on our side */
html[dir="rtl"] .drow__msg{ margin-right:134px; border-right:2px solid #e2d3c5; text-align:right; }
html[dir="ltr"] .drow__msg{ margin-left:134px; border-left:2px solid #e2d3c5; text-align:left; }
.dons__note{ margin:4px 4px 0; }

/* the orders under (or, from the checkout, above) the years: set apart */
.dyear--ords{ margin-top:26px; background:#fbf7f2; border-color:#d6c6b8; }
.dons > .dyear--ords:first-child{ margin:0 0 26px; }
.dyear--ords > .dyear__h{ background:#f5efe8; }
.dyear--ords .dyear__y{ font-size:1.05rem; }
.dyear--ords .dyear__y .ic{ width:1.1em; height:1.1em; vertical-align:-.18em; }
html[dir="rtl"] .dyear--ords .dyear__y .ic{ margin:0 0 0 6px; }
html[dir="ltr"] .dyear--ords .dyear__y .ic{ margin:0 6px 0 0; }
.dyear--ords .ord{ box-shadow:none; border-radius:12px; }
.dyear--ords .ord:last-child{ margin-bottom:0; }

/* a phone: [date · civil … receipt] over [campaign + tags … amount] */
@media (max-width:600px){
  .dsum__i{ padding:9px 12px; }
  .dsum__v{ font-size:1.06rem; }
  .dyear__h{ padding:12px 14px; }
  .dyear__row{ -webkit-flex-wrap:wrap; flex-wrap:wrap; }
  .drow{ padding:11px 14px; }
  .drow__ln{ -webkit-flex-wrap:wrap; flex-wrap:wrap; -webkit-align-items:baseline; align-items:baseline; }
  .drow__when{ -webkit-order:1; order:1; -webkit-flex:1 1 50%; flex:1 1 50%; width:auto; }
  .drow__when b, .drow__when small{ display:inline; }
  .drow__when b{ font-size:.86rem; color:#5b4a3d; }
  .drow__when small{ font-size:.8rem; }
  .drow__when small::before{ content:"·"; margin:0 6px; color:#b8a798; }
  .drow__r{ -webkit-order:2; order:2; -webkit-flex:0 0 auto; flex:0 0 auto; width:auto; }
  .drow__what{ -webkit-order:3; order:3; -webkit-flex:1 1 60%; flex:1 1 60%; margin:6px 0 0; }
  html[dir] .drow__amt{ -webkit-order:4; order:4; min-width:0; margin:6px 0 0; }
  html[dir="rtl"] .drow__amt{ margin-right:10px; }
  html[dir="ltr"] .drow__amt{ margin-left:10px; }
  html[dir] .drow__msg{ margin-left:0; margin-right:0; }
}

/* ---- 21 Oct 2026 (2): an album in folders (account.js iAlbum) ---- */
.trkwrap > .trks{ margin-bottom:12px; }
.trkfold{ margin:0 0 10px; }
.trkfold .dyear__b{ padding:10px 12px 12px; }
.trkfold .trks{ margin:8px 0 0; }
.trkfold__bar{ display:-webkit-box; display:-webkit-flex; display:flex; -webkit-flex-wrap:wrap; flex-wrap:wrap; margin:0 -4px; }
.trkfold__bar > *{ margin:4px; }
.trkfold .dyear__y .ic--fold{ width:1.1em; height:1.1em; vertical-align:-.18em; color:#a88b79; }
html[dir="rtl"] .trkfold .dyear__y .ic--fold{ margin:0 0 0 6px; }
html[dir="ltr"] .trkfold .dyear__y .ic--fold{ margin:0 6px 0 0; }

/* ---- 21 Oct 2026 (2): the card at checkout (Sola's fields in /pay/card.html) ---- */
.ckcard{ margin:4px 0 14px; padding:14px 16px; border:1px solid #e7dcd2; border-radius:14px; background:#fffcf8; }
.ckcard .acct-h4{ margin:0 0 10px; font-size:1rem; color:#1c110c; }
.ckframe{ display:block; width:100%; height:96px; border:0; margin:0 0 4px; background:transparent; }
.ckexp select{ width:auto; min-width:84px; display:inline-block; }

/* ---- 21 Oct 2026 (3): "מיינע פלעדשעס" — the same ledger, promised amounts in amber ---- */
.dyear--plg .dyear__t{ color:#8a5a16; }
.dyear--plg{ border-color:#ecd2a7; }

/* ---- 22 Oct 2026: on מיינע נדבות — a new donation, and his open pledges apart, in red ---- */
.dons__new{ margin:0 0 14px; }
.dons__new .ic{ width:1.1em; height:1.1em; vertical-align:-.2em; }
.pledgebox{ margin:0 0 18px; border:2px solid #f0c0bb; border-radius:16px; background:#fdf3f2; overflow:hidden; }
.pledgebox__t{ margin:0; padding:12px 18px; font-size:1.05rem; color:#b3261e; border-bottom:1px solid #f0c0bb; }
.pledgebox .drow__c, .pledgebox .drow__amt, .pledgebox .drow__when b{ color:#b3261e; }
.pledgebox .dlist{ border-top:0; }
.pledgebox__pay{ background:#b3261e; color:#fff; border:1px solid #b3261e; }
.pledgebox__pay:hover{ background:#8e1d17; color:#fff; }
.dyear--plg .pledgebox__pay{ white-space:nowrap; }

/* ---- membership checkout and settings (24 Nov 2026) ----------------- */
.memjoin{ margin-top:10px; }
.memplan{ display:flex; gap:10px; flex-wrap:wrap; margin:4px 0 16px; }
.memplan__opt{ flex:1 1 180px; display:flex; align-items:center; gap:8px; cursor:pointer;
  border:2px solid var(--line-2, #ddd); border-radius:12px; padding:12px 14px; background:#fff; }
.memplan__opt b{ font-size:1.25rem; color:var(--ink, #222); }
.memplan__opt span{ color:var(--muted, #666); font-size:.92rem; }
.memplan__opt:has(input:checked){ border-color:var(--brass, #c9a259); background:#fdf8ee; }
/* auto-renew: off until he ticks it, but not something he can miss */
.memauto{ display:flex; gap:12px; align-items:flex-start; cursor:pointer; margin:16px 0;
  border:2px dashed var(--brass, #c9a259); background:#fdf8ee; border-radius:12px; padding:14px 16px; }
.memauto input{ width:22px; height:22px; margin-top:2px; flex:none; accent-color:var(--brass, #c9a259); }
.memauto b{ font-size:1.05rem; }
.memauto:has(input:checked){ border-style:solid; }
.memset{ display:flex; flex-direction:column; gap:6px; margin:6px 0 14px; padding:12px 14px;
  border:1px solid var(--line-2, #ddd); border-radius:12px; background:#fff; }
.memset__auto{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:0; }
.memset p{ margin:0; }

/* Auto-renew hint: the monthly plan gets no week-before email, so its hint differs. */
.memhint--month{ display:none; }
.memjoin:has(input[name=plan][value=monthly]:checked) .memhint--year{ display:none; }
.memjoin:has(input[name=plan][value=monthly]:checked) .memhint--month{ display:inline; }
