:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;color:#243a32;background:#f5f7f6;--green:#2c6551;--muted:#85938a;--line:#e9eeea;--red:#c54b47}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:var(--green);border:1px solid #cddbd1;background:white;border-radius:7px;padding:10px 13px;font-size:13px;min-height:44px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #9fc1ac;outline-offset:3px}a{text-decoration:none;color:inherit}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
main{max-width:720px;margin:auto;padding:0 22px 28px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:101px}.brand{display:flex;align-items:center}.brand img{display:block;width:176px;height:62px;object-fit:contain;mix-blend-mode:multiply}.identity{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.quiet-button{border:0;background:none;font-size:12px;padding:10px 0 10px 8px;white-space:nowrap}.identity .quiet-button{color:#74837b}
h2{font-size:19px;font-weight:600;line-height:1.5;margin:0}h3{font-weight:600;margin:0}.card{background:white;border:1px solid #e6ece7;border-radius:12px;margin:0 0 20px;padding:23px}.heading-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.customer-name{font-size:12px;color:#718176;text-align:right;overflow-wrap:anywhere}.report-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:1px;color:var(--muted);font-size:12px}.report-context .quiet-button{font-size:11px;min-height:38px}.overview{padding-bottom:0}.currency-group{border-top:1px solid var(--line);padding:13px 0 18px}.currency-group:first-child{border-top:0;padding-top:3px}.currency-label{font-size:11px;color:var(--muted);text-align:right;margin:0 0 11px}.totals-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:0}.totals-grid>div+div{border-left:1px solid var(--line);padding-left:23px;min-width:0}.totals-grid>div{min-width:0}.totals-grid dt{font-size:12px;color:var(--muted)}.totals-grid dd{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-size:27px;font-weight:500;line-height:1.45;margin:8px 0 0;font-variant-numeric:tabular-nums;letter-spacing:-.3px;overflow-wrap:anywhere}.totals-grid dd.pending-value{font-size:22px;color:#8d9b90}.included-count{font-size:11px;color:#96a196;margin:6px 0 0;line-height:1.6}.overview-note{font-size:12px;color:#89958a;border-top:1px solid var(--line);line-height:1.8;padding:12px 0 0;margin:17px 0 0}.gain{color:var(--red)}.loss{color:#2d805d}.pending-value{color:#909d92}
.income{padding:0;overflow:hidden}.income-header{padding:12px 23px;border-bottom:1px solid var(--line);min-height:69px}.income-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px}.income-title>span{font-size:11px;color:#95a097}.text-button{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;border:0;background:none;font-size:12px;padding:12px 0 12px 8px;white-space:nowrap}.text-button::after,.detail-toggle::after{content:"";display:inline-block;width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin:0 3px 3px}.text-button[aria-expanded=true]::after,details[open] .detail-toggle::after{transform:rotate(225deg);margin-top:4px}.product{margin:0 23px;border-bottom:1px solid var(--line)}.product:last-child{border-bottom:0}.product summary{list-style:none;cursor:pointer;padding:19px 0}.product summary::-webkit-details-marker{display:none}.product-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:13px}.product h3{font-size:15px;line-height:1.7;overflow-wrap:anywhere}.detail-toggle{display:inline-flex;align-items:center;gap:6px;color:#8e9d92;font-size:11px;padding-top:5px;white-space:nowrap}.product[open] .detail-toggle{color:var(--green)}.product-meta{font-size:11px;color:#98a299;line-height:1.7;margin:5px 0 0}.product-summary{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin-top:14px}.product-summary>div{display:flex;flex-direction:column;gap:5px;min-width:0}.product-summary>div:last-child{text-align:right;align-items:flex-end}.metric-label{font-size:11px;color:#8d9a90}.product-summary strong{font-family:"Segoe UI","Microsoft YaHei",sans-serif;font-weight:500;font-size:20px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}.product-summary strong.pending-value{font-family:inherit;font-size:16px}.dividend{padding:19px 0}.dividend-message{font-size:15px;color:#cb4540;line-height:1.7;margin:9px 0 0;letter-spacing:.2px}.detail-body{padding:16px 17px 18px;background:#f5f8f5;border-radius:7px;margin-bottom:19px}.detail-meta{font-size:11px;color:#89978b;overflow-wrap:anywhere;line-height:1.8;margin:0 0 17px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin:0}.detail-grid>div{min-width:0}.detail-grid dt{font-size:11px;line-height:1.6;color:#8a988d;margin-bottom:5px}.detail-grid dd{font-size:16px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1.5;margin:0;overflow-wrap:anywhere}.notice{background:#faf6eb;color:#8a7851;border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.8;margin:10px 0}.overview #notices .notice{margin:0 0 15px}.report-note{font-size:11px;text-align:center;color:#8c9a8f;line-height:1.9;margin:19px 0 0}.generated{margin:4px 0 0;color:#a0aba1;font-size:10px}.empty-state{padding:20px;text-align:center;font-size:13px;color:var(--muted);line-height:1.8;margin:0}#message:empty{display:none}#message:not(:empty){background:#e8f0e9;color:#547460;border-radius:8px;padding:11px 14px;font-size:13px;line-height:1.8;margin:0 0 16px}
label{display:block;font-size:13px;margin:17px 0 8px;color:#6d8073}input,select{width:100%;min-width:0;min-height:46px;border:1px solid #cbd8cd;background:white;border-radius:7px;padding:10px;font-size:16px;color:#2e4837}input::placeholder{color:#a2ada4}.code-row{display:flex;gap:9px}.code-row button{flex-shrink:0}.primary{width:100%;margin-top:24px;background:#2c6551;color:white;border:0;min-height:48px}.muted{font-size:12px;color:var(--muted);line-height:1.8;margin:7px 0 0}#login{max-width:460px;margin:10px auto 25px;padding:28px}#login h2{font-size:21px}#staff-panel{padding:20px 23px}#staff-panel h2{font-size:16px}#more-customers{margin-top:12px}
@media(max-width:520px){main{padding:0 16px 23px}.page-header{min-height:93px;gap:10px}.brand img{width:154px;height:55px}.identity{gap:5px;font-size:10px}.identity .quiet-button{font-size:11px}.card{padding:19px 20px;margin-bottom:17px}h2{font-size:18px}.customer-name{font-size:11px}.overview{padding-bottom:0}.report-context{font-size:11px}.currency-label{font-size:10px;margin-bottom:13px}.totals-grid{gap:12px}.totals-grid>div+div{padding-left:18px}.totals-grid dd{font-size:23px}.totals-grid dt{font-size:11px}.totals-grid dd.pending-value{font-size:20px}.included-count{font-size:10px}.overview-note{font-size:11px}.income{padding:0}.income-header{padding:10px 20px;min-height:65px}.income-title{gap:8px}.income-title>span{font-size:10px}.text-button{font-size:11px}.product{margin:0 20px}.product summary,.dividend{padding:17px 0}.product h3{font-size:14px;line-height:1.8}.product-meta{font-size:10px}.product-summary{gap:12px;margin-top:12px}.product-summary strong{font-size:18px}.metric-label{font-size:10px}.dividend-message{font-size:14px}.detail-body{padding:14px 14px 16px}.detail-grid{gap:16px 18px}.detail-grid dd{font-size:14px}.detail-meta{font-size:10px}.notice{font-size:11px}.report-note{font-size:11px}.generated{font-size:10px}#staff-panel{padding:18px 20px}#actor-name{max-width:85px;line-height:1.6}#login{padding:24px}}
.customer-query-row{display:flex;align-items:flex-start;gap:10px}.customer-picker{position:relative;flex:1;min-width:0}.customer-input-row{display:flex;align-items:stretch;border:1px solid #cbd8cd;border-radius:7px;background:#fff}.customer-input-row input{border:0;background:transparent}.customer-input-row>button{flex-shrink:0;border:0;background:transparent;min-width:40px;padding:8px;font-size:21px}.customer-query-row>#query-customer{flex-shrink:0;min-height:46px;background:var(--green);color:#fff;border-color:var(--green);white-space:nowrap}.customer-results{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;z-index:10;border:1px solid #cbd8cd;border-radius:8px;box-shadow:0 8px 24px #243a321a;padding:5px}.customer-results #customer-options{max-height:240px;overflow-y:auto;overscroll-behavior:contain}.customer-option{display:block;width:100%;text-align:left;border:0;border-radius:4px;line-height:1.6;overflow-wrap:anywhere;padding:10px;font-size:13px}.customer-option:hover,.customer-option[aria-selected=true]{background:#e8f0e9}.customer-results .muted{padding:6px 10px;font-size:11px}.customer-results #more-customers{width:100%;margin:4px 0 0}
@media(max-width:350px){.totals-grid dd{font-size:20px}.totals-grid>div+div{padding-left:12px}.income-title>span{display:none}.brand img{width:139px;height:49px}.identity .quiet-button{font-size:10px}.customer-query-row{gap:7px}.customer-query-row>#query-customer{padding:10px 8px;font-size:12px}.customer-input-row>button{min-width:32px}.customer-input-row input{font-size:14px}}
