/* Jersey Teamwear — account layer (v19): sign-in bar, My Designs
   library panel, order-page account line. Palette matches the site
   (#0A5C1E green, #43A047 leaf, paper #F7FAF1, bands #E4F2D8). */
.jtacct { margin: 14px 0 4px; padding: 10px 14px; border: 1.5px solid #d8e2cf;
  border-radius: 14px; background: #f7faf1; font-size: 14px; line-height: 1.45; }
.jtacct[hidden] { display: none; }
.jtacct .jtacct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.jtacct .jtacct-who { font-weight: 700; color: #12240f; overflow-wrap: anywhere; }
.jtacct button, .jtlib button { font: inherit; }
.jtacct-link { background: none; border: none; padding: 4px 2px; color: #0a5c1e;
  font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.jtacct-btn { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 2px solid #0a5c1e;
  background: #0a5c1e; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.jtacct-btn.ghost { background: #fff; color: #0a5c1e; }
.jtacct-btn:disabled { opacity: .55; cursor: default; }
.jtacct-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.jtacct-form input { flex: 1 1 210px; min-height: 44px; border: 1.5px solid #d8e2cf;
  border-radius: 10px; padding: 8px 11px; font-size: 16px; background: #fff; }
.jtacct-google { background: #fff; color: #12240f; border-color: #d8e2cf;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 1 1 100%; }
.jtacct-google svg { flex: 0 0 auto; display: block; }
.jtacct-or { flex: 1 1 100%; display: flex; align-items: center; gap: 10px;
  color: #5a6a57; font-size: 12.5px; font-weight: 600; }
.jtacct-or::before, .jtacct-or::after { content: ""; flex: 1; border-top: 1px solid #d8e2cf; }
.jtacct-msg { margin-top: 8px; font-size: 13.5px; }
.jtacct-msg.ok { color: #0a5c1e; font-weight: 600; }
.jtacct-msg.bad { color: #b3261e; font-weight: 600; }
.jtacct .hidden, .jtlib .hidden { display: none !important; }

/* My Designs library panel (inside the Studio wrap) */
.jtlib { margin: 16px 0; border: 2px solid #0a5c1e; border-radius: 18px;
  background: #fff; padding: 16px; box-shadow: 0 22px 45px -28px rgba(10,60,20,.35); }
.jtlib h2 { font-size: 20px; margin: 0 0 4px; color: #12240f; }
.jtlib .jtlib-sub { font-size: 13.5px; color: #5a6a57; margin: 0 0 12px; }
.jtlib-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.jtlib-close { border: none; background: none; font-size: 22px; line-height: 1;
  color: #0a5c1e; cursor: pointer; padding: 6px 10px; }
.jtlib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.jtlib-card { border: 1.5px solid #d8e2cf; border-radius: 14px; overflow: hidden; background: #f7faf1; }
.jtlib-thumb { aspect-ratio: 3/4; background: #e4f2d8; display: flex; align-items: center; justify-content: center; }
.jtlib-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jtlib-ph { text-align: center; padding: 10px; }
.jtlib-ph .sw { display: inline-block; width: 26px; height: 26px; border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,.18); margin: 0 2px; vertical-align: middle; }
.jtlib-ph .sp { display: block; margin-top: 8px; font-weight: 800; color: #0a5c1e; font-size: 13px;
  text-transform: uppercase; letter-spacing: .04em; }
.jtlib-meta { padding: 10px; }
.jtlib-name { font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.jtlib-date { font-size: 12.5px; color: #5a6a57; margin-top: 2px; }
.jtlib-files { font-size: 12.5px; color: #5a6a57; margin-top: 4px; }
.jtlib-acts { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.jtlib-acts button { min-height: 38px; padding: 6px 12px; border-radius: 999px; font-size: 13px;
  font-weight: 700; cursor: pointer; border: 1.5px solid #0a5c1e; background: #0a5c1e; color: #fff; }
.jtlib-acts button.ghost { background: #fff; color: #0a5c1e; }
.jtlib-acts button.danger { background: #fff; color: #b3261e; border-color: #b3261e; }
.jtlib-empty { font-size: 14px; color: #5a6a57; padding: 14px 4px; }
.jtlib-msg { font-size: 13.5px; margin-top: 10px; }
.jtlib-msg.ok { color: #0a5c1e; font-weight: 600; }
.jtlib-msg.bad { color: #b3261e; font-weight: 600; }
.jtlib h3 { font-size: 16px; margin: 20px 0 8px; color: #12240f; }
.jtlib-order { display: flex; justify-content: space-between; gap: 10px; padding: 8px 4px;
  border-top: 1px solid #e4f2d8; font-size: 14px; }
.jtlib-order .conf { font-weight: 700; }
.jtlib-order .meta { color: #5a6a57; }

/* save-to-account buttons inside the Studio CTA blocks */
.jtacct-save { background: #fff !important; color: #0a5c1e !important;
  border: 2px solid #0a5c1e !important; }
.jtacct-save[disabled] { opacity: .55; }
.jtacct-savemsg { font-size: 13.5px; margin-top: 8px; }
.jtacct-savemsg.ok { color: #0a5c1e; font-weight: 600; }
.jtacct-savemsg.bad { color: #b3261e; font-weight: 600; }

/* order page account line */
.jtacctline { margin-top: 16px; }
