/* SolucioNes — route workspace and direct-access tool library. */
.receipt-history-page .payment-receipt-toolbar{flex-wrap:wrap}.receipt-history-page .payment-receipt-toolbar h1{flex:1 0 100%}.receipt-history-page .payment-receipt-toolbar .btn{width:auto;height:auto;min-height:44px;flex:0 1 auto;padding:10px 16px;white-space:normal}.receipt-history-page .payment-receipt-status{color:#425e7c}
.workspace-ui .office-shell .office-drawer .tools-group h2{background:#245bff;color:#fff;padding:13px 15px;border-radius:12px;min-height:46px;box-sizing:border-box}.workspace-ui .office-shell .office-drawer .tools-group h2 svg{color:#fff}.workspace-ui .office-shell .office-drawer nav>button[data-view]{background:#e0edff;border-color:#b8d3ff;color:#124baf;font-weight:650}.workspace-ui .office-shell .office-drawer nav>button[data-action=logout]{background:#c92c43;color:#fff;border-color:#c92c43;font-weight:700}.workspace-ui .office-shell .office-drawer nav>button[data-action=logout] svg{color:#fff}
.receipt-history-page{max-width:1050px;margin:auto;color:#123257}.receipt-history-page .payment-receipt-toolbar{display:flex;justify-content:space-between;align-items:center;background:transparent;padding:0 0 24px;gap:16px}.receipt-history-page h1{font-size:30px;margin:0}.receipt-history-page .payment-history-body{padding:0;background:transparent;max-height:none;overflow:visible}.receipt-history-page .payment-history-body>p{font-size:17px}.receipt-history-page ol{list-style:none;padding:0;display:grid;gap:18px}.receipt-history-page li{background:#fff;border:1px solid #d5e4f3;border-radius:22px;padding:24px;display:flex;justify-content:space-between;gap:20px}.receipt-history-page li>div{flex:1}.receipt-history-page li strong{font-size:26px;color:#245bff;display:block}.receipt-history-page li span{display:block;color:#58718b;margin:8px 0}.receipt-history-page dl{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.receipt-history-page dt{font-size:12px;color:#58718b;margin-bottom:5px}.receipt-history-page dd{margin:0;font-size:15px;font-weight:650}.receipt-history-page details summary{cursor:pointer;background:#eaf3ff;border-radius:12px;padding:10px}.receipt-history-page details button{border:1px solid #bad4f1;background:white;padding:12px;border-radius:12px;color:#1852a3}.receipt-history-page .payment-receipt-actions{background:transparent;padding:20px 0;border:0}.receipt-history-page .payment-receipt-preference{border-radius:14px;padding:15px;background:#e4f0ff}.receipt-history-page .payment-receipt-actions button{border-radius:12px;min-height:44px}@media(max-width:600px){.receipt-history-page h1{font-size:24px}.receipt-history-page li{padding:18px;gap:8px}.receipt-history-page dl{gap:16px 10px}.receipt-history-page dd{font-size:13px}.receipt-history-page .payment-receipt-toolbar{align-items:flex-start}}
.workspace-ui [data-owner-view=route] .owner-content,.workspace-ui [data-owner-view=routes] .owner-content{background:transparent;border-radius:0}
.route-command{margin:20px 0 24px;padding:26px;border:1px solid #ffffffd9;border-radius:28px;background:linear-gradient(125deg,#ffffffdf,#e8f5ffb3);box-shadow:inset 0 1px 0 #fff,0 14px 40px #153f7510;backdrop-filter:blur(24px)}
.route-command-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.route-command h2{font-size:24px;letter-spacing:-.6px;margin:9px 0;color:#123257}.route-command p{font-size:14px;color:#53718d;margin:0}.route-state{font-size:12px;color:#107b67;font-weight:650}.route-command-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.route-command-actions .btn{min-height:46px;border-radius:16px;padding:12px 16px;background:#ffffffb8;border:1px solid #fff;color:#174373;box-shadow:0 3px 10px #12325708}.route-command-actions .btn:hover{background:#e6f5ff;transform:translateY(-2px)}
.workspace-ui .owner-route-filters{border-radius:22px;background:#ffffffa6;box-shadow:inset 0 1px 0 #fff;border:1px solid #fff;padding:18px;gap:18px}.workspace-ui .owner-loans{background:transparent;border:0;box-shadow:none;padding:8px 0 110px}.workspace-ui .owner-loans h2{font-size:18px;color:#24476b}.workspace-ui .owner-loan-grid{gap:20px;grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.workspace-ui .owner-loan-card{border-radius:24px;background:linear-gradient(150deg,#fffffff2,#f3faffd9);border:1px solid #fff;box-shadow:inset 0 1px 0 #fff,0 12px 30px #1437630c;overflow:visible;isolation:isolate}.workspace-ui .owner-loan-open{display:block;min-height:180px;padding:22px 22px 16px}.workspace-ui .owner-loan-person{padding:0 44px 0 0;gap:7px}.workspace-ui .owner-loan-person>strong{font-size:18px;line-height:1.4;color:#123257}.workspace-ui .owner-loan-frequency{color:#63809b;font-size:12px}.workspace-ui .owner-loan-balance{background:transparent;color:#123257;display:flex;justify-content:flex-start;width:100%;min-width:0;padding:18px 24px 0 0}.workspace-ui .owner-loan-balance>strong{font-size:25px;font-weight:750;letter-spacing:-.7px;line-height:1.2}.workspace-ui .owner-loan-chevron{right:0;bottom:0;color:#245bff}.workspace-ui .owner-loan-card .collection-contacts{padding:0 20px 20px}.workspace-ui .owner-loan-card .collection-contacts .btn{background:#ffffff96;border-color:#dce7f3;border-radius:12px;font-size:11px}.workspace-ui .owner-payment-count{right:70px;top:24px;background:#e7f0ff;color:#245bff;font-size:11px;padding:3px 6px}.workspace-ui .owner-loan-card .arrears-tag{align-self:flex-start}
.workspace-ui .owner-loan-card .owner-card-drag{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;right:14px;top:16px;padding:10px;border-radius:16px;background:linear-gradient(145deg,#fff,#e4f4ff);border:1px solid #fff;color:#2172bd;box-shadow:inset 0 1px 0 #fff,0 4px 12px #154a8020;touch-action:none}.workspace-ui .owner-loan-card .owner-card-drag svg{display:block;position:static;width:24px;height:24px;min-width:24px;flex:none;margin:0;stroke-width:1.8;pointer-events:none}.workspace-ui .owner-loan-card .owner-card-drag:hover{background:#d9f4ff;color:#0750ac}.workspace-ui .owner-loan-card.is-grabbed{opacity:.25;transform:none;box-shadow:none;outline:2px dashed #4594d8}.route-drag-ghost{position:fixed!important;z-index:10000!important;pointer-events:none!important;margin:0!important;box-shadow:0 24px 60px #0a2b5750!important;opacity:.97!important;transition:none!important}.workspace-ui .owner-route-dock{display:none}
.workspace-ui .owner-route-grid{grid-template-columns:repeat(auto-fit,minmax(280px,420px));gap:24px}.workspace-ui .owner-route-card{border:1px solid #fff;border-radius:28px;background:linear-gradient(145deg,#ffffffed,#e8f5ffbf);box-shadow:inset 0 1px 0 #fff,0 20px 45px #12325710;backdrop-filter:blur(20px)}.workspace-ui .owner-route-open{padding:32px;text-align:left}.workspace-ui .owner-route-open h3{font-size:25px;line-height:1.25;margin:12px 0 24px}.workspace-ui .owner-route-open p{font-size:13px;line-height:1.8}.workspace-ui .owner-route-edit{width:36px;height:36px;border-radius:12px;background:#ffffffbd;right:14px;top:14px}
.workspace-ui .office-shell .office-drawer{width:min(620px,94vw);padding:64px 26px 24px;background:linear-gradient(150deg,#f8fcfff5,#e9f4fff2);color:#123257;border-left:1px solid #fff;box-shadow:-20px 0 80px #082b5733;backdrop-filter:blur(30px);overflow:auto}.workspace-ui .office-shell .office-drawer nav{display:grid;gap:10px}.workspace-ui .office-shell .office-drawer nav>button,.workspace-ui .office-shell .office-drawer .office-menu-children button{color:#163e68;background:#ffffff9c;border:1px solid #ffffffd9;border-radius:14px;min-height:47px;padding:12px;display:flex;align-items:center;gap:10px;text-align:left;font-size:13px;line-height:1.35;width:100%;box-shadow:none}.workspace-ui .office-shell .office-drawer button:hover{background:#dcefff;color:#154eac}.workspace-ui .office-shell .office-drawer button svg{color:#2779bc;width:18px;height:18px;flex:none}.workspace-ui .office-shell .office-drawer button svg:last-child{margin-left:auto;width:14px}.workspace-ui .office-shell .office-drawer .tools-group{padding:14px 0;border-top:1px solid #caddec;margin-top:6px}.workspace-ui .tools-group h2{display:flex;align-items:center;gap:10px;font-size:15px;color:#294c70;margin:0 0 12px}.workspace-ui .tools-group h2 svg{width:18px;height:18px}.workspace-ui .office-shell .office-drawer .office-menu-children{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0;margin:0}.workspace-ui .office-menu-close{color:#174373;background:#fff;border-radius:50%;top:16px;right:20px}.workspace-ui .office-shell .office-drawer footer{color:#5e7993;margin-top:20px}.workspace-ui .owner-drawer-backdrop{background:#102d4e42;backdrop-filter:blur(7px)}
@media(max-width:600px){.route-command{padding:20px;border-radius:24px}.route-command-heading{align-items:flex-start}.route-command-heading>.btn{font-size:0;padding:10px;min-width:40px}.route-command-heading>.btn svg{width:18px;height:18px}.route-command h2{font-size:21px}.route-command-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.route-command-actions .btn{font-size:12px;padding:11px}.workspace-ui .owner-loan-grid{grid-template-columns:1fr}.workspace-ui .office-shell .office-drawer{padding-inline:18px}.workspace-ui .owner-loan-open{min-height:170px}.workspace-ui .owner-loan-balance>strong{font-size:25px}}

/* The payment history is intentionally phone-dense; do not inherit the old wide report layout. */
body.workspace-ui .receipt-history-page{width:min(100%,430px);max-width:430px;min-height:0;margin:auto;background:#eef4fb;color:#17365d;border:1px solid #cbdced;border-radius:10px;overflow:hidden}
body.workspace-ui .receipt-history-page .payment-receipt-toolbar{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:10px 14px;background:#092c5c;border-bottom:4px solid #16c9e8}
body.workspace-ui .receipt-history-page .payment-receipt-toolbar h1{flex:0 1 auto;margin:0;color:#fff;font-size:18px;line-height:1.2;font-weight:700}
body.workspace-ui .receipt-history-page .payment-receipt-toolbar button{flex:0 0 auto;width:auto;min-height:34px;padding:6px 8px;border:0;border-radius:6px;background:#ffffff14;color:#fff;font-size:12px;text-transform:uppercase}
body.workspace-ui .receipt-history-page .payment-history-body{padding:10px;background:#eef4fb;max-height:none;overflow:visible}
body.workspace-ui .receipt-history-page .payment-history-body ol{display:grid;gap:8px;margin:0;padding:0}
body.workspace-ui .receipt-history-page .payment-history-body li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:12px;border:1px solid #c9d9eb;border-left:4px solid #075fe4;border-radius:8px;background:#fff;box-shadow:none}
body.workspace-ui .receipt-history-page .payment-history-body li strong{display:inline;font-size:14px;color:#17365d}
body.workspace-ui .receipt-history-page .payment-history-body li span{display:block;margin:0;color:#61738a}
body.workspace-ui .receipt-history-page .payment-history-body details summary{padding:0;border:0;border-radius:0;background:transparent;color:#075fae}
@media(prefers-reduced-motion:reduce){.route-command-actions .btn,.workspace-ui .owner-loan-card{transition:none}}
