:root{font-family:Arial,Helvetica,sans-serif;color:#20313c;background:#293d48;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}.customer-shell{max-width:1560px;margin:auto;padding:28px 24px}header{display:flex;align-items:center;gap:18px;margin-bottom:24px}header img{height:76px;width:100px;object-fit:contain}header strong{font-size:24px;display:block}header span{display:block;color:#526872}nav{display:flex;flex-wrap:wrap;align-items:center;gap:22px;padding:12px 0}a{color:#075f70;text-underline-offset:3px}section{background:white;border:1px solid #d6e0e3;border-radius:12px;padding:26px;margin:20px 0;box-shadow:0 3px 10px #20313c06}h1{font-size:28px;line-height:1.2}h2{font-size:21px;margin-top:0}p{max-width:850px}form{max-width:560px}label{display:block;font-weight:600;margin:16px 0}input,select{display:block;width:100%;padding:12px;border:1px solid #9cadb5;border-radius:6px;margin-top:6px;font:inherit;background:white;color:inherit}input:focus,select:focus,button:focus,a:focus{outline:3px solid #daa642;outline-offset:3px}button{background:#075f70;color:white;font:inherit;font-weight:600;border:0;border-radius:6px;padding:12px 20px;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.download{padding:6px 10px;font-size:14px;display:block;margin-top:8px;white-space:nowrap}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #dce4e8;padding:12px 8px}th{background:#f4f7f8;white-space:nowrap}.notice{background:#fff9e8;border:1px solid #dab65d;border-radius:8px;padding:18px;margin:20px 0}footer{margin-top:28px;color:#526872;font-size:14px}.customer-shell>section:first-of-type:has(form){scroll-margin-top:20px}@media(max-width:600px){.customer-shell{padding:20px 12px}section{padding:18px 14px}header strong{font-size:20px}header img{width:76px;height:65px}h1{font-size:24px}}

.invoice-payment-cell{min-width:245px;max-width:310px}.invoice-payments>small{display:block;font-size:12px;color:#526872;margin:6px 0}.pay-now{display:inline-block;border-radius:6px;padding:10px 14px;background:#075f70;color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}.pay-now:hover{background:#064b59}.invoice-payment-details{margin-top:10px}.invoice-payment-details summary{cursor:pointer;color:#075f70;font-weight:600}.portal-payment-qr{width:188px;height:188px;margin:14px 0 8px;background:#fff;border:1px solid #d6e0e3;border-radius:6px}.portal-payment-qr svg{display:block;width:100%;height:100%}.portal-payment-qr.qr-unavailable{display:flex;align-items:center;height:auto;min-height:80px;padding:12px;font-size:12px}.payment-qr-hint{font-size:12px;margin:6px 0 14px}.portal-etransfer{margin-top:14px;padding-top:12px;border-top:1px solid #d6e0e3;font-size:13px}.portal-etransfer p{margin:8px 0}.portal-etransfer small{display:block;font-size:12px;color:#526872}.payment-reference{padding:8px;background:#f2f6f7;border-radius:4px;overflow-wrap:anywhere}.payment-settled{font-size:13px;color:#526872}

/* Customer section navigation and darker portal surround. */
.customer-shell>header{color:#f5f8fa}.customer-shell>header span{color:#c3d1d9}.customer-shell>header img{background:#fff;border-radius:10px;padding:8px}.customer-shell>nav>a,.customer-shell>footer a{color:#d5eaf0}.customer-shell>footer{color:#bdcdd6}.portal-layout{display:grid;grid-template-columns:238px minmax(0,1fr);gap:26px;align-items:start}.portal-sidebar{position:sticky;top:24px;background:#172d39;border:1px solid #48616e;border-radius:12px;box-shadow:0 8px 24px #0b1c2540;overflow:hidden}.portal-customer{padding:20px 18px 16px;border-bottom:1px solid #3b5360;color:#f6f9fa;overflow-wrap:anywhere}.portal-customer strong{display:block;font-size:16px}.portal-customer small{display:block;margin-top:5px;color:#bcd0db;font-size:13px}.portal-menu{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:12px}.portal-menu a{display:block;padding:13px 14px;color:#dce8ed;border-radius:7px;border:1px solid transparent;text-decoration:none;font-size:15px;line-height:1.4}.portal-menu a:hover{background:#284652;color:#fff}.portal-menu a[aria-current="page"]{background:#236578;border-color:#5b97a8;color:#fff;font-weight:700;box-shadow:inset 3px 0 #e0b85a}.portal-menu .portal-signout{margin-top:22px;border-top-color:#3b5360;border-radius:0 0 7px 7px}.portal-content{min-width:0;outline:none}.portal-page-heading{margin:0 0 22px;color:#f7fafb}.portal-page-heading h1{margin:0 0 8px}.portal-page-heading p{margin:0;color:#c4d4dd;font-size:15px}.portal-panel{margin:0;box-shadow:0 10px 30px #10232d30}.portal-panel>p:first-child{margin-top:0}.portal-content>.notice{margin-top:0}.portal-skip-link{position:fixed;top:8px;left:-10000px;z-index:1000;background:#fff;color:#075f70;padding:12px 18px;border-radius:6px}.portal-skip-link:focus{left:12px}
@media(max-width:1050px){.portal-layout{grid-template-columns:205px minmax(0,1fr);gap:18px}.portal-menu a{padding:12px 10px;font-size:14px}}
@media(max-width:760px){.portal-layout{grid-template-columns:1fr;gap:20px}.portal-sidebar{position:static}.portal-customer{display:none}.portal-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.portal-menu a{font-size:14px;min-height:46px}.portal-menu .portal-signout{grid-column:1 / -1;margin-top:0;text-align:center}.portal-page-heading{margin-bottom:16px}.portal-panel{padding:20px 16px}}

.identity-upload{margin-top:30px;padding-top:26px;border-top:1px solid #ccd9df}.identity-upload h2{margin-bottom:10px}.identity-status{display:inline-block;background:#e8f1f4;padding:6px 12px;border-radius:6px;font-size:14px}.identity-drop{padding:16px;border:2px dashed #8daab8;border-radius:8px;background:#f2f7f9}.identity-drop.is-dragging{border-color:#075f70;background:#e0f0f3}.identity-drop input{margin:0;background:#fff;font-size:14px}.identity-drop p,.identity-help{font-size:13px;color:#526872;line-height:1.5}.identity-drop p{margin-bottom:0}.identity-file-selected{font-size:13px;overflow-wrap:anywhere}.identity-file-list{padding-left:20px;max-width:640px}.identity-file-list li{padding:8px 0;overflow-wrap:anywhere}.identity-file-list small{display:block;margin:4px 0;color:#526872;font-size:12px}

.invoice-copy-actions{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.invoice-copy-actions .download,.invoice-payments .pay-now{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;font-size:14px;line-height:20px;margin:0;white-space:nowrap}.invoice-copy-actions>a{font-size:13px}

.password-field{margin:16px 0}.password-field>label{margin:0 0 6px}.password-input-wrap{position:relative}.password-input-wrap input{margin:0;padding-right:86px;min-height:48px}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);min-width:64px;min-height:34px;padding:6px 10px;background:#e8f1f4;border:1px solid #a8c1cc;border-radius:5px;color:#075f70;font-size:13px;line-height:20px}.password-toggle:hover{background:#d7e9ef}.login-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;margin-top:20px}.forgot-password-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #8daab8;border-radius:6px;padding:10px 14px;font-weight:700;text-decoration:none}.forgot-password-link:hover{background:#eef6f8}.portal-auth-panel{max-width:780px}

.identity-local-preview{margin:16px 0}.identity-local-preview img{display:block;width:100%;max-height:320px;object-fit:contain;background:#eef3f5;border:1px solid #b8ccd6;margin-bottom:10px}.identity-local-preview a{font-size:14px}.identity-confirmations label{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:400}.identity-confirmations input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}.licence-review-notice{font-size:14px}
