:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",Arial,sans-serif;color:#272333;background:#f3f3f6;font-synthesis:none;font-size:14px;--purple:#5f478e;--line:#d5d4db;--muted:#73707d;--lavender:#eae5f4}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:#38313f;background:#fff;border:1px solid #c7c3cf;padding:7px 15px;border-radius:3px;min-height:34px}button:hover{background:#f1edf7}button:disabled{opacity:.6;cursor:wait}button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #9675c8;outline-offset:2px}input{border:1px solid #c6c2ce;background:#fff;border-radius:3px;padding:9px 10px;color:#272333}[hidden]{display:none!important}.brandbar{height:43px;background:var(--purple);color:#fff}.brand-inner{max-width:1440px;height:100%;margin:auto;padding:0 20px;display:flex;align-items:center;gap:16px}.brand{font-size:27px;font-weight:800;letter-spacing:-2px;line-height:1;margin-right:3px}.brand-title{font-size:15px;letter-spacing:1px}.brand-scope{margin-left:auto;color:#e8dff5;font-size:12px}main{padding:0 20px 30px;max-width:1440px;margin:auto}.entry-panel{background:#fff;border:1px solid var(--line);width:min(360px,100%);margin:13vh auto 0;padding:28px}.entry-panel h1{font-size:20px;margin:0 0 12px;font-weight:650}.entry-description,.entry-panel p{color:var(--muted);line-height:1.6}.entry-panel label{display:block;margin:20px 0 8px}.entry-panel input{width:100%;height:42px}.entry-panel .primary{margin-top:16px;width:100%;height:40px;background:var(--purple);border-color:var(--purple);color:#fff}.form-message{min-height:20px;font-size:13px;margin:14px 0 0!important;color:#a34242!important}.dashboard{padding-top:16px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.page-heading>div:first-child{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}h1{font-size:21px;margin:0;font-weight:700}h2{font-size:15px;margin:0;font-weight:650}.date-label{font-size:13px;color:var(--muted)}.page-actions{display:flex;gap:8px}.page-actions button{padding:5px 14px;font-size:13px}.market-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.market-switch{display:flex}.market-switch button{padding:7px 24px;background:#fff;border-radius:0;font-weight:600;font-size:15px}.market-switch button:first-child{border-radius:3px 0 0 3px}.market-switch button:last-child{border-radius:0 3px 3px 0;border-left:0}.market-switch .selected{background:var(--purple);color:#fff;border-color:var(--purple)}.connection-status{font-size:12px;color:var(--muted)}.connection-status.connected:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#4a9364;margin-right:6px;vertical-align:middle}.error-banner,.attention-banner{padding:9px 12px;border:1px solid #dec6a1;background:#fff5e5;color:#8a6026;margin:10px 0;font-size:13px;line-height:1.5}.error-banner{border-color:#e0bebe;background:#fff0ef;color:#9d4341}.overview{display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-bottom:0;min-height:90px;padding:14px 20px;gap:0}.metric-label{display:block;color:var(--muted);font-size:12px;margin-bottom:7px}.overview-primary{flex:1;min-width:0}.overview-primary strong{font-size:29px;letter-spacing:-.7px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.1;overflow-wrap:anywhere}.unit{color:var(--muted);font-size:13px;margin-left:7px}.overview-item{border-left:1px solid #e1dfe6;margin-left:30px;padding-left:30px;min-width:110px}.overview-item strong{font-size:24px;font-weight:600;font-variant-numeric:tabular-nums}.book-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:8px 12px;border:1px solid var(--line);background:#f9f9fb;color:var(--muted);line-height:1.5}.book-meta strong{font-weight:600;color:#58515f;font-variant-numeric:tabular-nums}.stake-sheet{margin-top:14px;border:1px solid var(--line);background:#fff}.play-tabs{display:flex;overflow-x:auto;background:var(--lavender);padding:0;gap:0;min-height:58px;border-bottom:1px solid #c9c1d9;scrollbar-width:thin}.play-tab{flex:0 0 auto;min-width:112px;min-height:58px;padding:8px 16px;border:0;border-right:1px solid #d1c9df;border-radius:0;background:transparent;font-size:13px;line-height:1.4;position:relative}.play-tab span{display:block;color:#756c82;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums;margin-top:3px}.play-tab[aria-selected=true]{color:#fff;background:var(--purple)}.play-tab[aria-selected=true] span{color:#f0eaf8}.play-tab:hover{background:#ded5ec}.play-tab[aria-selected=true]:hover{background:#6a5299}.sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;border-bottom:1px solid var(--line);min-height:43px}.sheet-total{font-size:13px;color:#655b71;font-variant-numeric:tabular-nums}.table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums;white-space:nowrap}th{font-size:12px;font-weight:600;background:#e9e9ef;color:#595560;line-height:1.3}td,th{padding:9px 12px;border-bottom:1px solid #e2e1e6;text-align:left}tbody tr:nth-child(2n){background:#f6f6f9}tbody tr:last-child td{border-bottom:0}th.amount,td.amount{text-align:right}td.amount{font-weight:500}.number-table{min-width:850px;table-layout:fixed}.number-table th{padding:8px 10px}.number-table th:nth-child(2n),.number-table td:nth-child(2n){text-align:right;border-right:1px solid #d8d7de;width:10%}.number-table th:nth-child(2n+1),.number-table td:nth-child(2n+1){width:4.28%;padding-left:11px;padding-right:0}.number-table th:last-child,.number-table td:last-child{border-right:0}.number-table td{height:42px;padding:7px 10px}.number{display:inline-flex;align-items:center;justify-content:center;min-width:27px;min-height:27px;border-radius:50%;font-size:15px;font-weight:700}.number.red{color:#bd3444;background:#fbecee}.number.blue{color:#3268a5;background:#eaf0fa}.number.green{color:#2d845e;background:#e8f3ed}.number-table td.amount{font-size:14px}.selection-table{min-width:420px}.selection-table th:first-child,.selection-table td:first-child{padding-left:17px}.selection-table td:first-child{font-size:14px;letter-spacing:.4px}.selection-table th.amount,.selection-table td.amount{width:38%;padding-right:18px}.table-note{margin:0;padding:9px 13px;background:#fcfcfd;font-size:12px;color:var(--muted);border-top:1px solid var(--line);line-height:1.5}.empty-message{padding:12px 14px;margin:0;color:var(--muted);font-size:13px}.groups-sheet{margin-top:20px;border:1px solid var(--line);background:#fff}.group-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 13px;border-bottom:1px solid var(--line)}.group-search{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.group-search input{font-size:12px;width:150px;height:29px;padding:5px 8px}.group-table{min-width:560px}.group-table td,.group-table th{padding:9px 15px}.group-table td:first-child{font-weight:500}.page-footer{font-size:12px;color:#87818f;padding-top:15px;text-align:right;line-height:1.5}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:720px){main{padding:0 10px 22px}.brand-inner{padding:0 13px;gap:13px}.brand-scope{font-size:11px}.dashboard{padding-top:12px}h1{font-size:19px}.page-heading{margin-bottom:12px;gap:8px}.page-heading>div:first-child{gap:6px;display:block}.date-label{display:block;margin-top:5px;font-size:12px}.page-actions{gap:5px}.page-actions button{padding:4px 10px;min-height:31px}.market-switch button{padding:6px 24px;min-height:33px;font-size:14px}.connection-status{font-size:11px;max-width:50%;text-align:right}.overview{padding:14px 12px;flex-wrap:wrap;align-items:flex-start;row-gap:14px}.overview-primary{flex-basis:100%}.overview-primary strong{font-size:29px}.overview-item{margin:0;padding:0;min-width:0;border:0;flex-basis:50%}.overview-item strong{font-size:20px}.overview-item+.overview-item{padding-left:16px;border-left:1px solid #e1dfe6}.metric-label{margin-bottom:5px}.book-meta{font-size:11px;display:block;padding:7px 10px}.book-meta>span{display:block}.book-meta>span+span{margin-top:3px}.play-tab{min-width:100px;min-height:54px;padding:7px 12px}.group-heading{align-items:flex-start;flex-wrap:wrap}.group-search{margin-left:auto}.group-search input{width:125px}.sheet-heading h2{font-size:14px}.sheet-total{font-size:12px}.page-footer{text-align:left}.entry-panel{margin-top:10vh;padding:24px}.number-table{min-width:820px}.number-table td{height:39px}}

