/* Scoped, roomy planning workspace; business data never appears in CSS or inline handlers. */
.pp-needs-overlay{position:fixed;inset:0;z-index:12000;background:rgba(17,29,54,.48);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#233047;line-height:1.45}
.pp-needs-overlay *{box-sizing:border-box}.pp-needs-dialog{width:min(1510px,100%);height:min(960px,calc(100dvh - 48px));display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e4e8f0;border-radius:20px;box-shadow:0 25px 80px #14243a38;outline:none}.pp-needs-header{padding:25px 30px 20px;display:flex;justify-content:space-between;gap:20px;flex-shrink:0}.pp-needs-eyebrow{color:#596984;font-size:12px;letter-spacing:.02em;font-weight:650}.pp-needs-eyebrow span{padding:0 8px;color:#a6b1c2}.pp-needs-header h2{font-size:24px;line-height:1.25;letter-spacing:-.035em;margin:8px 0;color:#182943}.pp-needs-header p{margin:0;color:#69758c;font-size:13px}.pp-needs-btn{font:inherit;font-size:12px;font-weight:600;border:1px solid #d9dfeb;background:#fff;color:#3e4d66;border-radius:8px;padding:9px 13px;cursor:pointer;white-space:nowrap;transition:background .13s,border-color .13s;line-height:1.3}.pp-needs-btn:hover:not(:disabled){background:#f1f4fa;border-color:#b8c3d7}.pp-needs-btn:disabled{cursor:not-allowed;opacity:.48}.pp-needs-btn.is-primary{color:#fff;background:#4263dc;border-color:#4263dc;box-shadow:0 2px 3px #4263dc19}.pp-needs-btn.is-primary:hover:not(:disabled){background:#3252c5;border-color:#3252c5}.pp-needs-btn.is-text{border:0;background:transparent;padding:6px;color:#637591;font-size:11px}.pp-needs-btn.pp-needs-close{width:32px;height:32px;padding:0;font-size:24px;font-weight:400;border:0;background:#f1f3f7;color:#66718a}.pp-needs-overlay :is(button,input,select):focus-visible{outline:3px solid #94aaff;outline-offset:2px}.pp-needs-mode{display:flex;padding:0 30px;gap:25px;border-bottom:1px solid #e6eaf2;flex-shrink:0}.pp-needs-mode .pp-needs-btn{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:13px 0;color:#8591a6;font-size:13px;display:flex;gap:8px;align-items:center}.pp-needs-mode .pp-needs-btn.is-selected{border-bottom-color:#4263dc;color:#3658d1}.pp-needs-content{padding:22px 30px 30px;overflow:auto;flex:1;min-height:0;background:#f9fafc}.pp-needs-toolbar{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.pp-needs-toolbar label,.pp-needs-model-name,.pp-needs-form-grid label{display:flex;flex-direction:column;gap:6px;color:#69758c;font-size:11px;font-weight:650}.pp-needs-toolbar label:first-child{min-width:240px;max-width:360px}.pp-needs-overlay select,.pp-needs-overlay input:not([type=checkbox]){font:inherit;font-size:13px;font-weight:450;border:1px solid #d7deea;background:#fff;border-radius:8px;color:#293a55;min-height:37px;padding:7px 10px;max-width:100%;min-width:0}.pp-needs-overlay select{padding-right:24px}.pp-needs-overlay input[type=checkbox]{accent-color:#4263dc;width:15px;height:15px;flex-shrink:0}.pp-needs-overlay :is(input,select):disabled{opacity:.6;background:#f2f4f8}.pp-needs-toolbar-spacer{flex:1}.pp-needs-persistence{font-size:11px;color:#75819a;align-self:center}.pp-needs-model-name{max-width:520px;margin-top:16px}.pp-needs-model-name input{font-size:15px!important;font-weight:600!important}.pp-needs-week-caption{margin:20px 0 0;display:flex;gap:12px;align-items:center}.pp-needs-week-caption strong{font-size:15px}.pp-needs-week-caption span{font-size:12px;color:#7b879c}.pp-needs-stats{display:flex;gap:28px;align-items:stretch;margin:22px 0;padding:17px 20px;border:1px solid #e4e8f1;border-radius:11px;background:#fff}.pp-needs-stats>div{display:flex;flex-direction:column;gap:3px;min-width:95px;padding-right:26px;border-right:1px solid #ecf0f5}.pp-needs-stats>div:last-child{border:0;padding-right:0}.pp-needs-stats strong{font-size:18px;color:#2c405c;line-height:1.3}.pp-needs-stats span{font-size:11px;color:#8390a4}.pp-needs-stats .is-warning strong{color:#aa710d}.pp-needs-viewbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px;flex-wrap:wrap}.pp-needs-viewbar>p{font-size:11px;color:#8a95a9;margin:0}.pp-needs-segments{display:flex;background:#e9edf5;border-radius:9px;padding:3px;gap:3px}.pp-needs-segments .pp-needs-btn{border:0;background:transparent;padding:7px 16px;font-size:12px;color:#77859c}.pp-needs-segments .is-selected{background:#fff;box-shadow:0 1px 4px #24365614;color:#3859c9}.pp-needs-day-tabs{display:flex;gap:5px}.pp-needs-day-tabs .pp-needs-btn{padding:7px 12px;border-color:transparent;background:transparent;color:#74829a}.pp-needs-day-tabs .is-selected{color:#3658d1;background:#e8edff;border-color:#cbd6ff}.pp-needs-workspace{position:relative;display:flex;gap:18px;align-items:flex-start;min-width:0}.pp-needs-board{flex:1;min-width:0}.pp-needs-week{display:grid;grid-template-columns:repeat(7,minmax(155px,1fr));border:1px solid #dde4ee;border-radius:11px;overflow:auto;min-height:290px;background:#fff}.pp-needs-column{border-right:1px solid #e5eaf3;min-width:0;background:#fff}.pp-needs-column:last-child{border-right:0}.pp-needs-column-heading{position:sticky;top:0;z-index:1;font:inherit;width:100%;display:flex;align-items:center;flex-direction:column;gap:2px;padding:13px 8px;background:#f2f5fa;border:0;border-bottom:1px solid #e5eaf3;cursor:pointer}.pp-needs-column-heading:hover{background:#e9effa}.pp-needs-column-heading strong{font-size:12px;color:#3e5271}.pp-needs-column-heading>span{font-size:10px;color:#8390a5}.pp-needs-column-heading small{font-size:10px;color:#8390a5;font-weight:400}.pp-needs-column-body{padding:8px}.pp-needs-slot{background:color-mix(in srgb,var(--needs-color) 7%,white);border:1px solid color-mix(in srgb,var(--needs-color) 24%,white);border-left:4px solid var(--needs-color);border-radius:7px;padding:10px 9px;margin-bottom:9px;min-width:0;position:relative}.pp-needs-slot-top{display:flex;justify-content:space-between;gap:5px;align-items:flex-start}.pp-needs-post{color:color-mix(in srgb,var(--needs-color) 65%,#25324a);font-size:10px;font-weight:700;min-width:0;word-break:break-word;line-height:1.4}.pp-needs-chip{font-size:9px;line-height:1.4;color:#63728a;background:#ffffffb8;border-radius:4px;padding:2px 4px;white-space:nowrap;font-weight:600}.pp-needs-chip.is-filled{color:#1d775f;background:#e7f5ed}.pp-needs-time{display:block;font-size:14px;margin:10px 0 2px;color:#2b3b54;white-space:nowrap;letter-spacing:-.03em}.pp-needs-time>span{color:#8996ab;font-weight:400}.pp-needs-time>small{font-size:9px;color:#7c87a0}.pp-needs-slot-meta{font-size:9px;margin:0;color:#74829a;line-height:1.5}.pp-needs-slot-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #8193b121;margin-top:8px;padding-top:3px}.pp-needs-add{width:100%;border:1px dashed #ccd5e5;background:transparent;color:#7184a4;font-size:10px;padding:11px 5px}.pp-needs-no-slot{font-size:11px;color:#acb5c7;text-align:center;padding:16px 0}.pp-needs-assignee{display:flex;flex-direction:column;gap:4px;margin-top:10px;font-size:9px;color:#78859d}.pp-needs-assignee select{width:100%;font-size:11px;min-height:31px;padding:5px 20px 5px 6px;border-color:#d9e0ec;background:#ffffffcc}.pp-needs-editor{position:sticky;top:0;width:335px;flex-shrink:0;background:white;border:1px solid #dbe2ee;border-radius:12px;padding:18px;box-shadow:0 8px 25px #30497409}.pp-needs-workspace.has-editor .pp-needs-week{grid-template-columns:repeat(7,minmax(152px,1fr))}.pp-needs-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.pp-needs-editor-heading h3{font-size:15px;color:#304361;margin:0}.pp-needs-editor-heading .pp-needs-btn{font-size:20px;padding:0 4px}.pp-needs-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.pp-needs-form-grid label:first-child{grid-column:1/-1}.pp-needs-net{display:flex;flex-direction:column;gap:7px;justify-content:center;background:#f3f6fe;border-radius:8px;padding:9px;color:#61769d}.pp-needs-net span{font-size:9px}.pp-needs-net strong{font-size:15px;color:#3c5cc9}.pp-needs-days{border:0;padding:0;display:flex;gap:4px;margin:18px 0 10px}.pp-needs-days legend{font-size:11px;font-weight:650;color:#69758c;padding:0;margin-bottom:8px}.pp-needs-days label{position:relative;flex:1}.pp-needs-days input{position:absolute;opacity:0;width:100%!important;height:100%!important;inset:0;margin:0;cursor:pointer}.pp-needs-days span{display:block;border:1px solid #dce3ee;border-radius:6px;padding:7px 2px;text-align:center;font-size:10px;color:#7b8aa1}.pp-needs-days input:checked+span{border-color:#96aafa;background:#edf1ff;color:#3656c8;font-weight:700}.pp-needs-days input:focus-visible+span{outline:3px solid #94aaff;outline-offset:2px}.pp-needs-help{font-size:10px;line-height:1.65;color:#8a97aa;margin:0}.pp-needs-editor-actions{display:flex;gap:6px;justify-content:flex-end;margin-top:18px}.pp-needs-form-error{font-size:11px;color:#b84a44;line-height:1.5}.pp-needs-form-error:empty{display:none}.pp-needs-day-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:3px 0 20px}.pp-needs-day-heading h3{font-size:17px;margin:0;color:#314762}.pp-needs-day-heading p{font-size:11px;margin:5px 0 0;color:#8290a7}.pp-needs-timeline-key{display:flex;justify-content:space-between;font-size:10px;color:#8895aa;padding:10px 15px;margin-bottom:8px;background:#eef2f8;border-radius:7px}.pp-needs-day-list .pp-needs-slot{padding:15px 17px;border-radius:9px}.pp-needs-day-list .pp-needs-slot-top{max-width:650px}.pp-needs-day-list .pp-needs-post{font-size:12px}.pp-needs-day-list .pp-needs-time{font-size:17px}.pp-needs-day-list .pp-needs-slot-meta{font-size:11px}.pp-needs-day-list .pp-needs-slot-actions{justify-content:flex-end;gap:15px;margin-top:10px}.pp-needs-day-list .pp-needs-assignee{max-width:420px;font-size:11px}.pp-needs-day-list .pp-needs-assignee select{font-size:13px;min-height:36px}.pp-needs-track{margin-top:14px;height:18px;position:relative;border-radius:4px;background:repeating-linear-gradient(to right,#dfe6f1 0,#dfe6f1 1px,transparent 1px,transparent calc(100%/24)),#f2f5fa;overflow:hidden}.pp-needs-range{position:absolute;top:3px;bottom:3px;background:var(--needs-color);border-radius:3px;min-width:2px}.pp-needs-range.is-next-day{background:repeating-linear-gradient(45deg,var(--needs-color),var(--needs-color) 3px,#ffffff70 3px,#ffffff70 6px)}.pp-needs-overnight{display:block;margin-top:5px;color:#8291a5;font-size:10px}.pp-needs-empty{text-align:center;padding:38px 20px;border:1px dashed #d3ddea;border-radius:11px;color:#8a98ad;background:#fff}.pp-needs-empty>span{font-size:32px;color:#b8c6dd}.pp-needs-empty h3{font-size:16px;color:#536783;margin:12px 0 7px}.pp-needs-empty p{font-size:12px;margin:0}.pp-needs-preview{background:#fff;border:1px solid #cbd7f8;border-radius:12px;padding:22px;margin-top:20px;box-shadow:0 3px 15px #234ac709}.pp-needs-preview h3{font-size:16px;color:#304c84;margin:0 0 10px}.pp-needs-preview p{font-size:12px;color:#708098;margin:6px 0}.pp-needs-preview .pp-needs-valid{color:#2a8067}.pp-needs-preview-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.pp-needs-removal{display:flex;align-items:center;gap:8px;font-size:12px;color:#916917;margin-top:15px;padding:12px;background:#fff9e9;border-radius:8px}.pp-needs-error-list{font-size:12px;line-height:1.7;color:#b45149;background:#fff2f0;padding:12px 12px 12px 30px;border-radius:8px}.pp-needs-notice{font-size:12px;color:#856d37;background:#fff9e9;border:1px solid #f3e6bf;border-radius:8px;padding:11px 14px}.pp-needs-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 30px;border-top:1px solid #e4e9f2;background:#fff;flex-shrink:0}.pp-needs-footer>p{font-size:11px;color:#8290a5;line-height:1.55;max-width:750px;margin:0}.pp-needs-footer>div{display:flex;gap:8px;flex-shrink:0}.pp-needs-footer .is-error{color:#b14742}.pp-needs-footer .is-primary{padding:10px 17px}
@media(max-width:1150px){.pp-needs-overlay{padding:12px}.pp-needs-dialog{height:calc(100dvh - 24px)}.pp-needs-header{padding:20px 22px 16px}.pp-needs-mode{padding:0 22px}.pp-needs-content{padding:18px 22px 25px}.pp-needs-week{grid-template-columns:repeat(7,minmax(162px,1fr))}.pp-needs-workspace.has-editor{flex-direction:column-reverse}.pp-needs-editor{position:static;width:100%}.pp-needs-form-grid{grid-template-columns:repeat(4,1fr)}.pp-needs-form-grid label:first-child{grid-column:span 2}.pp-needs-days{max-width:420px}.pp-needs-board{width:100%}.pp-needs-stats{gap:17px}.pp-needs-stats>div{padding-right:15px}.pp-needs-footer{padding:16px 22px}}
@media(max-width:650px){.pp-needs-overlay{padding:0}.pp-needs-dialog{height:100dvh;width:100%;border:0;border-radius:0}.pp-needs-header{padding:20px 16px 14px}.pp-needs-header h2{font-size:21px}.pp-needs-header p{font-size:12px}.pp-needs-eyebrow{font-size:10px}.pp-needs-mode{padding:0 16px;gap:20px}.pp-needs-mode .pp-needs-btn{font-size:11px;gap:5px}.pp-needs-content{padding:16px}.pp-needs-toolbar{gap:9px}.pp-needs-toolbar label:first-child{min-width:0;flex:1}.pp-needs-toolbar label{min-width:130px}.pp-needs-toolbar-spacer{display:none}.pp-needs-persistence{width:100%;font-size:10px}.pp-needs-model-name{margin-top:12px}.pp-needs-stats{padding:13px;gap:15px;flex-wrap:wrap;margin:16px 0}.pp-needs-stats>div{min-width:95px;flex:1;padding:0;border:0}.pp-needs-stats strong{font-size:16px}.pp-needs-stats span{font-size:10px}.pp-needs-viewbar{gap:10px}.pp-needs-viewbar>p{display:none}.pp-needs-day-tabs{width:100%;justify-content:space-between;gap:0}.pp-needs-day-tabs .pp-needs-btn{padding:7px 9px}.pp-needs-week-caption{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.pp-needs-week{grid-template-columns:repeat(7,minmax(175px,1fr))}.pp-needs-footer{padding:13px 16px;align-items:stretch;flex-direction:column;gap:10px}.pp-needs-footer>p{font-size:10px}.pp-needs-footer>div{justify-content:flex-end}.pp-needs-footer .pp-needs-btn{flex:1;font-size:12px}.pp-needs-form-grid{grid-template-columns:1fr 1fr}.pp-needs-form-grid label:first-child{grid-column:1/-1}.pp-needs-preview{padding:16px}.pp-needs-preview-actions{flex-wrap:wrap}.pp-needs-day-heading .pp-needs-btn{font-size:10px}.pp-needs-day-heading h3{font-size:15px}.pp-needs-editor-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.pp-needs-btn{transition:none}}
@media(min-width:651px){
 .pp-needs-day-list .pp-needs-slot{display:grid;grid-template-columns:155px minmax(0,1fr) minmax(210px,290px);align-items:center;gap:3px 14px;padding:10px 14px;margin-bottom:8px}
 .pp-needs-day-list .pp-needs-slot-top{grid-column:1/3;grid-row:1;justify-content:flex-start;gap:12px;max-width:none}
 .pp-needs-day-list .pp-needs-post{font-size:11px}.pp-needs-day-list .pp-needs-time{grid-column:1;grid-row:2;margin:0;font-size:16px;line-height:1.5}
 .pp-needs-day-list .pp-needs-slot-meta{grid-column:2;grid-row:2;font-size:10px;margin:0}.pp-needs-day-list .pp-needs-assignee{grid-column:3;grid-row:1/3;max-width:none;margin:0;gap:3px;font-size:9px}
 .pp-needs-day-list .pp-needs-assignee select{min-height:32px;font-size:12px}.pp-needs-day-list .pp-needs-track{grid-column:1/-1;grid-row:3;margin-top:5px;height:16px}
 .pp-needs-day-list .pp-needs-slot-actions{grid-column:3;grid-row:1/3;border:0;margin:0;padding:0;justify-content:flex-end;gap:12px}.pp-needs-day-list .pp-needs-overnight{grid-column:1/-1;grid-row:4;margin-top:1px;font-size:9px}
 .pp-needs-timeline-key{position:sticky;top:-18px;z-index:2;border:1px solid #e2e8f2;background:#eef2f8}
}
@media(min-width:651px) and (max-width:850px){.pp-needs-day-list .pp-needs-slot{grid-template-columns:145px minmax(0,1fr) 210px;gap:3px 9px}}

/* Reference and realised services are separated; text stays dark on coloured accents. */
.pp-needs-group-title{margin:14px 0 9px;padding:8px 0;border-bottom:1px solid #dce3ed;font-size:12px;font-weight:700;color:#33465f}
.pp-needs-coverage-note{padding:14px 17px;border:1px solid #dce4f0;border-radius:10px;background:#f2f5fa;margin:-8px 0 20px;font-size:12px;color:#465a73;line-height:1.6}
.pp-needs-coverage-note p{margin:4px 0 9px}.pp-needs-coverage-note summary{cursor:pointer;font-weight:650;padding:8px 0}.pp-needs-coverage-note ul{padding-left:19px}.pp-needs-coverage-note .is-error{color:#983a33}
.pp-needs-overlay .pp-needs-post{font-size:12px;color:#263b55}.pp-needs-overlay .pp-needs-slot-meta,.pp-needs-overlay .pp-needs-chip{font-size:11px;color:#53647c}
.pp-needs-overlay .pp-needs-btn.is-text{font-size:12px;min-height:32px}.pp-needs-overlay .pp-needs-assignee{font-size:11px}.pp-needs-overlay .pp-needs-assignee select{font-size:12px;min-height:36px}
@media(max-width:650px){.pp-needs-overlay .pp-needs-btn{min-height:40px}.pp-needs-overlay .pp-needs-btn.pp-needs-close{width:40px;height:40px}.pp-needs-coverage-note{padding:12px;font-size:12px}.pp-needs-day-list .pp-needs-slot{padding:14px}.pp-needs-stats>div{min-width:120px}.pp-needs-stats span{font-size:11px}.pp-needs-day-tabs .pp-needs-btn{padding:7px 8px}}
