*{box-sizing:border-box}body{margin:0;background:#f3f6fa;color:#172b42;font:16px/1.45 system-ui,sans-serif}main{max-width:760px;margin:24px auto;padding:28px 36px;background:white;border:1px solid #dce4ed;border-radius:18px;box-shadow:0 8px 32px #17334e0b}.logo{display:block;width:190px;max-width:70%;height:auto;margin:0 auto 12px}.back{display:block;text-align:center;font-size:13px}h1{text-align:center;font-size:28px;margin:16px 0 4px}h1+p{text-align:center;color:#526579;margin:0 0 16px}h2{font-size:17px;margin:20px 0 10px}a{color:#184a78}label{display:block;font-weight:600;font-size:14px;margin-bottom:10px}input,select,textarea{display:block;width:100%;font:inherit;color:inherit;border:1px solid #bdcad8;border-radius:8px;padding:11px 12px;margin-top:5px;background:#fff;min-height:44px}input:focus,textarea:focus,select:focus{outline:2px solid #3276ad;outline-offset:1px}textarea{min-height:64px;resize:vertical}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.amount{background:#f0f5fa;border:1px solid #d4e1ee;border-radius:12px;padding:16px}.amount input{font-size:30px;font-weight:700;letter-spacing:.02em}.small{font-size:13px;color:#526579;margin:0}.notice{background:#fff6e3;border:1px solid #ead7a9;padding:12px;border-radius:8px;font-size:14px}.switch{display:flex;gap:10px;border:0;padding:0;margin:0 0 10px}.switch legend{font-size:14px;font-weight:600;margin-bottom:6px}.switch label{flex:1;border:1px solid #bdcad8;border-radius:8px;padding:10px;text-align:center;cursor:pointer}.switch label:has(:checked){background:#eaf1f8;border-color:#194c79}.switch input,.check input{display:inline-block;width:auto;min-height:0;margin:0 5px 0 0;accent-color:#123b63}.check{display:flex;align-items:flex-start;gap:8px;font-weight:400;font-size:13px;margin:16px 0}.check input{margin-top:4px}button{width:100%;border:0;border-radius:9px;background:#123b63;color:white;font:600 17px system-ui;padding:15px;cursor:pointer}button:disabled{background:#65788b;cursor:not-allowed}.band{display:block;width:260px;max-width:90%;margin:18px auto 8px}.security,footer{text-align:center;font-size:12px;color:#526579}footer{border-top:1px solid #e2e8ef;padding-top:12px;margin-top:16px}[hidden]{display:none!important}@media(max-width:560px){main{margin:0;border:0;border-radius:0;padding:20px 16px;box-shadow:none}.grid{grid-template-columns:1fr}h1{font-size:25px}.amount input{font-size:27px}}
.logo{width:250px;margin-bottom:8px}.band{width:340px}.hint{display:block;font-weight:400;font-size:12px;color:#526579;margin-top:3px}.amount label{margin-bottom:6px}.grid>*{min-width:0}.switch label{min-height:44px}.check input{flex-shrink:0} @media(max-width:560px){.logo{width:220px}.band{width:300px}}
.logout{display:flex;justify-content:flex-end;margin:0 0 16px}.logout button{width:auto;font-size:13px;padding:8px 14px}footer{line-height:1.9}button:focus-visible{outline:3px solid #3276ad;outline-offset:2px}
/* V7: scoped login appearance; payment pages unchanged */
.login-page{min-height:100vh;background-color:#f3f5f8;background-image:linear-gradient(135deg,#10334b03 25%,transparent 25%,transparent 75%,#10334b03 75%);background-size:48px 48px;padding:24px 16px;color:#10334b}.portal{max-width:680px;margin:auto}.portal-brand{text-align:center;margin:0 0 16px}.portal-brand img{width:240px;max-width:75%;height:auto}.portal-card{max-width:460px;margin:0 auto;padding:25px 30px 22px;border:1px solid #dce3eb;border-top:3px solid #ef6500;border-radius:14px;box-shadow:0 12px 36px #10334b12}.portal-heading{text-align:center}.portal-kicker{font-size:10px;font-weight:700;letter-spacing:2px;color:#526579}.portal-heading h1{font-size:26px;line-height:1.2;margin:8px 0}.portal-heading p{font-size:13px;line-height:1.5;color:#526579;margin:0 0 19px}.portal-card label{font-size:13px;margin:12px 0 5px}.portal-card input:not([type=hidden]){font-size:14px;min-height:46px;margin:0}.portal-card input[type=hidden]{display:none}.password-wrap{position:relative}.password-wrap input{padding-right:80px}.password-wrap button{position:absolute;right:5px;top:5px;width:auto;background:#f3f5f8;color:#10334b;font-size:12px;padding:9px 10px}.submit-login{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:18px;background:#10334b;font-size:15px;padding:13px}.submit-login:hover{background:#194762}.portal svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.portal-help{text-align:center;font-size:12px;margin-top:15px;color:#526579}.portal-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 20px;margin:18px auto;color:#42586a;font-size:12px}.portal-trust span{display:flex;align-items:center;gap:6px}.portal-footer{border:0;margin:0;padding:0;font-size:11px;line-height:1.6}.portal-footer p{margin:6px 0}.portal-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 12px}.portal-footer a{color:#234e70}.portal a:focus-visible{outline:2px solid #ef6500;outline-offset:3px}@media(max-width:560px){.login-page{padding:16px 12px}.portal-brand img{width:200px}.portal-card{padding:22px 18px;border:1px solid #dce3eb;border-top:3px solid #ef6500;border-radius:12px}.portal-heading h1{font-size:23px}.portal-trust{gap:8px 12px;font-size:11px}}

/* V8: compact, scoped login refinements */
.login-page{padding:14px 16px;background-image:linear-gradient(135deg,#10334b01 25%,transparent 25%,transparent 75%,#10334b01 75%);background-size:64px 64px}.portal-brand{margin-bottom:8px}.portal-brand img{width:270px;display:block;margin:auto}.portal-card{max-width:506px;padding:19px 30px 17px}.portal-heading h1{font-size:25px;margin:5px 0 6px}.portal-heading p{margin-bottom:12px}.portal-card label{margin-top:9px}.portal-card input:not([type=hidden]){min-height:44px}.password-wrap input{padding-right:52px}.password-wrap button{right:4px;top:3px;width:40px;height:38px;padding:0;display:grid;place-items:center;background:transparent}.password-wrap button:hover{background:#edf2f6}.password-wrap button svg{width:22px;height:22px}.eye-slash{display:none}.password-wrap button[aria-pressed=true] .eye-slash{display:block}.submit-login{margin-top:13px;padding:11px}.portal-help{margin-top:10px}.portal-trust{margin:12px auto;gap:8px 18px;font-size:12px}.portal-trust svg{width:22px;height:22px}.portal-footer{font-size:12px;line-height:1.5}.portal-footer p{margin:4px 0}.portal-footer nav{gap:3px 12px}.portal-footer a{text-underline-offset:2px}@media(max-width:560px){.login-page{padding:12px}.portal-brand img{width:230px}.portal-card{padding:18px}.portal-heading h1{font-size:23px}.portal-trust{gap:8px 12px}.portal-footer{font-size:11px}}
/* V9: payment only */
.payment-shell{max-width:660px;margin:auto}.payment-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.payment-brand img{width:190px;max-width:100%;display:block}.payment-brand form{margin:0}.exit-button{width:auto;background:transparent;color:#10334b;border:1px solid #bdcad8;font-size:13px;padding:8px 14px;white-space:nowrap}.payment-card{margin:0;padding:18px 26px 14px;border-top:3px solid #ef6500;border-radius:14px;box-shadow:0 12px 36px #10334b12}.payment-heading h1{font-size:24px;margin:0 0 8px}.customer-line{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#f3f5f8;padding:9px 12px;border-radius:7px;font-size:14px}.customer-line span{color:#526579}.payment-card .notice{font-size:12px;padding:8px 10px;margin:10px 0}.payment-card .amount{padding:10px 14px;margin-bottom:12px}.payment-card label{margin:8px 0 4px;font-size:13px}.payment-card .amount label{margin:0}.amount-wrap{position:relative}.amount-wrap input{padding-right:42px;font-size:28px;min-height:48px;padding-top:6px;padding-bottom:6px}.amount-wrap span{position:absolute;right:15px;top:12px;font-weight:700;font-size:23px;color:#10334b}.payment-card .small{font-size:12px;margin-top:4px}.payment-card select,.payment-card input:not([type=checkbox]):not([type=hidden]){margin-top:0}.payment-card .check{margin:13px 0;font-weight:400}.payment-card .pay-button{display:flex;align-items:center;justify-content:center;gap:9px;background:#10334b;padding:11px;font-size:15px}.payment-card .pay-button:disabled{background:#65788b}.pay-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}.payment-card .security{margin:8px 0 0}.payment-page .portal-trust{margin:10px 0}.payment-page .portal-footer{font-size:12px}@media(max-width:560px){.payment-card{padding:16px;border:1px solid #dce3eb;border-top:3px solid #ef6500;border-radius:12px}.payment-heading h1{font-size:21px}.payment-brand img{width:155px}.customer-line{flex-wrap:wrap}.payment-page .portal-footer{font-size:11px}}
/* V10: payment-only refinements */
.payment-page .payment-brand{position:relative;justify-content:center;min-height:66px;margin-bottom:6px}.payment-page .payment-brand img{width:230px}.payment-page .payment-brand form{position:absolute;right:0;top:50%;transform:translateY(-50%)}.payment-page .payment-card{padding:14px 24px 12px}.payment-page .customer-identity{text-align:right;min-width:0;overflow-wrap:anywhere}.payment-page .customer-identity span{display:block;font-size:12px}.payment-page .amount-wrap input{font-size:32px;font-variant-numeric:tabular-nums}.payment-summary{margin-top:10px;background:#f3f5f8;border-radius:8px;padding:8px 12px;font-size:13px}.payment-summary div{display:flex;justify-content:space-between;gap:12px;align-items:center}.payment-summary div+div{border-top:1px solid #dce3eb;margin-top:5px;padding-top:5px}.payment-summary span{color:#526579}.payment-summary #summary-amount{font-size:20px;font-variant-numeric:tabular-nums}.payment-page .portal-trust svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.payment-page .portal-footer{font-size:13px}.payment-page .payment-card .check{margin:10px 0}.payment-page .payment-card .notice{margin:7px 0}.payment-page .payment-card .amount{margin-bottom:8px}@media(max-width:560px){.payment-page .payment-brand img{width:175px}.payment-page .payment-brand{justify-content:flex-start}.payment-page .payment-card{padding:14px}.payment-page .portal-footer{font-size:12px}}
