.pd-overlay{position:fixed;inset:0;z-index:120;background:#17203366;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.pd-root{--pd-line:var(--ui-line,#e2e6ee);--pd-muted:var(--ui-muted,#7486a5);--pd-accent:var(--ui-accent,#b75550);width:min(760px,100%);height:min(940px,100%);display:flex;flex-direction:column;background:var(--ui-surface,#fff);color:var(--ui-ink,#172033);font:16px/1.5 Arial,"PingFang SC",sans-serif;border-radius:6px;overflow:hidden}
.pd-root *{box-sizing:border-box;letter-spacing:0;min-width:0}.pd-root button,.pd-root select,.pd-root input{font:inherit}.pd-root button{cursor:pointer;border:1px solid var(--pd-line);background:transparent;color:inherit;border-radius:4px}.pd-root button:disabled{opacity:.5;cursor:default}.pd-root button:focus-visible,.pd-root input:focus-visible,.pd-root select:focus-visible{outline:2px solid var(--pd-accent);outline-offset:2px}
.pd-head{display:flex;align-items:center;gap:8px;padding:18px 20px;border-bottom:1px solid var(--pd-line);flex-shrink:0}.pd-head h2{margin:0;flex:1;font-size:24px;line-height:1.3;white-space:nowrap}.pd-root .pd-icon{width:32px;height:40px;padding:4px;border:0;flex:0 0 32px}.pd-icon img{width:22px;height:22px}.pd-head .uh-tools{gap:2px}.pd-head .uh-tool{width:32px;min-width:32px;height:38px;padding:3px}
.pd-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:20px}.pd-root fieldset{border:0;margin:0;padding:0;min-width:0}.pd-filters{display:grid;gap:12px;margin-bottom:18px}.pd-select{display:flex;align-items:center;border:1px solid var(--pd-line);border-radius:4px;padding:0 12px;min-height:48px;gap:16px}.pd-select>span{width:48px;flex:0 0 48px}.pd-select select{background:transparent;color:inherit;border:0;padding:9px 0;flex:1;width:100%;min-height:46px}.pd-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:var(--ui-soft,#f2f4f7);border-radius:4px;overflow:hidden}.pd-roles button{border:0;border-radius:0;min-height:46px}.pd-roles .active{color:#fff;background:var(--pd-accent)}
.pd-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--ui-soft-blue,#eef4ff);border-radius:4px;color:var(--pd-muted)}.pd-list-head h3{font-size:16px;margin:0;color:inherit}.pd-list-head label{display:flex;align-items:center;gap:8px;cursor:pointer;min-height:28px}.pd-root input[type=checkbox]{width:20px;height:20px;margin:0;accent-color:var(--pd-accent);flex:0 0 20px}.pd-month{display:grid;grid-template-columns:22px 44px minmax(0,1fr) 48px;align-items:center;gap:10px;min-height:46px;border-bottom:1px solid var(--pd-line);padding:7px 4px;cursor:pointer}.pd-filename{font-size:14px;overflow-wrap:anywhere}.pd-month small{font-size:13px;text-align:right;color:var(--pd-muted);white-space:nowrap}.pd-unavailable{color:var(--pd-muted);cursor:default}.pd-error{color:#c53939;padding:8px 0;overflow-wrap:anywhere}
.pd-actions{padding:12px 20px 16px;border-top:1px solid var(--pd-line);background:var(--ui-surface,#fff);flex-shrink:0}.pd-count{margin-bottom:10px;font-variant-numeric:tabular-nums}.pd-actions>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pd-actions button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:8px;font-size:16px;border-color:var(--pd-accent);color:var(--pd-accent)}.pd-actions button img{width:22px;height:22px}.pd-actions .primary{background:var(--pd-accent);color:#fff}.pd-actions .primary img{filter:brightness(0) invert(1)}
.pd-mobile{padding:0;background:var(--ui-surface,#fff)}.pd-mobile .pd-root{width:min(760px,100%);height:100%;border-radius:0}.pd-root .pd-bottom{position:static!important;transform:none!important;width:100%;max-width:none;flex-shrink:0;border-top:1px solid var(--pd-line);background:var(--ui-surface,#fff);padding-bottom:env(safe-area-inset-bottom)}.pd-root .pd-bottom .app-nav-item{border:0;background:transparent;min-height:58px;padding:6px 2px}.pd-bottom .app-nav-item.active{color:var(--pd-accent);background:var(--ui-soft,#fff3f2)}
html[data-mobile-theme=dark] .pd-list-head{background:var(--ui-soft);color:var(--ui-ink)}
@media(min-width:761px){.pd-root .pd-filters{grid-template-columns:1fr 1fr 1fr}.pd-filters .pd-roles{order:2}.pd-filters .pd-select:last-child{order:3}.pd-head .uh-tools{display:none}}
@media(max-width:760px){.pd-overlay{padding:0}.pd-root{height:100%;border-radius:0}.pd-head{padding:18px 16px;gap:4px}.pd-head h2{font-size:22px}.pd-scroll{padding:16px}.pd-actions{padding:10px 16px 14px}}
@media(max-width:359px){.pd-head h2{font-size:20px}.pd-head .uh-tool{width:27px;min-width:27px;padding:1px}.pd-root .pd-icon{width:25px;flex-basis:25px}.pd-month{grid-template-columns:20px 36px minmax(0,1fr) 42px;gap:7px}.pd-filename{font-size:13px}.pd-month small{font-size:12px}.pd-actions button{font-size:14px;gap:6px}}
