/* Customer accounts: the header link and the My plants page (#account). Tokens and shared pieces
   (.glance, .tip, .newsform, .note, details/summary) come from grow.css. */
.acctlink { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 9px 2px 8px; border-bottom: 1px solid transparent; white-space: nowrap; }
.acctlink:hover, body[data-view="account"] .acctlink { border-bottom-color: var(--ink); }
.acctlink[hidden] { display: none; }
/* Narrow phones: no room next to Cart and Menu, so the link moves into the Menu. */
.acct-nav { display: none; }
@media (max-width: 480px) { .acctlink { display: none; } .mainnav .acct-nav:not([hidden]) { display: block; } }

.linkbtn { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.acct { max-width: 920px; }
.acct-in { max-width: 520px; }
.acct-in .lede { max-width: 42ch; margin-bottom: 26px; }
.acct-form { max-width: 420px; margin-bottom: 18px; }
.acct-code { font-size: 26px !important; letter-spacing: .35em; font-variant-numeric: tabular-nums; max-width: 240px; }
.acct-guest { max-width: 46ch; }
.acct-top .lede { max-width: none; }
.acct-loading { padding: 12vh 0; }
.acct .note { margin: 0 0 26px; }

/* One plant: photo on the left, care on the right; stacked on phones. */
.mp-list { display: grid; gap: 22px; margin: 26px 0 10px; }
.mp { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 26px; background: var(--card); border: 1px solid var(--line); padding: 20px; }
.mp-ph { aspect-ratio: 4 / 5; background: var(--wall); overflow: hidden; align-self: start; }
.mp-ph img, .mp-ph .nophoto { width: 100%; height: 100%; object-fit: cover; display: flex; }
.mp-h { font-size: 30px; margin: 0 0 2px; }
.mp-sub { margin: 0 0 16px; font-size: 15px; color: var(--ink-soft); }
.mp-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-glance div:nth-child(2) { border-right: 0; }
.mp-glance div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.mp .tip { margin-top: 16px; }
.mp-faq { margin-top: 8px; border-bottom: 0; }
.mp-faq summary { font-size: 15px; letter-spacing: .02em; padding-top: 12px; padding-bottom: 8px; }
.mp-faq p { font-size: 15px; }
.mp-faq p b { color: var(--ink); font-weight: 500; }
.mp-ask { color: var(--ink-soft); margin: 0; }

.mp-other { margin: 40px 0 0; }
.mp-other h2, .mp-help h2, .acct-empty h2 { font-size: 26px; }
.mp-other ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.mp-other li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mp-other small { color: var(--ink-soft); font-size: 14px; }

.mp-help { margin: 44px 0 22px; padding: 22px 24px 8px; background: var(--blush); }
.mp-help a { color: inherit; }
.acct-empty { margin: 26px 0; padding: 26px 24px 12px; background: var(--wall); }
.acct-empty p { max-width: 56ch; }
.acct-who { margin-top: 10px; }
.acct-co { margin: 4px 0 10px; }
.acct-co a { color: inherit; }

@media (max-width: 640px) {
  .mp { grid-template-columns: 1fr; gap: 16px; padding: 14px; }
  .mp-ph { aspect-ratio: 5 / 4; }
  .mp-h { font-size: 26px; }
  .mp-other li { flex-direction: column; gap: 0; }
}
