/* Bremto Precision: shared layout preserved, Pay & Receive identity applied. */
:root,body.app{--ink:#0B0F14;--muted:#536174;--green:#0057FF;--accent:#0057FF;--accent-action:#0057FF;--soft:#E8F1FF;--cream:#F7F9FC;--paper:#fff;--line:#DCE4EF;--blue:#0057FF}
body,body.app,.app-shell,.auth-page{background:#F7F9FC;color:#0B0F14}
.app-sidebar,.app-header,.mobile-tabs,.site-nav{background:#fff;border-color:#DCE4EF}
.bremto-lockup{width:218px;height:auto;display:block;max-width:100%}
.app-sidebar .logo{display:block}.app-sidebar .workspace-label{margin-top:20px}
.app-sidebar nav a.active,.app-sidebar nav a[aria-current=page],.mobile-tabs a[aria-current=page]{background:#E8F1FF;color:#0057FF}
.button.primary,.btn.primary,.auth .btn{background:#0057FF;border-color:#0057FF;color:#fff}
.button.primary:hover,.btn.primary:hover,.auth .btn:hover{background:#0046D1;border-color:#0046D1}
.home-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.home-modules .overview-task{border-top-color:#0057FF;background:#fff;min-height:240px}.home-modules .overview-task small{color:#0057FF}.home-modules .overview-task:hover{background:#F7F9FC;border-top-color:#0057FF}
.auth-story{background:#0057FF;color:#fff}.auth-story .bremto-lockup{content:url('/static/brand/bremto-pr-white.svg');width:250px}.auth-story h2,.auth-story p,.auth-story .eyebrow,.auth-story .auth-footnote{color:#fff}.auth a{color:#0057FF}
.hero-sheet,.hero-sheet:before{background:#E8F1FF;border-color:#DCE4EF}.hero-sheet{background:#fff}.site-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-product{background:#fff;border-top-color:#0057FF}.site-cta{background:#E8F1FF}.site-footer,.table-wrap th{background:#F7F9FC}
.mobile-tabs{grid-template-columns:repeat(4,1fr)}.app input[type=checkbox],.app input[type=radio]{accent-color:#0057FF}
@media(max-width:760px){.home-modules,.site-product-grid{grid-template-columns:1fr}.home-modules .overview-task{min-height:0}.bremto-lockup{width:175px}.auth-story .bremto-lockup{width:210px}.site-nav{flex-wrap:wrap}.app-header{background:#fff}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Bulk actions stay visible at the top of each filtered record list. */
.bulk-toolbar{margin:14px 0 18px;padding:16px;background:#F1F6FF;border:1px solid #CCDCFA;border-radius:12px;display:grid;gap:12px}.bulk-selection,.bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.bulk-selection strong{margin-left:auto;padding:6px 10px;border-radius:7px;background:#fff;color:#174483;font-size:13px}.bulk-toolbar small{line-height:1.6;color:#4B607B}.bulk-toolbar .button{min-height:40px}.bulk-toolbar [data-action*="delete"],.data-clear-panel [data-action="record-clear-data"]{color:#A3352C;border-color:#DAB3AF;background:#fff}.record-check{display:inline-flex;align-items:center;gap:7px;min-height:36px;white-space:nowrap}.record-check input,.review-table input[type="checkbox"],.bank-select-cell input{width:18px;height:18px}.record-check span{font-size:11px;text-transform:none;letter-spacing:0}.data-clear-panel{border-color:#DAB3AF}.data-clear-panel p{max-width:80ch}.data-clear-panel small{display:block;margin-top:12px;line-height:1.6}#dialog details ul{max-height:260px;overflow:auto;padding-right:12px}#dialog details li{margin:7px 0;overflow-wrap:anywhere}#dialog .bulk-blocked{border:1px solid #E7D5B6;background:#FFF9EE;padding:12px;border-radius:8px}.obligation-table td.record-select-cell,.obligation-table td.bank-select-cell{min-width:58px;width:88px}.review-table td:first-child{min-width:96px;width:110px}
@media(max-width:760px){.bulk-toolbar{padding:12px;margin:12px 0;gap:10px}.bulk-selection,.bulk-actions{gap:7px}.bulk-toolbar .button{font-size:12px;min-height:44px;padding:10px 12px;white-space:normal}.bulk-selection strong{margin-left:0}.bulk-toolbar small{font-size:11px}.obligation-table .obligation-row td.record-select-cell{grid-row:1;grid-column:1;min-height:44px;width:auto;display:flex;align-items:center;gap:6px}.obligation-table .obligation-row td.bank-select-cell{grid-row:1;grid-column:2;min-height:44px;width:auto;display:flex;align-items:center;justify-content:flex-end;gap:6px}.record-select-cell:after{content:'Select record';font-size:11px}.bank-select-cell:after{content:'Bank file';font-size:11px}.review-table td:first-child{width:auto;min-height:44px}.data-clear-panel .actions{align-items:stretch}.data-clear-panel .button{white-space:normal}}
@media print{.bulk-toolbar,.record-select-cell,.bank-select-cell,.data-clear-panel{display:none!important}}
/* Recurring schedules sit apart from payment-file preparation. */
.schedule-fields{margin:18px 0;padding:18px;border:1px solid #CCDCFA;border-radius:12px;background:#F7FAFF;min-width:0}.schedule-fields legend{padding:0 7px;font-size:15px;font-weight:700;color:#174483}.schedule-fields .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.schedule-fields>small{display:block;margin-top:12px;line-height:1.65;color:#52647D}.schedule-month-end{margin:12px 0}.schedule-preview{padding:12px;background:#fff;border:1px solid #E0E8F4;border-radius:8px;color:#43536C;font-size:12px;line-height:1.7}.schedule-preview strong{display:block;color:#17385E;margin-bottom:8px}.schedule-date-list{display:flex;flex-wrap:wrap;gap:6px}.schedule-date-list span{display:inline-block;padding:4px 7px;background:#EDF3FF;color:#23436D;border:1px solid #D9E4F6;border-radius:6px;font-size:11px;white-space:nowrap}.schedule-preview small{display:block;margin-top:8px}.recurring-panel>.page-head{margin-bottom:12px}.recurring-panel>.page-head h2{font-size:22px}.recurring-hint{max-width:80ch;color:#52647D;margin-bottom:20px;line-height:1.7}.recurring-filters{display:grid;grid-template-columns:minmax(180px,2fr) minmax(150px,1fr) minmax(130px,1fr) auto;align-items:end;gap:12px;padding:15px;background:#F7F9FC;border:1px solid #E0E6EF;border-radius:10px}.recurring-filters .button{min-height:43px;margin:0 0 1px}.recurring-frequency{display:inline-block;font-weight:650;color:#174483;font-size:12px}.recurring-table td:first-child{min-width:70px}.recurring-table td small{display:block;margin-top:6px;line-height:1.6}.recurring-table .schedule-date-list{min-width:125px}.recurring-table [data-action=recurring-dates]{padding:5px 8px;min-height:30px;margin-top:7px;font-size:10px}.saved-record-banner{display:flex;align-items:center;gap:14px;padding:16px 18px;margin-bottom:20px;border:1px solid #AFC8E8;border-left:4px solid #0057FF;border-radius:10px;background:#EEF5FF}.saved-record-banner>div{margin-right:auto}.saved-record-banner strong{display:block;color:#174483;font-size:14px}.saved-record-banner p{margin:5px 0 0;font-size:12px;color:#52647D}.saved-record-banner .button{white-space:normal}.entry-methods.segmented{flex-wrap:wrap}
@media(max-width:760px){.schedule-fields{padding:14px;margin:15px 0}.schedule-fields .form-grid,.recurring-filters{grid-template-columns:1fr}.schedule-preview{font-size:12px}.recurring-panel>.page-head{align-items:flex-start;flex-direction:column;gap:14px}.recurring-panel>.page-head h2{font-size:20px}.recurring-panel>.page-head .button{width:100%;min-height:46px}.recurring-hint{font-size:12px}.recurring-table .schedule-date-list{min-width:0}.recurring-table td:first-child{min-width:0}.saved-record-banner{flex-wrap:wrap;padding:14px}.saved-record-banner>div{width:100%}.saved-record-banner .button{min-height:44px;font-size:12px}.recurring-filters .button{min-height:44px}.entry-methods.segmented .button{font-size:12px;min-height:44px}}
@media print{.schedule-fields,.recurring-filters,.saved-record-banner{display:none!important}}
