.ws-badge{display:inline-block;padding:5px 9px;border-radius:8px;font-size:12px;font-weight:700;line-height:1.5;margin:3px 3px 3px 0;white-space:normal}.ws-on_track,.ws-completed{background:#ddf6e5;color:#14532d}.ws-near{background:#fff0cd;color:#854000}.ws-late{background:#ffe0e0;color:#9a1b24}.ws-blocked{background:#efe2ff;color:#61248e}.ws-pending{background:#dfeeff;color:#144c84}.ws-paused,.ws-cancelled,.ws-no_date{background:#e9edf2;color:#37465b}.ws-legend{margin:18px 0;padding:14px;border:1px solid #ccd6e2;border-radius:12px}.ws-legend summary{cursor:pointer;font-weight:700}.ws-legend-items{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.pd-summary{white-space:pre-wrap;overflow-wrap:anywhere}.pd-team-row{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #dbe3ef}.pd-team-row form{margin:0}.pd-team-row button{width:auto}.pd-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.pd-metric{background:#edf3fa;border-radius:12px;padding:15px}.pd-metric strong{display:block;font-size:25px}.pd-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.pd-item{padding:18px;border:1px solid #dbe3ef;border-radius:14px;overflow-wrap:anywhere}.pd-item h2{font-size:20px}.pd-item a{display:inline-block;margin-top:12px}.pd-toolbar{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-bottom:20px}.pd-toolbar label{flex:1;min-width:150px}.pd-toolbar button{width:auto}.pd-progress{width:100%;accent-color:#4a8a2f}.pd-nav{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}.pd-nav a{color:inherit}.pd-history{border-left:3px solid #c8d5e4;padding:0 0 0 16px;margin:18px 0}.pd-compact{max-width:900px}.pd-form{margin-top:22px}.pd-note{padding:12px;background:#edf3fa;border-radius:10px}.pd-item .btn{font-size:14px}@media(max-width:650px){.pd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-list{grid-template-columns:1fr}}@media(prefers-color-scheme:dark){.ws-on_track,.ws-completed{background:#173f2b;color:#b7f0cc}.ws-near{background:#503812;color:#ffdc9a}.ws-late{background:#521f27;color:#ffc1c5}.ws-blocked{background:#40235b;color:#e2c4ff}.ws-pending{background:#183755;color:#b7d9ff}.ws-paused,.ws-cancelled,.ws-no_date{background:#303d50;color:#d9e3f2}.pd-metric,.pd-note{background:#25364d}.pd-team-row,.pd-item,.ws-legend{border-color:#455875}}
html[data-theme=dark] .ws-on_track,html[data-theme=dark] .ws-completed{background:#173f2b;color:#b7f0cc}html[data-theme=dark] .ws-near{background:#503812;color:#ffdc9a}html[data-theme=dark] .ws-late{background:#521f27;color:#ffc1c5}html[data-theme=dark] .ws-blocked{background:#40235b;color:#e2c4ff}html[data-theme=dark] .ws-pending{background:#183755;color:#b7d9ff}html[data-theme=dark] .ws-paused,html[data-theme=dark] .ws-cancelled,html[data-theme=dark] .ws-no_date{background:#303d50;color:#d9e3f2}html[data-theme=dark] .pd-note{background:#25364d}
.pd-team-row>div{min-width:0;overflow-wrap:anywhere}.pd-item,.pd-nav,.pd-summary{overflow-wrap:anywhere}
.rv-layout{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr);gap:18px;margin-top:18px}.rv-private{background:#edf1f7;border:1px dashed #a8b8ca;border-radius:10px;padding:14px;margin:16px 0}.rv-private textarea{width:100%}.rv-layout .card{min-width:0;overflow-wrap:anywhere}.wa-policy input[type=checkbox]{width:auto;display:inline-block;margin-right:8px}@media(max-width:820px){.rv-layout{grid-template-columns:1fr}}html[data-theme=dark] .rv-private{background:#25354a;border-color:#62748e}
.rv-actions{border:0;padding:0;margin:18px 0;display:flex;gap:8px;flex-wrap:wrap}.rv-actions legend{font-weight:700;margin-bottom:8px}.rv-actions label{border:1px solid #cbd6e3;border-radius:9px;padding:10px;margin:0;display:flex;align-items:center;gap:7px}.rv-actions input[type=radio]{width:auto;display:inline-block;margin:0}
.rv-layout{align-items:start}

.pd-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.pd-tabs a{margin:0}.pd-quick{margin-top:16px;padding-top:12px;border-top:1px solid #bbcddd}.pd-quick summary{font-weight:700;color:#285c75}.pd-quick textarea{width:100%}.pd-item .pd-note{font-size:14px}@media(prefers-color-scheme:dark){.pd-quick summary{color:#b7d6f2}}

/* Legend styles must remain in the stylesheet: page CSP blocks style attributes. */
.sl-item{display:inline-block;margin:3px 16px 3px 0;line-height:1.7}.sl-dot{display:inline-block;font-family:Arial,sans-serif;font-size:20px;line-height:1;vertical-align:-1px;margin-right:6px}.sl-red{color:#b3293b}.sl-amber{color:#a56a00}.sl-blue{color:#2267a9}.sl-green{color:#278046}.sl-purple{color:#8142b0}.sl-grey{color:#68778a}
html[data-theme=dark] .sl-red{color:#ff8894}html[data-theme=dark] .sl-amber{color:#ffd080}html[data-theme=dark] .sl-blue{color:#8bc3ff}html[data-theme=dark] .sl-green{color:#8cd5a2}html[data-theme=dark] .sl-purple{color:#d2a0ff}html[data-theme=dark] .sl-grey{color:#bdc9d7}
@media(prefers-color-scheme:dark){html:not([data-theme=light]) .sl-red{color:#ff8894}html:not([data-theme=light]) .sl-amber{color:#ffd080}html:not([data-theme=light]) .sl-blue{color:#8bc3ff}html:not([data-theme=light]) .sl-green{color:#8cd5a2}html:not([data-theme=light]) .sl-purple{color:#d2a0ff}html:not([data-theme=light]) .sl-grey{color:#bdc9d7}}

.pic-metric{display:block;text-decoration:none;color:inherit}.pic-metric:hover,.pic-metric:focus-visible{outline:2px solid #2267a9;outline-offset:3px}.pd-toolbar{flex-wrap:wrap}.pd-toolbar label{min-width:140px;flex:1}.pd-compact{max-width:520px;margin:auto}

@media(max-width:480px){.pd-toolbar label{flex-basis:100%;min-width:0}.pd-toolbar button{width:100%}}
