/* Shared PPW workspace. Document/PDF styling remains independent. */
:root{--ppw-navy:#0a1a2f;--ppw-green:#2eea10;--sidebar-width:232px}.ppw-shell{background:#e3e9ef;color:var(--ppw-navy);font-size:14px}.shell-sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar-width);background:var(--ppw-navy);color:#fff;padding:24px 14px;display:flex;flex-direction:column;z-index:30;overflow-y:auto}.shell-logo{display:block;background:white;border-radius:8px;padding:8px;flex-shrink:0}.shell-logo img{display:block;max-width:100%;height:auto}.shell-tagline{font-size:11px;color:#b8c6d6;margin:14px 12px;line-height:1.5}.shell-sidebar nav{display:block;padding:0;background:none;border:0}.shell-nav-group{margin-top:22px}.shell-nav-group>p{color:#9dadc2;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;margin:0 12px 7px}.shell-nav-group a{display:flex;gap:12px;align-items:center;padding:10px 12px;color:#dce5f0;border-left:3px solid transparent;border-radius:5px;font-size:13px;line-height:1.4;margin:3px 0}.shell-nav-group a:hover{background:#ffffff12}.shell-nav-group a[aria-current]{background:#ffffff12;color:white;border-left-color:var(--ppw-green)}.nav-symbol{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border:1px solid #65768c;border-radius:5px;font-size:11px}.shell-sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-toggle{background:transparent;border:1px solid #40516a;color:#cfdae8;display:flex;gap:12px;width:100%;align-items:center}.shell-workspace{margin-left:var(--sidebar-width);min-width:0}.shell-topbar{position:sticky;top:0;z-index:20;background:white;border-top:0;padding:12px 24px;gap:18px;min-height:78px}.shell-account{display:flex;flex-direction:column;flex-shrink:0}.shell-account .eyebrow{font-size:10px;letter-spacing:1.6px}.shell-account strong{font-size:12px}.shell-search{display:flex;gap:6px;align-items:center;max-width:380px;flex:1;margin-left:auto}.shell-search input{font-size:13px;background:#f6f8fa;padding:8px 10px}.shell-search button{padding:7px 10px;font-size:12px}.shell-attention{font-size:12px;font-weight:650;white-space:nowrap}.shell-topbar details{position:relative;flex-shrink:0}.shell-topbar summary{font-size:12px;color:var(--ppw-navy)}.shell-topbar details>div{position:absolute;right:0;top:100%;min-width:210px;background:white;padding:16px;border:1px solid #d6dee8;border-radius:8px;box-shadow:0 10px 30px #0a1a2f20;display:grid;gap:12px}.shell-topbar details form{margin:0}.shell-topbar details a{font-size:13px}.ppw-shell main{max-width:1600px;margin:26px auto;padding:0 24px;min-width:0}.ppw-shell h1{font-size:28px}.ppw-shell h2{font-size:18px}.ppw-shell .heading{margin-bottom:16px}.ppw-shell .card{padding:18px;border-radius:10px}.ppw-shell button:not(.quiet):not(.sidebar-toggle),.ppw-shell .button:not(.quiet){background:var(--ppw-navy);border-color:var(--ppw-navy);color:white}.ppw-shell .button.primary{background:var(--ppw-green);border-color:var(--ppw-green);color:var(--ppw-navy)}.ppw-shell th,.ppw-shell td{padding:11px 14px}.ppw-shell th{background:#f8fafc;font-size:10px}.ppw-shell .notice{border-left-color:var(--ppw-green)}.ppw-shell :focus-visible{outline:3px solid #007eb0;outline-offset:3px}.shell-sidebar :focus-visible{outline-color:var(--ppw-green)}.mobile-navigation{display:none}.shell-public .shell-workspace{margin:0}.shell-public .shell-topbar{position:static}.shell-public .shell-logo{width:186px}.shell-public .shell-help{margin-left:auto}.sidebar-collapsed{--sidebar-width:76px}.sidebar-collapsed .shell-sidebar{padding:20px 8px}.sidebar-collapsed .shell-sidebar .nav-label,.sidebar-collapsed .shell-sidebar .shell-tagline,.sidebar-collapsed .shell-nav-group>p{display:none}.sidebar-collapsed .shell-nav-group a{padding:10px 12px}.sidebar-collapsed .shell-logo{padding:4px}.sidebar-collapsed .sidebar-toggle{justify-content:center}.skip:focus{z-index:100}.partner-form{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}.partner-form .actions,.partner-form>.errorlist{grid-column:1/-1}.partner-form label{display:block;margin-bottom:6px}.partner-form input[type=checkbox]{display:inline-block}.dashboard-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}.dashboard-quick a{display:flex;align-items:center;gap:12px;background:white;border:1px solid #dbe2e9;border-radius:8px;padding:14px 16px;text-decoration:none;font-weight:650;color:var(--ppw-navy)}.dashboard-quick a:hover{border-color:#71859e}.quick-symbol{background:#eafbe6;color:#164d0c;border-radius:7px;padding:5px 10px;font-size:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 10px}.section-heading h2{margin:0}.section-heading p{margin:3px 0;font-size:12px}.section-heading>a{font-size:12px}.dashboard-queues .queue{margin:14px 0}.queue>summary{display:flex;align-items:center;justify-content:space-between;background:white;padding:13px 16px;border:1px solid #dbe2e9;border-radius:8px;color:var(--ppw-navy);font-size:14px}.queue[open]>summary{border-radius:8px 8px 0 0}.queue .tablewrap{border-radius:0 0 8px 8px;border-top:0}.queue .tablewrap table{min-width:560px}.queue td{font-size:13px}.queue td:first-child{width:100px}.queue td:last-child{max-width:360px}.queue .badge{margin-left:8px}.queue .muted{font-size:12px}.dashboard-totals .card{padding:10px 16px}.dashboard-totals strong{color:var(--ppw-navy)}.stage-counts .card{padding:12px 14px}.stage-counts .card strong{color:var(--ppw-navy)}.stage-counts .card:hover{border-color:#429936}.task-panel{border-top:3px solid var(--ppw-green)}#attention{scroll-margin-top:100px}
@media(max-width:1150px){.shell-attention{display:none}.shell-account strong{max-width:150px}.shell-search{max-width:280px}.dashboard-quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.shell-workspace{margin:0}.shell-sidebar{visibility:hidden;transform:translateX(-100%);width:232px}.mobile-nav-open .shell-sidebar{visibility:visible;transform:none;box-shadow:15px 0 40px #0a1a2f40}.shell-topbar{padding:10px 16px;gap:12px;flex-wrap:wrap}.mobile-navigation{display:block}.shell-account{flex:1}.shell-search{order:5;flex-basis:100%;max-width:none;width:100%;margin:0}.shell-topbar .shell-search input{font-size:16px}.shell-help{margin-left:auto}.ppw-shell main{padding:0 16px;margin-top:20px}.sidebar-collapsed .shell-sidebar .nav-label,.sidebar-collapsed .shell-sidebar .shell-tagline,.sidebar-collapsed .shell-nav-group>p{display:block}.sidebar-collapsed .shell-sidebar{padding:24px 14px}.sidebar-toggle{display:none}.sidebar-collapsed .shell-logo{padding:8px}.shell-user summary{max-width:120px;overflow-wrap:anywhere}.shell-topbar summary{min-height:44px;display:flex;align-items:center}.partner-form{grid-template-columns:1fr}.dashboard-quick{gap:8px}.dashboard-quick a{padding:12px;font-size:12px}.quick-symbol{font-size:16px;padding:4px 8px}.section-heading{align-items:flex-start}.ppw-shell h1{font-size:26px}.shell-search button{min-height:44px}.shell-sidebar .shell-nav-group a{min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.job-view-switch{display:flex;align-items:center;gap:8px;margin:12px 0}.job-view-switch>span{margin-right:auto}.job-view-switch a[aria-current]{background:var(--ppw-navy);color:white;border-color:var(--ppw-navy)}.job-register table{min-width:680px}.job-register td{vertical-align:top}.job-register td:last-child{max-width:340px}.filters input[type=hidden]{display:none}

.jobs-overview{margin-top:26px;scroll-margin-top:150px}.overview-filters{display:flex;gap:6px;padding:0 0 12px;border:0;background:transparent}.overview-filters a{font-size:12px;padding:6px 10px;border:1px solid #dbe2e9;border-radius:18px;background:white;color:var(--ppw-navy);min-height:34px}.overview-filters a[aria-current]{background:var(--ppw-navy);color:white;border-color:var(--ppw-navy)}.overview-filters span{margin-left:5px;opacity:.8;font-variant-numeric:tabular-nums}.overview-table td{vertical-align:top}.overview-table td:last-child{max-width:360px}.overview-footer{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;margin-top:9px;font-size:12px}@media(max-width:650px){.overview-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px}.overview-filters a{flex-shrink:0;min-height:44px}.overview-table table,.overview-table tbody{display:block;width:100%}.overview-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.overview-table tr{display:grid;grid-template-columns:1fr 1fr;padding:12px;gap:6px 12px;border-bottom:1px solid #dbe2e9}.overview-table td{padding:0;border:0;font-size:13px;min-width:0}.overview-table td:nth-child(2){grid-column:1;grid-row:2}.overview-table td:nth-child(3){grid-column:2;grid-row:1;text-align:right}.overview-table td:last-child{grid-column:1/-1;max-width:none;color:#546b76}.overview-table .overview-empty{display:block}.jobs-overview .section-heading>a{white-space:nowrap}.overview-footer{font-size:11px}}

.dashboard-insights{display:grid;grid-template-columns:1fr;gap:28px;margin:26px 0;padding:18px 0;border-top:1px solid #dbe2e9;border-bottom:1px solid #dbe2e9}.dashboard-insights h2{margin:0}.insight-caption{font-size:12px;margin:4px 0 10px}.insight-list{list-style:none;margin:0;padding:0}.insight-list li{padding:8px 0;font-size:13px;border-top:1px solid #e3e8ee}.insight-list a{text-decoration:none}.insight-list a:hover{text-decoration:underline}.insight-list .insight-overdue{color:#9b331d;font-weight:650}@media(max-width:760px){.dashboard-insights{grid-template-columns:1fr;gap:20px}}

.attention-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}.attention-layout>div,.company-watchlist,.weekly-commitments{min-width:0}.watchlist-body{padding:8px 18px;background:#fff;border:1px solid #dce4e7;border-top:3px solid #d58c3c;border-radius:10px;margin:12px 0}.watch-severity{font-size:10px;font-weight:750;color:#77520b;display:block;text-transform:uppercase;letter-spacing:.5px}.watch-severity.overdue{color:#a12e20}.watchlist-body details{padding:10px 0}.attention-layout .section-heading{min-height:56px}@media(max-width:1199px){.attention-layout{grid-template-columns:1fr;gap:0}}

.weekly-body{padding:8px 18px;background:#fff;border:1px solid #dce4e7;border-top:3px solid var(--ppw-navy);border-radius:10px;margin:12px 0}.attention-layout .section-heading{align-items:flex-start}.attention-layout .section-heading>a{flex-shrink:0}.attention-layout .insight-list,.attention-layout .task-panel{overflow-wrap:anywhere}.shell-user summary{text-transform:none}

.jobs-overview[aria-busy="true"] .overview-table{opacity:.55}.overview-table{transition:opacity .12s ease}@media(prefers-reduced-motion:reduce){.overview-table{transition:none}}

/* One persistent, direct route between each part of the current job. */
.ppw-shell .job-workflow-tabs{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 12px;margin:0 0 16px;border:0;border-bottom:1px solid #ccd8e1;background:transparent}.ppw-shell .job-workflow-tabs a{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border:1px solid #bcced9;border-radius:5px;background:#fff;color:#294b60;text-decoration:none;font-size:12px;line-height:1.3;font-weight:400;text-transform:uppercase}.ppw-shell .job-workflow-tabs a:hover{background:#edf6fa;border-color:#007da8}.ppw-shell .job-workflow-tabs a[aria-current=page]{background:#007da8;color:#fff;border-color:#007da8}.ppw-shell .job-workflow-tabs a:focus-visible{outline:3px solid #0a1a2f;outline-offset:2px}

/* Make expected work visible before prerequisites are complete. */
.job-workspace .card{border-left:4px solid #007da8;border-radius:6px;padding:16px 18px;margin:12px 0}.job-workspace h1{font-size:25px;margin:8px 0}.job-workspace h2{font-size:18px;margin:0 0 10px}.job-workspace h3{font-size:14px;margin:10px 0 6px}.job-workspace p{margin:6px 0;font-size:14px}.job-workspace .document-fields{font-size:13px;margin:0}.job-workspace .document-fields>div{padding:5px 9px}.job-workspace .document-fields dt,.job-workspace .document-fields dd{margin:0}.job-workspace .next-task{background:#edf6fa}.task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:12px;align-items:start}.task-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #dce4eb;font-size:13px}.task-preview,.task-placeholder{background:#f2f5f8;border:1px solid #dce4eb;border-radius:5px;padding:12px;margin:10px 0;font-size:13px}.task-placeholder{border-style:dashed;color:#586b79}.task-waiting{background:#f8fafb}.job-workspace button:disabled{background:#e1e7eb;border-color:#c8d1d8;color:#63737e;cursor:not-allowed;opacity:1}.task-pending{color:#775419;font-size:12px}.job-workspace .ops-form{gap:8px 16px}.job-workspace textarea{min-height:65px}.job-workspace .document-columns{gap:18px}.job-workspace .button,.job-workspace button{font-size:13px;padding:9px 12px}.job-workspace .task-preview ul{padding-left:18px;margin:8px 0}
body.ppw-shell #main.job-workspace button:disabled{background:#e1e7eb!important;border-color:#c8d1d8!important;color:#63737e!important;cursor:not-allowed;box-shadow:none;opacity:1}

.job-audit .audit-event { padding: .8rem 0; border-bottom: 1px solid #d9e2e9; }
.job-audit .audit-event:last-child { border-bottom: 0; }
.job-audit .audit-event h2 { font-size: 1rem; margin: 0; }
.job-audit .audit-event p { margin: .3rem 0; }
.job-audit dd { overflow-wrap: anywhere; }

.production-stack{display:flex;flex-direction:column;gap:0}.production-stack>.card{width:100%;box-sizing:border-box}.payment-summary{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.payment-summary strong{font-size:20px}.payment-actions{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.payment-actions p{flex:1;min-width:160px}.payment-documents{list-style:none;padding:0}.payment-documents li{padding:12px 0;border-bottom:1px solid #dce4eb}
