.pd-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:18px 0}.pd-toolbar .field{margin:0}.pd-toolbar input{max-width:175px}.pd-toolbar select{min-width:100px}.pd-status{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 18px;border-left:4px solid #ae7b28;background:var(--surface);margin-bottom:18px;border-radius:8px}.pd-status.ready{border-color:#377f62}.pd-status span{font-size:12px;color:var(--muted)}.pd-status a{margin-left:auto}.pd-panel{overflow:hidden}.pnl-daily-sheet{table-layout:fixed;width:100%;min-width:850px;border-collapse:collapse}.pnl-daily-sheet .pd-label-col{width:29%}.pnl-daily-sheet td,.pnl-daily-sheet th{padding:13px 9px;border-bottom:1px solid var(--line);white-space:normal}.pnl-daily-sheet th{text-align:left}.pnl-daily-sheet .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:13px}.pnl-daily-sheet tr[hidden]{display:none!important}.pd-name{display:flex;align-items:center;gap:7px;padding-left:calc(var(--depth)*14px);overflow-wrap:anywhere}.pd-name small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:4px}.pd-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:24px;width:24px;height:24px;min-height:24px;padding:0;flex-shrink:0;border-radius:6px}.pd-toggle-space{width:24px;flex-shrink:0}.pd-total{background:var(--surface2);font-weight:750}.pd-total th,.pd-total .num{font-size:16px}.pd-depth-0{background:var(--surface2);font-weight:700}.pd-depth-1{font-weight:600}.pd-depth-2 .num{font-size:12px}.pd-sources{margin-top:16px;padding:18px;font-size:13px}.pd-sources summary{cursor:pointer;font-weight:600}.pd-source{padding:12px 0;border-bottom:1px solid var(--line)}.pd-source p{margin:7px 0}.pd-source a{overflow-wrap:anywhere}.pd-scroll{overflow:auto}@media(max-width:700px){.pd-panel .panel-head{padding:14px}.pd-toolbar{gap:8px}.pd-toolbar .field{font-size:11px}.pd-status{font-size:13px}.pd-status a{margin-left:0}.pnl-daily-sheet{min-width:760px}.pnl-daily-sheet th,.pnl-daily-sheet td{padding:10px 7px}.pd-sources{padding:14px}.pnl-daily-sheet .num{font-size:12px}.pd-total .num{font-size:14px}}
.pd-mobile-controls,.pd-mobile-help,.pd-menu-toggle{display:none}
.pd-team-panel{margin-top:18px}.pd-team-guide{margin:0;padding:0 18px 12px;color:var(--muted);font-size:12px;line-height:1.5}
.pd-page-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media(max-width:700px){
 .pd-page .page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;position:relative}
 .pd-page .page-head h1{margin:0}
 .pd-page .pd-menu-toggle{display:inline-flex;min-height:36px;font-size:12px}
 .pd-page .pd-page-actions{display:none;position:absolute;top:44px;right:0;z-index:30;width:min(300px,calc(100vw - 32px));padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 8px 24px #0002;grid-template-columns:1fr 1fr}
 .pd-page .pd-menu-open .pd-page-actions{display:grid}
 .pd-page-actions>*{justify-content:center;text-align:center}
 .pd-page .pnl-controls{padding:8px 10px;margin-bottom:12px}
 .pd-page .pnl-control-row{margin:0;display:block}
 .pd-page .pnl-control-row>span{display:none}
 .pd-page .pnl-controls .segmented{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;gap:2px}
 .pd-page .pnl-controls .segmented button{flex:0 0 auto;white-space:nowrap;min-height:34px}
 .pd-controls{display:flex;flex-direction:column;margin:0 0 12px}
 .pd-controls .pd-status{order:0;margin:0;padding:10px 12px;gap:8px;justify-content:space-between;border-left-width:3px}
 .pd-status>strong{font-size:12px;white-space:nowrap}
 .pd-status>span,.pd-status>a{display:none}
 .pd-mobile-controls{display:flex;align-items:center;gap:5px}
 .pd-mobile-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 8px;font-size:11px;white-space:nowrap}
 .pd-mobile-controls .icon{width:16px;height:16px}
 .pd-controls .pd-toolbar{display:none}
 .pd-controls.settings-open .pd-toolbar{display:grid;order:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:10px;margin:8px 0 0;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
 .pd-toolbar .field{min-width:0;display:flex;flex-direction:column;gap:5px}
 .pd-toolbar input,.pd-toolbar select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:38px;font-size:14px}
 .pd-toolbar .field:first-child{grid-column:1;grid-row:1}
 .pd-toolbar .field:last-of-type{grid-column:2;grid-row:1}
 .pd-toolbar [data-pd-auto]{grid-column:1 / -1;min-height:36px}
 .pd-toolbar .pd-desktop-refresh{display:none}
 .pd-mobile-help{display:block;grid-column:1 / -1;margin:0;font-size:11px;line-height:1.5;color:var(--muted)}
 .pd-page .pnl-daily-sheet{width:754px;min-width:754px}
 .pd-page .pnl-daily-sheet .pd-label-col{width:104px}
 .pd-page .pnl-daily-sheet tr>th:first-child{position:sticky;left:0;z-index:2;background:var(--surface)}
 .pd-page .pnl-daily-sheet .pd-total>th,.pd-page .pnl-daily-sheet .pd-depth-0>th,.pd-page .pnl-daily-sheet thead th:first-child{background:var(--surface2)}
 .pd-page .pd-name{gap:4px;padding-left:calc(var(--depth)*5px);font-size:12px}
 .pd-page .pd-name small{font-size:10px}
 .pd-page .pd-total-suffix{display:none}
 .pd-page .pd-total th{font-size:13px;line-height:1.5}
 .pd-page .pnl-daily-sheet .num{font-size:13px}
 .pd-page .pd-total .num{font-size:14px}
}

/* Period-only confirmed cost choice; entry remains in cost management. */
.pnl-cost-choice{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted,#666);margin-left:auto}.pnl-cost-choice select{width:auto;min-width:90px;padding:7px 24px 7px 10px;font:inherit}
