/* Scope the compact layout below the NFC stage only. */
#dialog.nfc-shell #modal.nb-nfc #contactTrigger{margin:12px 0 8px!important;padding:12px!important;min-height:46px;height:auto}
#dialog.nfc-shell .nb-nfc-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0!important;width:100%}
#dialog.nfc-shell .nb-nfc-actions>button{position:static!important;transform:none!important;width:100%!important;height:auto!important;min-height:48px!important;margin:0!important;padding:9px!important;border-radius:14px!important;font-size:14px!important;display:flex;align-items:center;justify-content:center;gap:7px}
#dialog.nfc-shell .nb-nfc-actions #shareExpenseNfc{flex-direction:column;gap:0}#dialog.nfc-shell .nb-nfc-actions small{font-size:11px;margin:0;line-height:1.3}
#dialog.nfc-shell .nb-nfc-actions .pot-create-plus svg{width:22px;height:22px;flex-shrink:0}
#dialog.nfc-shell #modal.nb-nfc .nfc-new-pot-label{display:none!important}
#dialog.nfc-shell #modal.nb-nfc .cc-nfc{padding:0;margin:8px 0 0}#dialog.nfc-shell #modal.nb-nfc .cc-nfc>summary{padding:10px 8px;font-size:13px;min-height:44px;box-sizing:border-box}
.nb-goal-hint{background:#e2f1ec;color:#443990;border-radius:12px;padding:9px 12px;font-size:13px;margin:6px 0}.nb-goal-help{display:block;font-size:12px;line-height:1.45;margin:6px 0 14px;color:#6c697e}
/* The global header rule must not put preview content in columns. */
#modal .cx-example>header{display:block!important;position:static!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden;padding:16px!important}
#modal .cx-example>header h2{margin:8px 0 4px!important;font-size:24px!important;line-height:1.2!important;overflow-wrap:anywhere}
#modal .cx-example>header p{margin:4px 0 12px!important;font-size:14px;line-height:1.4}
#modal .cx-example>header small{display:inline-block;font-size:10px;padding:3px 8px;border-radius:20px;background:#ffffff25}
#modal .cx-example>header img{display:block!important;position:static!important;transform:none!important;width:100%!important;max-width:100%!important;height:160px!important;object-fit:cover!important;object-position:center;border-radius:14px!important;margin:0!important}
#modal .cx-example>nav{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;overflow:visible!important;gap:7px!important;margin:12px 0!important}
#modal .cx-example>nav button{border-radius:12px!important;white-space:normal!important;min-width:0;font-size:13px;padding:10px 6px!important}
#modal .cx-example article{display:block!important;margin:8px 0!important;padding:12px!important;min-height:0!important}
#modal .cx-example article b{font-size:15px}#modal .cx-example article p{font-size:13px;margin:4px 0!important}
#modal .cx-example label{display:flex!important;align-items:center;gap:8px;padding:6px 0!important;font-size:12px;margin:0!important}
#modal .cx-example input[type=checkbox]{width:18px!important;height:18px!important;margin:0!important;accent-color:#443990}
#modal .cx-example footer{display:block!important;position:static!important;margin:16px 0 0!important;padding:0!important}
.cx-days{display:flex;gap:6px;margin:12px 0}.cx-days button{min-height:40px;padding:8px 12px;border:1px solid #dedee8;border-radius:12px;background:white;color:#443990}.cx-days button[aria-pressed=true]{background:#443990;color:white}
.cx-summary{padding:10px;border-radius:12px;background:#e2f1ec;font-size:13px;color:#302b60}.cx-reminders{margin-top:12px;border-top:1px solid #dedee8;padding-top:10px}.cx-reminders summary{cursor:pointer;padding:10px 0;font-weight:600;color:#443990}

#view.nb-no-goal .travel-hero .travel-collection .goal,#view.nb-no-goal .travel-hero .travel-collection .percent,#view.nb-no-goal .travel-hero>.travel-bar,#view.nb-no-goal .travel-hero>.travel-progress-text{display:none!important}
.nb-no-goal-label{font-size:13px;margin:8px 0}
