/* Shared editing surface, based on Monarch's amount-first transaction flow. */
#sheet #sheet-title:focus{outline:none}
#sheet.management-sheet .sheet-body:has(.app-form){padding-top:10px}
.app-form{min-height:100%;display:flex;flex-direction:column;box-sizing:border-box;padding-bottom:0}
.app-form>.field,.app-form>.field-row,.app-form>.check-field,.app-form>.helper-text,.app-form>.form-section,.app-form>.expense-heading{flex:none}
#sheet .app-form .field{margin-bottom:20px;gap:8px;position:relative}
#sheet .app-form .field>span:first-child{font-size:12px;color:#71717c;font-weight:600;line-height:1.5}
#sheet .app-form .field input,#sheet .app-form .field textarea{background:#f6f6f8;border-color:transparent;border-radius:12px;min-height:52px;padding:14px;font-size:16px;transition:border-color .15s,background .15s}
#sheet .app-form .field input:focus,#sheet .app-form .field textarea:focus{border-color:transparent;outline:none;box-shadow:none;background:#f6f6f8}
:root[data-keyboard-navigation] #sheet .app-form .field input:focus,:root[data-keyboard-navigation] #sheet .app-form .field textarea:focus{outline:2px solid #3d7ded;outline-offset:2px}
#sheet .app-form .field .date-control{border:0;border-radius:12px;min-height:52px;background:#f6f6f8}
.app-form>.form-actions{position:sticky;bottom:0;z-index:4;margin-top:auto;padding:15px 0 max(18px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eeeef1}
.app-form>.form-actions .primary-button{background:#e9701d;border-radius:13px;min-height:52px;box-shadow:none}
.app-form>.form-actions .outline-button{border:0;color:#787882;background:#f3f3f5;border-radius:13px;min-height:52px}
.app-form>.form-error:empty{display:none}.app-form>.form-error{margin-top:10px;margin-bottom:12px}
.app-form>.helper-text{font-size:11px;line-height:1.8;margin:0 0 20px;color:#85858f}
.app-form>.check-field{font-size:12px;line-height:1.7;margin-bottom:20px}
.app-form .check-field input{accent-color:#e9701d}
#sheet.management-sheet .field-row:has(.date-field-enhanced){grid-template-columns:minmax(0,1fr)}
.expense-heading{display:flex;align-items:center;gap:12px;margin:2px 0 24px}.expense-heading>.tile{margin:0!important;width:44px;height:44px}.expense-heading h3{font-size:17px;letter-spacing:-.3px}.expense-heading p{font-size:11px;line-height:1.7;color:#898992;margin-top:2px}
.expense-amount{display:flex;align-items:center;gap:4px;padding:20px 0 25px;border-bottom:1px solid #eeeef1;margin-bottom:24px}.expense-amount>span{font-size:35px;font-weight:700;color:#92929c}.expense-amount input{font-size:42px;line-height:1.2;font-weight:700;letter-spacing:-1px;background:transparent;border:0;width:100%;min-width:0;outline:none;color:#19191e}.expense-amount input::placeholder{color:#c8c8cf}.expense-amount input:focus-visible{outline:0}
:root[data-keyboard-navigation] #sheet .expense-amount input:focus{outline:2px solid #3d7ded;outline-offset:4px;border-radius:4px}
.form-section{font-size:11px;letter-spacing:.6px;text-transform:uppercase;color:#92929b;font-weight:600;margin:4px 0 16px}
.enhanced-native-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;overflow:hidden;bottom:0}
.field-choice-button{width:100%;display:flex;align-items:center;gap:10px;justify-content:space-between;min-height:52px;text-align:left;border:0;border-radius:12px;background:#f6f6f8;padding:14px;color:#25252b;font-size:14px}.field-choice-button>span{flex:1;min-width:0;overflow-wrap:anywhere}.field-choice-button>svg{color:#94949e;flex:none}.field-choice-button:disabled{opacity:.5}.field-choice-button[aria-expanded=true]{background:#fff3e9;outline:1px solid #f3caa9}.field-choice-button[aria-invalid=true]{outline:2px solid #bb414d}.field-choice-panel{margin-top:8px;border:1px solid #e9e9ed;border-radius:14px;background:#fff;max-height:270px;overflow-y:auto;overscroll-behavior:contain}.field-choice-panel[hidden]{display:none}.field-choice-option{display:flex;align-items:center;gap:10px;justify-content:space-between;text-align:left;width:100%;min-height:52px;padding:13px;background:#fff;border:0;border-bottom:1px solid #f0f0f3;font-size:13px;color:#25252c}.field-choice-option:last-child{border-bottom:0}.field-choice-option>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.field-choice-option[aria-selected=true]{background:#fffaf6}.field-choice-option[aria-selected=true] .selection-disc{color:#fff;background:#e9701d}.field-choice-option:disabled{opacity:.45}
.app-form .field-choice-button>span,.app-form .date-picker-trigger>span{font-size:14px;font-weight:500;color:inherit;line-height:1.5}
.app-form .field-choice-option>span:first-child{font-size:13px;color:inherit}
.app-form .field-choice-option .selection-disc{color:transparent}
.app-form .field-choice-option[aria-selected=true] .selection-disc{color:#fff}
#sheet .app-form .field-choice-button[aria-expanded=true]:not([aria-invalid=true]){outline:none;background:#f6f6f8}
:root[data-keyboard-navigation] #sheet .app-form .field-choice-button:focus-visible{outline:2px solid #3d7ded;outline-offset:2px}
.bank-handoff-overlay{position:fixed;inset:0;z-index:1000;background:#f3f3f6;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}.bank-handoff-overlay[hidden]{display:none}.bank-handoff-content{max-width:350px;width:100%;text-align:center}.bank-handoff-content>img{width:54px;height:54px;border-radius:15px;margin-bottom:20px}.bank-handoff-content h3{font-size:21px;letter-spacing:-.4px;margin-bottom:9px}.bank-handoff-content>p{font-size:12px;color:#898993;line-height:1.8;margin-bottom:25px}.bank-handoff-content .bank-progress{margin:0;text-align:left}.bank-handoff-content>button{margin-top:22px;width:100%}.bank-handoff-sheet{padding-top:28px}.bank-handoff-sheet .bank-handoff-content{margin:auto}
.ownership-value-note{font-size:11px;line-height:1.8;color:#8b8b96;margin-bottom:20px}.ownership-history{margin:10px 0 20px;padding:14px;border:1px solid #eeeef1;border-radius:14px}.ownership-history h3{font-size:13px;margin-bottom:10px}.ownership-history>div{display:flex;justify-content:space-between;font-size:12px;line-height:1.8;padding:7px 0;border-top:1px solid #f1f1f4}.ownership-history>p{font-size:11px;line-height:1.7;color:#85858f}
@media(prefers-reduced-motion:reduce){#sheet .app-form .field input,#sheet .app-form .field textarea{transition:none}}
