/* App de l'hoste: pensada per al mòbil, centrada a l'escriptori */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 76px; padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--fang); max-width: 560px; margin: 0 auto; }
.logo { height: 42px; width: auto; display: block; }
.lang select { height: 44px; padding: 0 10px; border: 1px solid var(--terra-suau); border-radius: 4px; background: var(--calc);
  color: var(--terra-fosca); font-weight: 600; font-size: 15px; }
.page { max-width: 560px; margin: 0 auto; padding: 0 20px 48px; }
.progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-top: 14px; }
.progress span { height: 3px; background: var(--fang); }
.progress span.on { background: var(--teula); }
.intro { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; }
.section { padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.stepper button { width: 52px; height: 52px; border: 1px solid var(--terra-fosca); border-radius: 4px; background: var(--calc); color: var(--terra-fosca); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.stepper button:disabled { background: var(--pell); color: var(--terra-suau); border-color: var(--terra-suau); cursor: not-allowed; }
.stepper output { display: flex; flex-direction: column; align-items: center; }
.stepper .num { font-family: var(--serif); font-size: 48px; line-height: 56px; color: var(--terra-fosca); }
.choice { border: 1px solid var(--fang); border-radius: 12px; background: var(--calc); }
.choice.on { border-color: var(--teula-fosca); background: var(--rosa); }
.choice > label { display: flex; align-items: flex-start; gap: 12px; padding: 16px; cursor: pointer; }
.choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teula-fosca); }
.choice .t { font-weight: 600; color: var(--terra-fosca); }
.choice .more { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.linkbox { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--fang); border-radius: 4px; background: var(--calc);
  color: var(--terra-fosca); font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.linkbox span { overflow: hidden; text-overflow: ellipsis; }
.person { background: var(--rosa); border-radius: 12px; }
.person-head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 14px 16px; border: 0; background: transparent; text-align: left; color: var(--terra-fosca); cursor: pointer; border-radius: 12px; }
.person-head[disabled] { cursor: default; }
.badge { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--fang); border-radius: 4px; background: var(--calc); font-family: var(--serif); font-size: 18px; }
.person-name { font-weight: 600; }
.person-body { display: flex; flex-direction: column; gap: 20px; padding: 0 16px 20px; }
.person-body .block { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--fang); }
.person-body .note { padding: 10px 12px; border-radius: 4px; background: var(--calc); font-size: 14px; line-height: 22px; color: var(--terra-fosca); }
.person .pending { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px 64px; }
.footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fang); display: flex; flex-direction: column; gap: 14px; }
.taxlines { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--rosa); font-size: 14px; line-height: 22px; }
.taxlines div { display: flex; justify-content: space-between; gap: 12px; }
.total { font-family: var(--serif); font-size: 40px; line-height: 48px; }
.bizum { border: 1px solid var(--fang); border-radius: 12px; overflow: hidden; }
.bizum > div, .bizum > label { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 10px 12px 10px 16px; }
.bizum > * + * { border-top: 1px solid var(--fang); }
.bizum .v { font-size: 18px; font-weight: 600; color: var(--terra-fosca); }
.signers { border-top: 1px solid var(--fang); }
.signers > div { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--fang); }
.sigbox { display: block; width: 100%; max-width: 520px; aspect-ratio: 340 / 150; border: 1px dashed var(--terra-suau); border-radius: 4px; background: var(--calc); touch-action: none; cursor: crosshair; }
.done { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-top: 24px; }
.done .tick { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--rosa); color: var(--terra-fosca); }
.privacy { background: var(--rosa); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 22px; }
.saved { font-size: 13px; color: var(--terra-suau); }
@media (max-width: 380px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
