/* Partner presentation only; original form content, controls and field rules stay in shared renderer. */
.pw-client{margin:0 0 24px}.pw-client>div{display:flex;align-items:center;justify-content:space-between;gap:16px}.pw-client h2{font-size:26px;margin:10px 0}.pw-stages{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 22px}.pw-stages li{padding:18px;border:1px solid #d8e4e2;border-radius:10px;background:#f7f9f9;display:grid;gap:8px}.pw-stages small{font-size:12px;color:#627583}.pw-stages .current{background:#e9f4ef;border-color:#91bca9}.pw-stages .locked{opacity:.6}.pw-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #d5e0e5;margin-bottom:24px}.pw-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:15px 12px;color:#344c60;font-weight:650}.pw-tabs button.active{color:#006c58;border-bottom-color:#006c58}.pw-tabs button:disabled{opacity:.45}.pw-tabs small{display:block;font-weight:400;font-size:10px}.pw-records{padding:24px}.pw-records h2{margin-top:0}.pw-nav-title{font-size:11px;letter-spacing:.08em;color:#b8c8d4;padding:22px 20px 9px}.pw-muted{font-size:12px;color:#647787;margin-top:20px}.partner-workflow .juju-profile-summary,.partner-workflow .juju-sidebar-head,.partner-workflow .juju-sidebar-note{display:none}.partner-workflow .juju-profile-workspace{grid-template-columns:1fr}.partner-workflow .juju-profile-sidebar{border:0;background:transparent;padding:0 0 20px}.partner-workflow .juju-profile-tabs{display:flex;flex-wrap:wrap;gap:6px}.partner-workflow .juju-profile-tabs button{width:auto;padding:10px 16px;border-radius:6px;border:1px solid #dbe4e8;background:white}.partner-workflow .juju-profile-tabs button.active{background:#e8f4ef;color:#05634f}.partner-workflow [hidden]{display:none!important}.partner-workflow .juju-field-search{max-width:290px;margin-bottom:12px}.partner-workflow .juju-profile-main{padding:0}.partner-workflow .juju-page-head{padding:20px;background:#fff;border:1px solid #dce4e8;border-radius:9px 9px 0 0}.partner-workflow .juju-section-block{margin-bottom:16px}.partner-workflow .juju-profile-panel{border-radius:0 0 9px 9px}.partner-workflow .juju-field{min-height:0}.partner-workflow .juju-profile-panel p:empty{display:none} .ap-review-priority{border:2px solid #bf3343!important;background:#fff5f5!important;margin-bottom:24px}.ap-review-priority h2{color:#a92334}.ap-review-priority .ap-bar>button{background:#a92334;color:#fff}
@media(max-width:760px){.pw-stages{grid-template-columns:1fr}.pw-client>div{align-items:flex-start}.pw-tabs{gap:0}.pw-tabs button{padding:12px 9px}.pw-records{padding:16px}}

#partner-sidebar [hidden]{display:none!important}.pw-client .status-pill{text-transform:none}.pw-unpaid{background:#fff0d7!important;color:#855b08!important}.pw-paid{background:#e4f3e9;color:#14684b}.partner-workflow .juju-readonly-field{padding:14px 16px;min-height:70px}.partner-workflow .juju-readonly-field dd{margin-top:8px}.partner-workflow .juju-readonly-field dt{line-height:1.5}.partner-workflow .juju-readonly-field.is-question{border-left:3px solid #e0b64f}

/* Grouped Partner forms use a short horizontal section bar, not the shared full-height sidebar. */
.partner-workflow .juju-profile-workspace{display:block;min-height:0}
.partner-workflow .juju-profile-sidebar{height:auto;min-height:0;max-height:none;overflow:visible;position:static;top:auto}
.partner-workflow .juju-profile-tabs{flex-direction:row;align-items:stretch}
.partner-main #pcr-form.partner-workflow .juju-profile-phase1{min-height:0}

.pw-client-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px}
.pw-budget-frame{display:block;width:100%;height:82vh;min-height:680px;border:0;background:#fff}
.pw-document-preview{margin-top:20px}.pw-document-preview iframe{display:block;width:100%;height:76vh;min-height:480px;border:1px solid #d8e4e2;background:#fff}.pw-document-preview img{display:block;max-width:100%;height:auto}
.pw-document-preview[hidden]{display:none!important}
@media(max-width:760px){.pw-client>div{flex-wrap:wrap}.pw-client-actions{justify-content:flex-start}.pw-budget-frame{min-height:600px}}

.pw-pdf-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px;padding:12px;border:1px solid #d8e4e2;background:#f7f9f9}
.pw-pdf-canvas{display:block;width:100%;max-width:960px;height:auto;margin:0 auto;border:1px solid #d8e4e2;background:white}

/* Company identity leads; each surface supplies its single functional heading. */
#workspace-eyebrow{display:none!important}
.workspace-head.pw-company-head{align-items:flex-start;margin-bottom:24px}
.workspace-head.pw-company-head h1{margin:0;font-size:clamp(26px,2.5vw,36px);line-height:1.2;font-weight:700;letter-spacing:-.025em;overflow-wrap:anywhere;text-wrap:balance}
.workspace-head.pw-company-head #workspace-subtitle{display:none}
@media(max-width:760px){.workspace-head.pw-company-head{margin-bottom:20px}.workspace-head.pw-company-head h1{font-size:26px}}

/* Client invoice dates determine display groups; original scoped rows and payment states remain unchanged. */
.pw-invoice-quarter{margin:16px 0;border:1px solid #d9e4e5;border-radius:8px;overflow:hidden;background:#fff}
.pw-invoice-quarter>summary{display:list-item;cursor:pointer;padding:17px 20px;background:#f1f6f4;font-weight:700;color:#244b43}
.pw-invoice-quarter>summary:focus-visible{outline:2px solid #087b68;outline-offset:-3px}
.pw-invoice-count{float:right;font-size:13px;font-weight:500;color:#627583;margin-left:12px}
.pw-invoice-quarter .data-table-wrap{margin:0;border-top:1px solid #d9e4e5}
@media(max-width:760px){.pw-invoice-quarter>summary{padding:14px}.pw-invoice-count{float:none;display:block;margin:5px 0 0 18px}.pw-invoice-quarter .data-table{min-width:700px}}
