/* SnapCashier compact, focused UI: no marketing blocks in daily workflows. */
.sc-logo-settings { margin-top: 16px; }
.sc-logo-settings h3 { margin: 0 0 14px; font-size: 16px; }
.sc-logo-settings-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sc-logo-swatch { flex: 0 0 112px; width: 112px; height: 112px; border: 1px dashed #cbd5e1; border-radius: 14px; background: #f8fafc; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.sc-logo-swatch img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; padding: 9px; box-sizing: border-box; }
.sc-logo-swatch span { color: #94a3b8; font-size: 12px; }
.sc-logo-editor { min-width: min(300px,100%); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; }
.sc-logo-editor form { display: block; width: 100%; }
.sc-logo-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sc-logo-controls .btn { white-space: nowrap; }
.sc-logo-choose { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.sc-logo-controls output { color: #475569; font-size: 12px; flex: 1; min-width: 120px; max-width: 300px; overflow-wrap: anywhere; }
.sc-logo-size { display: block; margin-top: 8px; color: #64748b; font-size: 11px; }
.sc-logo-error { color: #b91c1c; font-size: 12px; margin-top: 9px; }
.sc-logo-controls button:disabled { opacity: .55; cursor: not-allowed; }
.sc-logo-remove { font-size: 12px; }
.sc-visually-hidden-file { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.sc-visually-hidden-file:focus-visible + .sc-logo-controls .sc-logo-choose { outline: 3px solid #3b82f6; outline-offset: 2px; }
.settings-main-header { padding-bottom: 12px; margin-bottom: 14px; }
.settings-main-header h2 { margin: 0; }
/* Hide nonessential introductory copy, not form labels, errors, warnings or validation. */
.page-heading > div > p, .inv-title > div > p, .settings-form .form-section-heading p, .settings-main-header p { display: none !important; }
@media (max-width: 620px) {
  .sc-logo-settings-row { align-items: stretch; }
  .sc-logo-editor { min-width: 100%; }
  .sc-logo-controls { align-items: stretch; }
  .sc-logo-controls output { min-width: 100%; order: -1; }
}

/* Minimal dashboard and sign-in — preserve validation and operational messages. */
.sc-dashboard-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.sc-dashboard-shortcuts .btn { min-width: 125px; text-align: center; }
.auth-wrap { display: grid; grid-template-columns: 1fr; }
.auth-hero { display: none; }
.auth-form-panel { min-height: 100dvh; }
.auth-caption { display: none; }
@media (max-width: 700px) { .auth-form-panel { min-height: 100dvh; } }
.sc-invoice-brand { max-width: 46px; max-height: 46px; object-fit: contain; margin: 0 auto 10px; }