.category-tabs{display:flex;flex-wrap:wrap;gap:0;background:#f7f4fb;border-bottom:1px solid #d1c9df}.category-tab{flex:1 1 90px;min-width:80px;min-height:39px;border:0;border-right:1px solid #e2dce9;border-bottom:1px solid #e2dce9;border-radius:0;background:transparent;padding:8px 10px;font-size:13px;font-weight:600;white-space:nowrap}.category-tab[aria-pressed=true]{background:#e4daef;color:#55357f;box-shadow:inset 0 -3px #725397}.category-tab:hover{background:#ece5f5}.category-tabs+.play-tabs{min-height:54px}.category-tabs+.play-tabs .play-tab{min-height:54px;min-width:104px;padding:7px 13px}@media(max-width:720px){.category-tab{flex-basis:19%;min-width:64px;padding:8px 5px;font-size:12px;min-height:39px}.category-tabs+.play-tabs .play-tab{min-width:94px;padding:7px 10px;min-height:52px}}

.group-table{min-width:640px}.report-column{text-align:center;width:86px}.report-button{font-size:12px;padding:4px 12px;min-height:30px;color:var(--purple);border-color:#c5b8d7;background:#faf8fd}
.report-dialog{width:min(1180px,calc(100% - 36px));max-height:calc(100dvh - 36px);padding:0;border:1px solid #c8c0d4;border-radius:8px;background:#f3f3f6;color:#272333;box-shadow:0 18px 70px #22143140;overflow:auto;overscroll-behavior:contain}
.report-dialog::backdrop{background:#20182d99}.report-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 18px 12px;background:#fff}.report-heading h2{font-size:18px;overflow-wrap:anywhere}.report-heading p{font-size:12px;color:var(--muted);line-height:1.6;margin:6px 0 0}.report-heading button{flex-shrink:0}.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 18px;background:#fff;border-top:1px solid #efedf2;border-bottom:1px solid var(--line)}.report-toolbar .market-switch button{font-size:14px;padding:6px 22px}.report-status{font-size:12px;color:var(--muted);text-align:right;line-height:1.5}.report-dialog>.error-banner{margin:10px 14px 0}.report-image-panel{min-height:160px;padding:14px;text-align:center}.report-image-panel .empty-message{padding:44px 12px;line-height:1.6}.report-image-panel img{display:block;max-width:100%;width:auto;height:auto;margin:0 auto;background:#fff;box-shadow:0 1px 6px #29203114}
@media(max-width:720px){.report-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:6px}.report-heading{padding:13px 12px 10px;gap:10px}.report-heading h2{font-size:16px}.report-heading p{max-width:230px;font-size:11px}.report-heading button{padding:5px 12px}.report-toolbar{padding:9px 12px;gap:10px}.report-toolbar .market-switch button{padding:6px 18px}.report-status{font-size:11px}.report-image-panel{padding:7px}.report-dialog>.error-banner{margin:8px 8px 0;font-size:12px}}

.auth-switch{width:100%;margin-top:10px;background:transparent;border-color:transparent;color:var(--purple);font-size:12px}.date-toolbar{display:flex;align-items:center;gap:7px;margin:0 0 12px}.date-toolbar input{padding:6px 9px;height:34px}.date-toolbar button{font-size:12px;padding:5px 11px}.brand-scope #account-name{font-size:12px}.report-image-panel{text-align:left}.report-summary{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;background:#fff;border:1px solid var(--line);margin-bottom:12px}.report-detail-sheet{background:#fff;border:1px solid var(--line);margin-top:12px}.report-detail-sheet h3{font-size:14px;padding:11px 13px;margin:0;border-bottom:1px solid var(--line)}.report-detail-sheet table{white-space:normal}.report-total{font-size:21px;font-weight:650}.report-play-tabs{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:10px}.report-play-tabs button[aria-pressed=true]{background:var(--purple);color:#fff;border-color:var(--purple)}.report-order-note{font-size:12px;color:var(--muted);padding:10px 13px;margin:0}.unavailable-message{padding:22px 14px;color:var(--muted);font-size:13px;line-height:1.6}.report-order-source{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;max-width:700px}.report-image-panel .table-scroll{background:#fff}.report-dialog .number-table{min-width:820px}@media(max-width:720px){.date-toolbar{gap:4px;flex-wrap:wrap}.date-toolbar button{padding:5px 8px}.date-toolbar input{min-width:135px}.report-summary{padding:10px;flex-wrap:wrap}.report-detail-sheet{overflow:hidden}}

/* HF client download entry only. */
.client-download-link{margin:14px 0 0!important;text-align:center;font-size:13px}.client-download-link a{color:var(--purple);text-underline-offset:3px}.client-download-link a:hover{text-decoration:underline}.client-download-link a:focus-visible{outline:3px solid #9675c8;outline-offset:3px}

/* Only the declarant report dialog changes; the original account dashboard stays intact. */
.report-dialog.has-settlement{width:calc(100% - 24px);max-width:1760px;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);overflow:hidden}
.report-dialog.has-settlement[open]{display:flex;flex-direction:column}
.report-dialog.has-settlement .report-heading,.report-dialog.has-settlement .report-toolbar,.report-dialog.has-settlement>.error-banner{flex:0 0 auto}
.report-dialog.has-settlement .report-image-panel{flex:1 1 auto;min-height:0;padding:8px;display:flex;flex-direction:column}
.report-dialog.has-settlement #report-detail{flex:1 1 auto;min-height:0;height:100%}
.website-settlement-viewer{height:100%;min-height:0;display:flex;flex-direction:column;gap:7px}
.website-settlement-tools{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 auto;flex-wrap:wrap}
.website-settlement-tools button{font-size:12px;min-height:30px;padding:4px 11px}
.website-settlement-tools span{min-width:72px;text-align:center;font-variant-numeric:tabular-nums;font-size:12px;color:var(--muted)}
.website-settlement-stage{flex:1 1 auto;min-height:0;overflow:auto;display:block;overscroll-behavior:contain;background:#e7edf3;border:1px solid #d2dbe5;border-radius:4px;padding:5px}
.website-settlement-strip{width:100%;margin:0 auto;line-height:0;font-size:0}
.report-image-panel .website-settlement-stage img{display:block;width:100%;height:auto;max-width:none;object-fit:initial;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent}
@media(max-width:720px){.report-dialog.has-settlement{width:calc(100% - 8px);height:calc(100dvh - 8px);max-height:calc(100dvh - 8px)}.report-dialog.has-settlement .report-image-panel{padding:4px}.website-settlement-tools{gap:4px}.website-settlement-tools button{padding:4px 7px;min-height:30px}}
