/* ---------- Cuenta y marca (modules/account.js) ---------- */
.ac-card { margin-bottom: 16px; }
.ac-note { color: var(--text2); font-size: 13.5px; margin: 0 0 14px; max-width: 70ch; text-wrap: pretty; }
.ac-brand { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.ac-logo { width: 140px; height: 140px; border-radius: var(--r-lg); border: 1px dashed var(--border-strong); display: grid; place-items: center; background: var(--surface-2); overflow: hidden; }
.ac-logo img { max-width: 120px; max-height: 120px; object-fit: contain; }
.ac-logo span { font-size: 12.5px; color: var(--text3); }
.ac-brand-form { display: flex; flex-direction: column; gap: 14px; flex: 1; min-width: 240px; max-width: 420px; }
.ac-color { display: flex; gap: 8px; align-items: center; }
.ac-color input[type=color] { width: 44px; height: 36px; padding: 2px; border-radius: 8px; }
.ac-color input[type=text] { width: 120px; font-variant-numeric: tabular-nums; }
.ac-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Edit dialogs (modules/masters.js) ---------- */
.mf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.mf-grid .mf-wide, .mf-grid .field:has(textarea) { grid-column: 1 / -1; }
.mf-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; align-self: end; min-height: 38px; }
.mf-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.mf-lines { margin-top: 18px; }
.mf-lines-h { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.mf-lines-h small { font-weight: 400; color: var(--text3); margin-left: 6px; }
.mf-line { display: grid; grid-template-columns: minmax(0, 1fr) 110px 120px 32px; gap: 8px; align-items: center; margin-bottom: 8px; }
.mf-inline { display: flex; align-items: center; gap: 6px; }
.mf-inline input { width: 100%; text-align: right; font-variant-numeric: tabular-nums; }
.mf-inline span { font-size: 12px; color: var(--text3); }
.mf-left, .mf-right { display: flex; gap: 8px; align-items: center; }
.danger-text { color: var(--red) !important; }
@media (max-width: 560px) {
  .mf-grid { grid-template-columns: 1fr; }
  .mf-line { grid-template-columns: 1fr 1fr; }
  .mf-line select { grid-column: 1 / -1; }
}

/* ---------- Login: terms and forgotten password (app.js) ---------- */
.login-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text2); line-height: 1.45; }
.login-terms input { width: 16px; height: 16px; margin-top: 2px; flex: none; accent-color: var(--text); }
.login-terms a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.login-forgot { background: none; border: 0; padding: 0; height: auto; box-shadow: none; color: var(--text2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; align-self: center; }
.login-forgot:hover { color: var(--text); background: none; }

.ac-upload { position: relative; display: inline-flex; align-self: flex-start; }
.ac-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ac-upload .btn-like { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text); }
.ac-upload input:focus-visible + .btn-like { outline: 2px solid var(--text); outline-offset: 2px; }
.ac-upload:hover .btn-like { background: var(--surface-2, var(--surface)); }
.ac-tz { min-width: 260px; flex: 0 1 320px; }
.ac-actions:has(.ac-tz) { align-items: center; }
