.personalModelUsageDialog{width:min(1100px,calc(100vw - 40px));max-width:none;max-height:92dvh;padding:0;border:1px solid #d9dce1;border-radius:20px;background:var(--surface,#fff);color:var(--text,#202329);box-shadow:0 18px 70px #10182826;overflow:hidden}
.personalModelUsageDialog::backdrop{background:#10182866}
.pmuHead{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 26px;border-bottom:1px solid #e6e8ed}
.pmuHead h2{font-size:21px;margin:0 0 5px;line-height:1.4}.pmuHead p{font-size:13px;color:#727987;margin:0}.pmuHead button{border:0;background:transparent;cursor:pointer;font-size:25px;line-height:32px;min-width:36px;color:inherit}
.pmuBody{padding:22px 26px;max-height:calc(92dvh - 100px);overflow:auto;box-sizing:border-box;font-size:14px}
.pmuToolbar,.pmuPeriods,.pmuFilters,.pmuPager{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.pmuToolbar{justify-content:space-between;margin-bottom:12px}.pmuPeriods{padding:3px;background:#f2f3f6;border-radius:10px}.pmuPeriods button,.pmuTabs button{padding:8px 14px;border:0;background:transparent;border-radius:8px;cursor:pointer;color:#636c7b;font:inherit;white-space:nowrap}
.pmuPeriods button[aria-pressed=true],.pmuTabs button[aria-pressed=true]{background:#fff;color:#423690;box-shadow:0 1px 5px #10182812;font-weight:600}
.pmuFilters input,.pmuFilters select{width:auto;min-width:0;max-width:100%;height:36px;box-sizing:border-box;padding:5px 9px;border:1px solid #d9dde5;border-radius:8px;font:inherit;background:transparent;color:inherit}.pmuFilters label{display:flex;align-items:center;gap:6px;font-size:13px;color:#636c7b}
.pmuAction{padding:8px 13px;border:1px solid #d9dde5;background:transparent;border-radius:8px;font:inherit;color:inherit;cursor:pointer;white-space:nowrap}.pmuAction:hover{background:#f1f2f6}.pmuAction:disabled{opacity:.45;cursor:default}
.pmuRange{color:#78808e;font-size:12px;margin:0 0 16px;min-height:18px}.pmuTabs{display:flex;gap:4px;border-bottom:1px solid #e6e8ed;margin-bottom:18px;padding-bottom:7px}.pmuTabs button[aria-pressed=true]{box-shadow:none;background:#f1eefb}
.pmuCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.pmuCard{padding:16px;border:1px solid #e2e5eb;border-radius:12px;min-width:0}.pmuCard small{display:block;color:#78808e;font-size:12px}.pmuCard strong{display:block;font-size:24px;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.pmuCard p{font-size:11px;line-height:1.5;color:#78808e;margin:0}
.pmuSectionHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px}.pmuSectionHead h3{font-size:15px;margin:0}.pmuSectionHead small,.pmuNote{font-size:12px;line-height:1.7;color:#78808e}.pmuTableWrap{overflow:auto;border:1px solid #e3e6ec;border-radius:12px}.pmuTable{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}.pmuTable th{font-size:12px;font-weight:500;color:#747d8b;background:#f7f8fa;text-align:left}.pmuTable th,.pmuTable td{padding:12px 14px;border-bottom:1px solid #eceef2;vertical-align:top}.pmuTable tr:last-child td{border-bottom:0}.pmuTable td small{display:block;color:#78808e;font-size:11px;margin-top:4px}.pmuModelName{font-weight:550;white-space:normal;overflow-wrap:anywhere;min-width:150px;max-width:250px}.pmuEmpty{padding:32px 12px;text-align:center;color:#78808e;font-size:13px}
.pmuTimeline{display:grid;gap:8px;max-height:210px;overflow:auto;margin:5px 0 18px}.pmuDay{display:grid;grid-template-columns:100px 1fr 88px;align-items:center;gap:12px;font-size:12px;color:#707987}.pmuBar{height:6px;border-radius:4px;background:#f0edf8;overflow:hidden}.pmuBar span{display:block;height:100%;min-width:2px;background:#9a84d6;border-radius:4px}.pmuDay strong{text-align:right;font-weight:500}.pmuPager{justify-content:space-between;margin-top:12px;font-size:12px;color:#78808e}.pmuStatus{font-size:13px;min-height:20px;margin:12px 0;color:#707987}.pmuStatus[role=alert]{color:#ad3d32}.pmuDetail{max-width:340px;white-space:normal;font-size:12px;line-height:1.65;color:#78808e}.pmuDetail summary{cursor:pointer;color:#697386}.pmuDetail p{margin:4px 0;overflow-wrap:anywhere}
.personalModelUsageDialog button:focus-visible{outline:2px solid #8e76d1;outline-offset:2px}
.pmuTable .pmuSortButton{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;margin:-6px -5px;padding:6px 5px;min-height:32px;border:0;border-radius:5px;background:transparent;color:inherit;font:inherit;font-weight:inherit;white-space:nowrap;cursor:pointer}.pmuTable .pmuSortButton:hover{background:#e9e6f1;color:#423690}.pmuSortIndicator{width:12px;flex:0 0 12px;color:#969caa;text-align:center;font-size:12px;line-height:1}.pmuTable th[aria-sort=ascending],.pmuTable th[aria-sort=descending]{color:#64518d}.pmuTable th[aria-sort=ascending] .pmuSortIndicator,.pmuTable th[aria-sort=descending] .pmuSortIndicator{color:currentColor}
.pmuTabs{flex-wrap:wrap}.pmuFilters input:focus-visible{outline:2px solid #8e76d1;outline-offset:1px}
@media(max-width:700px){.personalModelUsageDialog{width:calc(100vw - 16px);max-height:96dvh;border-radius:14px}.pmuHead{padding:16px}.pmuHead h2{font-size:18px}.pmuBody{padding:16px;max-height:calc(96dvh - 87px)}.pmuCards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pmuCard{padding:12px}.pmuCard strong{font-size:20px}.pmuToolbar{gap:12px}.pmuPeriods{gap:0;width:100%;justify-content:space-between}.pmuPeriods button{padding:8px 10px;font-size:12px}.pmuTabs{gap:0}.pmuTabs button{padding:8px 11px;font-size:13px}.pmuFilters{width:100%;gap:8px}.pmuFilters label{flex-wrap:wrap}.pmuDay{grid-template-columns:86px 1fr 75px;gap:8px}.pmuTable th,.pmuTable td{padding:10px}.pmuTable{font-size:12px}}
@media(prefers-color-scheme:dark){html[data-theme=dark] .personalModelUsageDialog{--surface:#202329;--text:#eceef4}}
