:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#26352f;background:#f4f6f5;--rp-accent:var(--appearance-accent,#13846b);--rp-soft:var(--appearance-soft,#e1f3ec);--rp-border:var(--appearance-border,#c4d8ce)}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}[hidden]{display:none!important}button{cursor:pointer}button:disabled{opacity:.48;cursor:default}a{color:var(--rp-accent);text-decoration:none}.button,.icon-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d6e0d9;background:#fff;color:#30473a;border-radius:7px;padding:9px 13px;min-height:36px;gap:6px;white-space:nowrap}.button:hover,.icon-button:hover{border-color:var(--rp-accent);background:var(--rp-soft)}.button.primary{background:var(--rp-accent);border-color:var(--rp-accent);color:#fff}.button:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--rp-border);outline-offset:2px}.icon-button{font-size:19px;min-width:36px;padding:5px 9px}.reports-header{display:flex;align-items:center;gap:20px;min-height:68px;padding:12px 18px;border-bottom:1px solid #dbe5de;background:#fff;position:sticky;top:0;z-index:10}.reports-brand{display:flex;gap:10px;align-items:center;color:#2b4135;flex-shrink:0}.reports-brand>span{font-size:26px;color:white;background:var(--rp-accent);border-radius:8px;width:43px;height:43px;display:grid;place-items:center}.reports-brand strong{font-size:17px}.reports-brand small{display:block;font-size:11px;font-weight:400;color:var(--rp-accent);margin-top:4px}.report-group-tabs{display:flex;flex-wrap:wrap;gap:3px;align-items:center}.report-group-tabs button{border:0;background:none;color:#62786a;border-radius:7px;padding:10px 11px;white-space:nowrap}.report-group-tabs button.active{color:var(--rp-accent);background:var(--rp-soft);font-weight:700}.reports-user{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin-left:auto;flex-wrap:wrap}.reports-user [data-locale-mount]{display:flex;gap:7px;align-items:center}.reports-user select{max-width:115px;padding:8px;border:1px solid #d5e0d9;border-radius:6px;background:white}.reports-user #session-label{font-size:12px;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reports-layout{display:grid;grid-template-columns:222px minmax(0,1fr);gap:15px;padding:16px;align-items:start}.reports-sidebar,.reports-workspace{border:1px solid #dce5df;border-radius:9px;background:white;min-width:0}.reports-sidebar{position:sticky;top:84px;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);display:flex;flex-direction:column;overflow:hidden}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 14px;border-bottom:1px solid var(--rp-border)}.sidebar-heading strong{font-size:15px;color:var(--rp-accent)}.report-menu-search{display:block;padding:11px 12px 4px}.report-menu-search input{width:100%;padding:8px 9px;border:1px solid #d6e0d8;border-radius:6px;min-width:0}.reports-sidebar nav{padding:5px 8px 15px;overflow:auto;min-height:0}.report-tree-group{border:0;margin:0 0 5px}.report-tree-group>summary{font-weight:700;color:#526f5c;list-style-position:inside;cursor:pointer;padding:11px 8px;line-height:1.5}.report-tree-group button{display:block;width:100%;border:0;border-radius:6px;background:none;text-align:left;padding:9px 10px 9px 20px;color:#60766a;line-height:1.4;overflow-wrap:anywhere}.report-tree-group button:hover{background:#f7faf8}.report-tree-group button.active{background:var(--rp-soft);color:var(--rp-accent);font-weight:700}.report-tree-group button .report-disabled{font-size:10px;color:#8b908b;margin-left:6px}.reports-workspace{padding:20px;min-height:calc(100vh - 100px);min-height:calc(100dvh - 100px)}.workspace-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.workspace-title h1{font-size:24px;margin:5px 0 8px;line-height:1.35}.workspace-title p{margin:0;color:#7a8c80;line-height:1.7;font-size:13px}.reports-kicker{display:block;color:var(--rp-accent);font-size:11px;letter-spacing:1px}.workspace-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.workspace-actions .button{font-size:12px}.reports-filter{border:1px solid var(--rp-border);border-radius:8px;margin-bottom:15px;background:#fbfdfb}.reports-filter>summary{padding:13px 15px;cursor:pointer;color:var(--rp-accent);font-weight:700}.filter-form{padding:0 15px 15px}.quick-dates{display:flex;gap:6px;flex-wrap:wrap;padding:2px 0 13px}.quick-dates button{border:1px solid #d9e4dc;border-radius:6px;padding:6px 9px;background:white;color:#5c7565;font-size:12px}.quick-dates button.active{border-color:var(--rp-accent);color:var(--rp-accent);background:var(--rp-soft)}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:13px}.filter-field{display:flex;flex-direction:column;gap:7px;color:#647c6c;font-size:12px;min-width:0}.filter-field input,.filter-field select{width:100%;min-width:0;padding:9px;border:1px solid #d4dfd7;border-radius:6px;background:white;color:#2c4234}.filter-field select[multiple]{min-height:76px}.filter-field.checkbox{flex-direction:row;align-items:center;min-height:36px;align-self:end}.filter-field.checkbox input{width:17px;height:17px;accent-color:var(--rp-accent)}.filter-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:15px}.filter-actions .muted{margin-left:auto;font-size:11px}.report-basis{font-size:12px;color:#7b8e80;line-height:1.8;margin:14px 0}.report-basis strong{color:#586e60;font-weight:500}.report-notes{display:grid;gap:8px;margin-bottom:14px}.report-note{border-left:3px solid var(--rp-border);background:#f6f9f7;padding:9px 12px;line-height:1.7;color:#6a7e70;font-size:12px}.report-summary{display:flex;flex-wrap:wrap;gap:12px 28px;background:var(--rp-soft);padding:17px 18px;border-radius:8px;margin:15px 0}.report-summary>div{display:flex;flex-direction:column;gap:7px;min-width:115px;max-width:300px}.report-summary dt{font-size:12px;color:#69806e;line-height:1.5}.report-summary dd{margin:0;color:var(--rp-accent);font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.report-summary dd small{font-size:11px;font-weight:400;margin-right:4px}.report-table-wrap{overflow:auto;max-height:calc(100vh - 360px);max-height:calc(100dvh - 360px);min-height:200px;border:1px solid #e0e7e2;border-radius:8px}.report-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px;white-space:nowrap}.report-table th,.report-table td{padding:12px;border-bottom:1px solid #eaf0ec;border-right:1px solid #f0f4f1;text-align:left;line-height:1.6;vertical-align:middle}.report-table th{background:var(--rp-soft);color:#526c5b;font-weight:700;position:sticky;top:0;z-index:1}.report-table tbody tr:hover{background:#fafcfa}.report-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.report-table .wrap{max-width:360px;min-width:180px;white-space:pre-line;overflow-wrap:anywhere}.report-table .detail-link{border:0;background:none;color:var(--rp-accent);padding:4px;font-size:12px}.report-table .report-empty{text-align:center;color:#7e9283;white-space:normal;padding:50px 20px}.report-pages{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px;font-size:12px}.report-pages>span:first-child{margin-right:auto;color:#7b8f82}.report-pages select{padding:8px;border:1px solid #d8e2db;border-radius:6px;background:#fff}.report-pages .button{font-size:12px;padding:7px 10px}.report-unavailable{padding:40px 20px;border:1px dashed var(--rp-border);border-radius:8px;text-align:center;background:#fbfdfb}.report-unavailable h2{font-size:20px;color:#607566}.report-unavailable p{color:#7b8f80;line-height:1.8;max-width:640px;margin:12px auto}.reports-login{display:grid;place-items:center;padding:45px 20px}.reports-login form{width:min(100%,440px);background:#fff;border:1px solid #dbe6df;border-radius:12px;padding:32px;display:grid;gap:17px;box-shadow:0 10px 36px #2a4b3410}.reports-login h1{margin:0;font-size:27px}.reports-login p{margin:0;color:#7a8e80;font-size:13px;line-height:1.8}.reports-login label{display:flex;flex-direction:column;gap:8px;color:#5c7465;font-size:13px}.reports-login input{padding:11px;border:1px solid #d6e1d9;border-radius:6px;min-width:0}.error{color:#ab393d!important;font-size:13px;line-height:1.7}.loading{padding:45px 20px;text-align:center;color:#7a8d7f}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:12px 18px;background:#263f30;color:white;max-width:min(90vw,700px);border-radius:8px;z-index:20000;line-height:1.7;font-size:13px}.toast.visible{opacity:1;transform:translate(-50%,0)}.report-dialog{width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);border:1px solid #cbd9d0;border-radius:10px;padding:0;box-shadow:0 20px 80px #17302144;color:#304538}.report-dialog[open]{display:flex;flex-direction:column}.report-dialog::backdrop{background:#192f226b;backdrop-filter:blur(2px)}.report-dialog>header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 20px;border-bottom:1px solid var(--rp-border);background:var(--rp-soft);flex-shrink:0}.report-dialog h2{font-size:19px;margin:5px 0 0}.report-dialog-body{overflow:auto;padding:20px;min-height:0}.report-dialog>footer{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;padding:14px 20px;border-top:1px solid #dce6df;flex-shrink:0;background:white}.bill-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 20px;font-size:13px;line-height:1.7;margin-bottom:20px}.bill-meta dt{color:#7b8e82}.bill-meta dd{margin:4px 0 0;overflow-wrap:anywhere}.bill-section{margin-top:22px}.bill-section h3{font-size:16px}.bill-section .report-table-wrap{max-height:350px;min-height:0}.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}.reports-layout.tree-collapsed{grid-template-columns:60px minmax(0,1fr)}.tree-collapsed .reports-sidebar .sidebar-heading>strong,.tree-collapsed .report-menu-search,.tree-collapsed #report-tree{display:none}.tree-collapsed .sidebar-heading{padding:10px;border-bottom:0}.report-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.report-dashboard article{border:1px solid var(--rp-border);border-radius:8px;padding:18px}.report-dashboard h2{font-size:17px;margin:0 0 10px;color:var(--rp-accent)}.report-dashboard button{display:block;border:0;background:none;text-align:left;padding:7px 0;color:#687f70;line-height:1.5}.report-dashboard button:hover{color:var(--rp-accent);text-decoration:underline}
@media(min-width:1600px){.reports-layout{grid-template-columns:245px minmax(0,1fr)}.reports-workspace{padding:24px}.report-table{font-size:14px}}@media(max-width:1250px){.reports-header{flex-wrap:wrap;gap:10px}.report-group-tabs{order:3;width:100%;justify-content:center}.reports-sidebar{top:132px;max-height:calc(100vh - 148px);max-height:calc(100dvh - 148px)}.filter-grid{grid-template-columns:repeat(3,minmax(130px,1fr))}.reports-layout{grid-template-columns:200px minmax(0,1fr)}.report-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.workspace-title{flex-wrap:wrap}.workspace-actions{justify-content:flex-start}.filter-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.reports-layout{grid-template-columns:185px minmax(0,1fr);padding:10px;gap:10px}.reports-workspace{padding:15px}.reports-user #session-label{max-width:160px}.report-group-tabs button{padding:8px}.bill-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.reports-header{padding:10px;position:static}.reports-brand strong{font-size:15px}.reports-brand>span{width:36px;height:36px;font-size:22px}.reports-user{gap:6px}.reports-user #session-label{max-width:155px;font-size:11px}.reports-user select{max-width:105px;padding:7px}.reports-user .button{font-size:12px;padding:7px}.report-group-tabs{flex-wrap:nowrap;overflow:auto;justify-content:flex-start}.report-group-tabs button{font-size:12px;flex-shrink:0}.reports-layout,.reports-layout.tree-collapsed{display:block;padding:9px}.reports-sidebar{position:static;max-height:235px;margin-bottom:12px}.reports-sidebar nav{max-height:150px;display:flex;gap:7px;flex-wrap:wrap}.report-tree-group{flex-basis:100%}.report-tree-group>summary{padding:7px}.report-tree-group button{padding:7px 9px;font-size:12px;display:inline-block;width:auto;margin:2px}.tree-collapsed .sidebar-heading>strong{display:block!important}.tree-collapsed .sidebar-heading{padding:12px}.report-menu-search{padding:5px 12px}.reports-workspace{padding:14px}.workspace-title h1{font-size:21px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.filter-actions .muted{margin-left:0;flex-basis:100%}.report-summary{gap:14px 20px;padding:14px}.report-summary>div{min-width:105px}.report-summary dd{font-size:17px}.report-table-wrap{max-height:55vh;max-height:55dvh}.report-dialog{width:calc(100vw - 14px);max-height:calc(100vh - 14px);max-height:calc(100dvh - 14px)}.report-dialog>header{padding:13px}.report-dialog-body{padding:14px}.report-dialog>footer{padding:12px}.report-dialog h2{font-size:17px}.report-dialog>footer .button{font-size:12px;padding:8px}.bill-meta{grid-template-columns:1fr 1fr;gap:10px;font-size:12px}.report-dashboard{grid-template-columns:1fr}}

html{scroll-padding-top:calc(var(--reports-header-height,68px) + 12px)}.reports-sidebar{top:calc(var(--reports-header-height,68px) + 16px);max-height:calc(100vh - var(--reports-header-height,68px) - 32px);}@supports(height:100dvh){.reports-sidebar{max-height:calc(100dvh - var(--reports-header-height,68px) - 32px)}}.reports-workspace{min-height:calc(100vh - var(--reports-header-height,68px) - 32px);}@supports(height:100dvh){.reports-workspace{min-height:calc(100dvh - var(--reports-header-height,68px) - 32px)}}@media(max-width:700px){html{scroll-padding-top:8px}.reports-sidebar{position:static;max-height:235px}}

.report-operation-dialog>form{display:flex;flex-direction:column;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);min-height:0}.report-operation-dialog header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;gap:16px;background:var(--rp-soft);flex-shrink:0}.report-operation-dialog header h2{margin:0;font-size:19px}.report-operation-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:14px 20px;border-top:1px solid var(--rp-border);flex-shrink:0}.report-operation-dialog #operation-error{padding:0 20px;margin:0}.report-operation-dialog .report-table-wrap{max-height:38vh;max-height:38dvh;min-height:0}.operation-menu,.operation-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.operation-menu>.button{padding:18px;min-width:180px;flex:1}.operation-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.report-operation-dialog h3{font-size:15px;margin:20px 0 12px}@media(max-width:700px){.report-operation-dialog>form{max-height:calc(100vh - 18px);max-height:calc(100dvh - 18px)}.report-operation-dialog header,.report-operation-dialog footer{padding:13px}.operation-menu{grid-template-columns:1fr}.operation-menu>.button{min-width:0}.report-operation-dialog header h2{font-size:17px}}

/* Keep the report itself visible on entry; all report kinds share these controls. */
.reports-user img.locale-flag{width:28px;height:28px;min-width:28px;max-width:28px;object-fit:contain;flex:0 0 28px}
.report-notes>summary{cursor:pointer;padding:11px 14px;color:var(--rp-accent);font-weight:700;border:1px solid var(--rp-border,#d8e2dc);border-radius:8px;background:var(--rp-soft);margin-bottom:8px}
.reports-filter>summary:focus-visible,.report-notes>summary:focus-visible{outline:3px solid var(--rp-accent);outline-offset:3px}
@media print{.report-notes{display:none}.reports-filter{display:none}}

.reports-filter-panel>.quick-dates{margin:0 0 10px}
