.strip .btn { height: 38px; padding: 0 16px; font-size: 13.5px; }
.acct { max-width: 760px; padding: 24px max(16px, 4vw) 24px; margin: 0 auto 0 max(0px, 8vw); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; } /* one column that never grows past the screen (a long line made it 404 px wide on a 360 px phone) */
.acct h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.sec { border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sec h2 { font-size: 18px; }
.facts { margin: 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 12px; padding: 8px 0; }
.facts dt { color: var(--mute); font-size: 14px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; align-items: end; }
.grid2 .msg, .grid2 .end, .grid2 .grow { grid-column: 1 / -1; }
.end { display: flex; justify-content: flex-end; gap: 12px; }
.msg { font-size: 14px; border-left: 3px solid var(--gold); padding-left: 10px; }
.msg.bad { border-left-color: var(--red); color: var(--red); }
.method { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; }
.method i { width: 14px; height: 4px; background: var(--ink); }
.danger-zone h2 { color: var(--red); }
.mem-state { font-size: 16px; line-height: 1.5; max-width: 60ch; }
.mem-state b { font-weight: 600; }
.mem-state.ended { border-left: 3px solid var(--gold); padding-left: 12px; }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pkg { border: 1.5px solid var(--line); padding: 16px; display: grid; gap: 6px; align-content: start; }
.pkg.best { border-color: var(--gold); }
.pkg h3 { font-size: 15px; font-weight: 600; margin: 0; display: flex; gap: 8px; align-items: center; }
.pkg h3 small { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-text); border: 1px solid var(--gold); padding: 0 6px; }
.pkg .price { font-size: 26px; font-weight: 600; }
.pkg p { font-size: 13.5px; color: var(--mute); margin: 0; }
.pkg .btn { margin-top: 8px; }
.st-balance { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--mute); }
.st-balance b { font-size: 28px; color: var(--ink); font-weight: 600; }
.orders { display: grid; font-size: 13.5px; }
.orders > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.orders .st { color: var(--mute); }
.orders .st.paid { color: var(--ink); font-weight: 500; }
/* team plan, gifts, receipts */
.tp-name { margin: 0; font-weight: 600; font-size: 16px; }
.tp-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-modes label { flex-direction: row; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); font-size: 14px; color: var(--ink); cursor: pointer; }
.tp-modes label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tp-modes input { accent-color: var(--ink); margin: 0; }
.tp-quote { display: grid; gap: 4px; min-height: 48px; }
.tp-quote .price { font-size: 26px; font-weight: 600; }
.tp-quote p { margin: 0; }
.tp-quote .msg a { color: inherit; font-weight: 600; }
.tp-people summary { cursor: pointer; font-size: 14px; color: var(--ink); padding: 6px 0; }
.tp-phead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; font-size: 14px; color: var(--ink); padding: 4px 0 2px; }
.tp-ptools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 13px; }
.tp-ptools .link { font-size: 13px; }
.tp-saved { color: var(--mute); font-size: 12px; min-width: 6em; }
.orders.ppl > .tp-p { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.orders.ppl > .tp-p.off { cursor: default; }
.tp-p input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.tp-p .tp-x { width: 18px; height: 18px; border: 1.5px dashed var(--faint); border-radius: 3px; }
.tp-p.off .tp-pn { color: var(--mute); }
.tp-p.on .tp-pn { font-weight: 600; }
.tp-p .st { text-align: right; font-size: 12.5px; }
.tp-fit { margin: 0; font-size: 13.5px; color: var(--ink-2, var(--ink)); }
.tp-fit:empty { display: none; }
.tp-fit .link { font-size: 13.5px; }
.tp-step { display: flex; align-items: stretch; gap: 6px; }
.tp-step input { flex: 1; text-align: center; }
.tp-step .btn { min-width: 40px; padding: 4px 10px; font-size: 18px; line-height: 1; }
@media (max-width: 480px) {
  .orders.ppl > .tp-p { grid-template-columns: 22px minmax(0, 1fr); }
  .tp-p .st { grid-column: 2; text-align: left; }
}
.orders.ppl > div { grid-template-columns: minmax(0, 1fr) auto; }
.orders.ppl small, .orders.rc small { display: block; color: var(--mute); font-size: 12px; }
.orders .st.bad { color: var(--red); }
.orders.rc > div { align-items: center; }
.orders.rc .link { font-size: 13.5px; }
.orders.dv > div { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.orders.dv small { display: block; color: var(--mute); font-size: 12px; }
.orders.dv .here { color: var(--ink); font-weight: 500; font-size: 12.5px; }
.got { display: grid; gap: 6px; font-size: 14px; }
.tb-who { border: 1.5px solid var(--line); padding: 12px 16px 14px; margin: 0 0 14px; display: grid; gap: 10px; min-width: 0; }
.tb-who legend { font-size: 12.5px; color: var(--mute); padding: 0 6px; }
.tb-who .tick { display: flex; gap: 8px; align-items: center; font-size: 14.5px; cursor: pointer; }
.tb-who .tick input { width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.tb-who .tick small { color: var(--mute); font-size: 12.5px; }
.tb-who h3 { font-size: 12.5px; font-weight: 500; color: var(--mute); margin: 4px 0 0; }
#tb-team { display: grid; gap: 8px; }
#tb-team:empty { display: none; }
.tb-who textarea { width: 100%; box-sizing: border-box; font: inherit; }
.got q { display: block; color: var(--mute); font-style: italic; margin-top: 2px; }
.got q::before, .got q::after { content: '"'; }
@media (max-width: 640px) {
  .acct { margin: 0; }
  .grid2 { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .strip .btn { display: none; }
}
.orders .acts { display: inline-flex; gap: 14px; margin-left: 12px; }
.orders .acts .link, .orders button.st { font-size: 13px; }
.orders .acts .quiet { color: var(--mute); }
.orders button.st.pending { color: var(--ink); font-weight: 500; }

/* the connector address to paste into Claude */
.copyrow { display: flex; gap: 8px; align-items: center; margin: 10px 0 14px; }
.copyrow code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; padding: 8px 10px; border: 1px solid var(--line); background: var(--wash); font-size: 13px; }
.pkg.pick { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.st-back { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin: 8px 0 12px; border: 1px solid var(--line); background: var(--wash); font-size: 13.5px; }

/* reminders in a calendar app: the address, its QR and the Add button */
.cf-add { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: start; margin: 0 0 14px; }
.cf-qr { width: 160px; aspect-ratio: 1; }
.cf-qr .dl-qr { width: 100%; height: 100%; display: block; border-radius: 8px; }
.cf-add .hint { margin-top: 10px; }
.cf-state { margin-bottom: 6px; }
@media (max-width: 520px) { .cf-add { grid-template-columns: 1fr; } .cf-qr { display: none; } } /* on the phone itself the button does it */
#apps code { white-space: normal; overflow-wrap: anywhere; } /* the connector address wraps on a phone instead of hiding its end */

/* what apps may use */
.ap-use { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.ap-use h3 { margin: 0 0 4px; font-size: 15px; }
.ap-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin-top: 8px; }
.ap-g { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; cursor: pointer; }
.ap-g input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--ink); }
.ap-g span { min-width: 0; }
.ap-g small { display: block; color: var(--mute); font-size: 12px; }

/* storage used against the account's limit */
.st-bar { height: 8px; background: var(--line); margin: 6px 0 8px; }
.st-bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s ease; }
#storage.near .st-bar i { background: var(--gold); }
#storage.full .st-bar i { background: var(--red); }
.st-say { margin: 0 0 4px; font-variant-numeric: tabular-nums; }
#storage.full .st-say { color: var(--red); font-weight: 600; }
/* pay for someone: several people (2 Nov 2026) */
.g-who { margin-top: 4px; }
.g-who .g-q { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
#g-team { display: grid; gap: 12px; max-height: 360px; overflow: auto; overscroll-behavior: contain; }
#g-team:empty { display: none; }
.g-grp { display: grid; gap: 8px; }
.g-grp h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.g-grp h3 .link { font-size: 12.5px; font-weight: 500; }
.g-grp .tick span { min-width: 0; overflow-wrap: anywhere; }
.g-chosen { border-top: 1px solid var(--line); padding-top: 10px; }
.g-chosen p { margin: 0 0 8px; font-size: 13.5px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.g-chosen p .link { margin-left: auto; font-size: 13px; }
.g-chosen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.g-chosen li { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; border: 1.5px solid var(--ink); padding: 3px 4px 3px 10px; font-size: 13.5px; }
.g-chosen li span { min-width: 0; overflow-wrap: anywhere; }
.g-chosen li small { color: var(--mute); font-size: 12px; }
.g-chosen li button { border: 0; background: none; color: var(--ink); font: inherit; font-size: 17px; line-height: 1; width: 26px; height: 26px; cursor: pointer; flex: none; }
.g-chosen li button:hover, .g-chosen li button:focus-visible { background: var(--wash); }
.g-sum { margin: 4px 0 0; font-size: 15px; }
.g-sum:empty { display: none; }
.g-sum b { font-size: 18px; }
#f-gift { display: grid; gap: 14px; }
#f-gift .end { display: flex; justify-content: flex-end; }
.orders.rc .rc-ppl { overflow-wrap: anywhere; }

/* people still to pay for, a payment in parts, and the choice before paying for someone twice (migration *_payment_overlap.sql) */
.g-rest { display: grid; gap: 8px; margin: 0 0 14px; }
.g-rest > div { border: 1.5px solid var(--ink); padding: 10px 12px; display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; }
.g-rest p { margin: 0; flex: 1 1 260px; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.g-rest span { display: inline-flex; gap: 12px; align-items: center; }
.btn.small { height: 34px; padding: 0 14px; font-size: 13.5px; }
.g-split { border-left: 3px solid var(--gold); padding: 2px 0 2px 12px; margin: 10px 0 0; display: grid; gap: 8px; }
.g-split p { margin: 0; font-size: 13.5px; }
.g-split .g-part { max-width: 320px; }
.ac-ask { border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); padding: 20px; max-width: min(460px, calc(100vw - 32px)); box-sizing: border-box; }
.ac-ask::backdrop { background: color-mix(in srgb, var(--ink) 35%, transparent); }
.ac-ask p { margin: 0 0 16px; line-height: 1.5; }
.ac-ask-b { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 480px) { .ac-ask-b { flex-direction: column-reverse; } .ac-ask-b .btn { width: 100%; } }
