.pwc-portal-wrap{max-width:1180px;margin:0 auto;padding:64px 22px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a}.pwc-portal-wrap *{box-sizing:border-box}.pwc-portal-hero,.pwc-project-card,.pwc-summary-card,.pwc-panel,.pwc-access-card{background:#fff;border:1px solid #e2e8f0;box-shadow:0 20px 65px rgba(15,23,42,.08)}.pwc-portal-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:38px;border-radius:28px;background:radial-gradient(circle at top right,rgba(37,99,235,.16),transparent 38%),linear-gradient(135deg,#fff,#f8fbff)}.pwc-eyebrow{display:block;color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.pwc-portal-hero h1{margin:10px 0 10px;font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.045em}.pwc-portal-hero p,.pwc-muted,.pwc-empty p,.pwc-access-card p{color:#64748b}.pwc-logout,.pwc-button{display:inline-flex;align-items:center;justify-content:center;border-radius:13px;padding:13px 18px;text-decoration:none!important;font-weight:850;white-space:nowrap}.pwc-logout{background:#fff;border:1px solid #bfdbfe;color:#1d4ed8!important}.pwc-button{background:#2563eb;color:#fff!important}.pwc-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.pwc-summary-card{border-radius:20px;padding:24px}.pwc-summary-card span{display:block;color:#64748b;font-size:13px;font-weight:750}.pwc-summary-card strong{display:block;margin-top:8px;font-size:34px;letter-spacing:-.04em}.pwc-project-card{border-radius:28px;padding:32px;margin-top:22px}.pwc-project-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.pwc-project-header h2{margin:12px 0 0;font-size:clamp(27px,4vw,42px);letter-spacing:-.035em}.pwc-badge{display:inline-flex;border-radius:999px;padding:7px 11px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:850}.pwc-progress-number{font-size:34px;font-weight:900;color:#1d4ed8}.pwc-progress-track{height:12px;margin:24px 0;background:#e2e8f0;border-radius:999px;overflow:hidden}.pwc-progress-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#1d4ed8,#60a5fa);border-radius:inherit;transition:width 1s cubic-bezier(.2,.8,.2,1)}.pwc-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.pwc-detail-grid>div{padding:18px;border:1px solid #e2e8f0;border-radius:17px;background:#f8fafc}.pwc-detail-grid span{display:block;color:#64748b;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.pwc-detail-grid strong{display:block;margin-top:7px;font-size:15px}.pwc-project-description{margin-top:24px;padding-top:24px;border-top:1px solid #e2e8f0;color:#475569}.pwc-project-columns{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;margin-top:26px}.pwc-subpanel{padding:24px;border:1px solid #e2e8f0;border-radius:20px;background:#fff}.pwc-subpanel h3{margin:0 0 20px;font-size:20px}.pwc-timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px 10px}.pwc-timeline-item{position:relative;display:flex;align-items:center;gap:9px;color:#94a3b8;font-size:12px;font-weight:750}.pwc-timeline-dot{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border:2px solid #cbd5e1;border-radius:50%;background:#fff;flex:0 0 24px;font-size:12px}.pwc-timeline-item.pwc-complete{color:#0f172a}.pwc-timeline-item.pwc-complete .pwc-timeline-dot{border-color:#2563eb;background:#2563eb;color:#fff}.pwc-timeline-item.pwc-current{color:#1d4ed8}.pwc-timeline-item.pwc-current .pwc-timeline-dot{border-color:#2563eb;box-shadow:0 0 0 5px rgba(37,99,235,.12)}.pwc-activity-feed{display:grid;gap:16px}.pwc-activity-item{display:flex;align-items:flex-start;gap:12px}.pwc-activity-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#dcfce7;color:#15803d;font-size:13px;font-weight:900;flex:0 0 28px}.pwc-activity-item small{display:block;color:#94a3b8;margin-bottom:3px}.pwc-activity-item strong{display:block;font-size:14px}.pwc-panel,.pwc-access-card{border-radius:26px;padding:38px;margin-top:22px}.pwc-empty,.pwc-access-card{text-align:center}.pwc-access-card{max-width:620px;margin:40px auto}.pwc-access-card h2{font-size:38px;margin:12px 0}.pwc-access-card .pwc-button{margin-top:10px}@media(max-width:900px){.pwc-project-columns{grid-template-columns:1fr}.pwc-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.pwc-portal-wrap{padding:34px 15px}.pwc-portal-hero{align-items:flex-start;flex-direction:column;padding:27px}.pwc-summary-grid,.pwc-detail-grid{grid-template-columns:1fr}.pwc-project-card{padding:23px}.pwc-project-header{align-items:flex-start}.pwc-progress-number{font-size:28px}.pwc-timeline{grid-template-columns:1fr}}

/* v1.4.0 front-end access foundation */
.pwc-login-shell{max-width:1180px;margin:48px auto;padding:24px;display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:stretch}.pwc-login-brand,.pwc-login-card{border-radius:28px}.pwc-login-brand{padding:64px;background:linear-gradient(145deg,#07182f,#0d2f5f);color:#fff;min-height:520px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 24px 60px rgba(7,24,47,.18)}.pwc-login-brand h1{font-size:clamp(42px,6vw,76px);line-height:.98;margin:14px 0 20px;color:#fff;max-width:760px}.pwc-login-brand p{font-size:18px;line-height:1.7;max-width:620px;color:rgba(255,255,255,.78)}.pwc-login-card{padding:48px;background:#fff;border:1px solid #e6ebf2;box-shadow:0 20px 55px rgba(7,24,47,.1);display:flex;flex-direction:column;justify-content:center}.pwc-login-card h2{font-size:34px;margin:0 0 24px}.pwc-login-card label{display:block;font-weight:700;margin-bottom:8px;color:#10233f}.pwc-login-card input[type=text],.pwc-login-card input[type=password]{width:100%;min-height:50px;border:1px solid #cfd9e8;border-radius:12px;padding:0 14px;font-size:16px;box-sizing:border-box}.pwc-login-card .login-submit{margin:22px 0 12px}.pwc-login-card .button-primary{width:100%;min-height:52px;border:0;border-radius:12px;background:#0d5bd7;color:#fff;font-weight:800;font-size:16px;cursor:pointer}.pwc-forgot-link{font-weight:700;text-decoration:none}.pwc-login-error{padding:12px 14px;border-radius:10px;background:#fff1f1;color:#a61b1b;margin-bottom:18px}
.pwc-agency-shell{max-width:1440px;margin:28px auto;padding:18px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px}.pwc-agency-nav{background:#081a33;color:#fff;border-radius:24px;padding:26px 20px;min-height:760px;position:sticky;top:20px;height:max-content}.pwc-agency-logo{width:48px;height:48px;border-radius:14px;background:#fff;color:#081a33;display:grid;place-items:center;font-weight:900;margin-bottom:16px}.pwc-agency-nav>div:nth-child(2){display:flex;flex-direction:column;gap:3px;margin-bottom:28px}.pwc-agency-nav>div:nth-child(2) span{font-size:12px;text-transform:uppercase;letter-spacing:.15em;color:#91a7c4}.pwc-agency-nav>div:nth-child(2) strong{font-size:18px}.pwc-agency-nav nav{display:grid;gap:8px}.pwc-agency-nav nav a{color:#d9e5f5;text-decoration:none;padding:12px 14px;border-radius:12px;font-weight:700}.pwc-agency-nav nav a:hover,.pwc-agency-nav nav a.is-active{background:rgba(255,255,255,.11);color:#fff}.pwc-agency-main{min-width:0}.pwc-agency-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:20px;padding:18px 8px}.pwc-agency-header h1{font-size:clamp(34px,5vw,58px);line-height:1.05;margin:8px 0 0}.pwc-agency-stats{margin-bottom:20px}.pwc-agency-section-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px}.pwc-agency-section-head h2{margin:5px 0 0}.pwc-agency-project-list{display:grid;gap:10px}.pwc-agency-project-row{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(130px,.6fr) minmax(180px,.8fr);gap:18px;align-items:center;padding:16px 18px;border:1px solid #e6ebf2;border-radius:16px;text-decoration:none;color:inherit;transition:.2s ease}.pwc-agency-project-row:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(7,24,47,.08)}.pwc-agency-project-row>div:first-child{display:flex;flex-direction:column;gap:4px}.pwc-agency-project-row>div:first-child span{color:#66758b;font-size:14px}.pwc-agency-row-progress{display:flex;align-items:center;gap:10px}.pwc-agency-row-progress .pwc-progress-track{flex:1;margin:0}
@media(max-width:900px){.pwc-login-shell{grid-template-columns:1fr}.pwc-login-brand{min-height:380px;padding:42px}.pwc-agency-shell{grid-template-columns:1fr}.pwc-agency-nav{position:static;min-height:auto}.pwc-agency-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))}.pwc-agency-project-row{grid-template-columns:1fr}.pwc-agency-header{flex-direction:column}}
@media(max-width:560px){.pwc-login-shell{padding:10px;margin:16px auto}.pwc-login-brand,.pwc-login-card{padding:28px;border-radius:20px}.pwc-agency-shell{padding:8px;margin:10px auto}.pwc-agency-nav nav{grid-template-columns:1fr}.pwc-agency-section-head{align-items:flex-start;flex-direction:column}}

/* v1.5.0 Front-end CRM and project workspace */
.pwc-agency-brand{display:flex;align-items:center;gap:12px}.pwc-agency-two-col{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(320px,.75fr);gap:24px}.pwc-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pwc-client-card{display:flex;gap:14px;padding:18px;border:1px solid rgba(15,23,42,.1);border-radius:18px;background:#fff}.pwc-client-card h3{margin:0 0 4px}.pwc-client-card p,.pwc-client-card a,.pwc-client-card span,.pwc-client-card small{display:block;margin:3px 0;color:#64748b;text-decoration:none}.pwc-client-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:#0f172a;color:#fff;font-weight:800;flex:0 0 auto}.pwc-form-panel h2,.pwc-project-workspace h2{margin-top:4px}.pwc-front-form{display:grid;gap:16px}.pwc-front-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#334155}.pwc-front-form input,.pwc-front-form select,.pwc-front-form textarea{width:100%;box-sizing:border-box;border:1px solid #dbe3ee;border-radius:12px;background:#fff;padding:12px 13px;font:inherit;color:#0f172a}.pwc-front-form input:focus,.pwc-front-form select:focus,.pwc-front-form textarea:focus{outline:2px solid rgba(37,99,235,.15);border-color:#2563eb}.pwc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pwc-front-notice{margin:0 0 20px;padding:13px 16px;border-radius:12px;background:#ecfdf5;color:#166534;font-weight:700}.pwc-front-notice.is-error{background:#fef2f2;color:#991b1b}.pwc-secondary-button{display:inline-flex;align-items:center;justify-content:center;padding:11px 15px;border:1px solid #dbe3ee;border-radius:12px;text-decoration:none;color:#0f172a;background:#fff;font-weight:700}.pwc-project-workspace{max-width:1100px}.pwc-project-form small{font-weight:400;color:#64748b}
@media (max-width:980px){.pwc-agency-two-col{grid-template-columns:1fr}.pwc-client-grid{grid-template-columns:1fr}.pwc-form-grid{grid-template-columns:1fr}}


/* v1.6.0 Agency Dashboard 2.0 */
.pwc-executive-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:0 0 20px}.pwc-metric-card{padding:22px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;box-shadow:0 14px 35px rgba(15,23,42,.05)}.pwc-metric-card span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.pwc-metric-card strong{display:block;margin:9px 0 4px;font-size:34px;letter-spacing:-.045em}.pwc-metric-card small{color:#94a3b8}.pwc-metric-primary{background:linear-gradient(145deg,#0b1f3a,#123f75);border-color:transparent;color:#fff}.pwc-metric-primary span,.pwc-metric-primary small{color:#bfdbfe}.pwc-agency-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr);gap:20px}.pwc-dashboard-main-column,.pwc-dashboard-side-column{display:grid;align-content:start;gap:20px}.pwc-dashboard-main-column .pwc-panel,.pwc-dashboard-side-column .pwc-panel{margin-top:0}.pwc-quick-actions-panel h2,.pwc-dashboard-side-column>.pwc-panel>h2{margin:6px 0 18px}.pwc-quick-action-grid{display:grid;gap:10px}.pwc-quick-action-grid a{display:block;padding:16px;border:1px solid #e2e8f0;border-radius:15px;text-decoration:none;color:#0f172a;background:#f8fafc;transition:.2s ease}.pwc-quick-action-grid a:hover{transform:translateY(-2px);border-color:#bfdbfe;background:#eff6ff}.pwc-quick-action-grid strong,.pwc-quick-action-grid span{display:block}.pwc-quick-action-grid span{margin-top:3px;color:#64748b;font-size:13px}.pwc-agency-activity-list{display:grid;gap:4px}.pwc-agency-activity-list article{display:flex;align-items:flex-start;gap:12px;padding:14px 4px;border-bottom:1px solid #eef2f7}.pwc-agency-activity-list article:last-child{border-bottom:0}.pwc-agency-activity-list small,.pwc-agency-activity-list strong{display:block}.pwc-agency-activity-list small{margin-bottom:3px;color:#94a3b8}.pwc-launch-list{display:grid}.pwc-launch-list a{display:grid;grid-template-columns:52px 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #eef2f7;text-decoration:none;color:#0f172a}.pwc-launch-list a:last-child{border-bottom:0}.pwc-launch-list span{color:#2563eb;font-weight:850}.pwc-empty-compact{padding:18px 4px!important}.pwc-empty-compact h3{margin-top:0}.pwc-agency-brand>div:last-child{display:flex;flex-direction:column;gap:2px}.pwc-agency-brand>div:last-child span{font-size:11px;text-transform:uppercase;letter-spacing:.13em;color:#91a7c4}.pwc-agency-brand>div:last-child strong{font-size:16px}.pwc-agency-nav{min-height:calc(100vh - 56px)}
@media(max-width:1180px){.pwc-executive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.pwc-agency-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:720px){.pwc-executive-grid{grid-template-columns:1fr}.pwc-metric-card{padding:19px}.pwc-metric-card strong{font-size:30px}}

.pwc-ops-list{display:grid;gap:14px}.pwc-ops-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;border:1px solid #e7eaf0;border-radius:16px;background:#fff}.pwc-ops-row h3{margin:4px 0}.pwc-ops-row p{margin:0;color:#667085}.pwc-ops-row>div:last-child{display:flex;align-items:center;gap:12px}.pwc-portal-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.pwc-file-list,.pwc-message-list{display:grid;gap:10px}.pwc-file-list a,.pwc-file-list div,.pwc-message-list p{padding:12px 14px;border:1px solid #e7eaf0;border-radius:12px;margin:0}.pwc-file-list a{display:flex;justify-content:space-between;text-decoration:none}.pwc-project-form small{font-weight:400;color:#667085}@media(max-width:800px){.pwc-portal-module-grid{grid-template-columns:1fr}.pwc-ops-row{align-items:flex-start;flex-direction:column}.pwc-ops-row>div:last-child{width:100%;justify-content:space-between}}

/* v2.0.1 — Agency OS visual rebuild and theme-conflict protection */
body .pwc-agency-shell,
body .pwc-agency-shell *{box-sizing:border-box}
body .pwc-agency-shell{width:calc(100% - 32px);max-width:1680px;margin:96px auto 36px;padding:0;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#0f172a;line-height:1.45}
body.admin-bar .pwc-agency-shell{margin-top:116px}
body .pwc-agency-main{min-width:0;width:100%;overflow:visible}
body .pwc-agency-nav{position:sticky;top:92px;min-height:calc(100vh - 124px);height:auto;overflow:hidden;border-radius:20px;padding:20px 14px;background:linear-gradient(180deg,#071a33 0%,#0b2446 100%);box-shadow:0 22px 50px rgba(7,24,47,.18)}
body.admin-bar .pwc-agency-nav{top:112px}
body .pwc-agency-brand{padding:2px 5px 20px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}
body .pwc-agency-logo{width:42px;height:42px;margin:0;border-radius:12px;font-size:12px;letter-spacing:.03em;box-shadow:0 8px 22px rgba(0,0,0,.18)}
body .pwc-agency-brand>div:last-child strong{font-size:14px;line-height:1.25;color:#fff}
body .pwc-agency-brand>div:last-child span{font-size:9px;color:#8db4df}
body .pwc-agency-nav nav{gap:4px}
body .pwc-agency-nav nav a{position:relative;display:flex;align-items:center;min-height:42px;padding:10px 12px;border-radius:10px;color:#c8d8eb!important;font-size:13px;line-height:1.2;font-weight:700;transition:background .18s ease,color .18s ease,transform .18s ease}
body .pwc-agency-nav nav a:hover{background:rgba(255,255,255,.08);color:#fff!important;transform:translateX(2px)}
body .pwc-agency-nav nav a.is-active{background:#fff;color:#0a2548!important;box-shadow:0 8px 20px rgba(0,0,0,.16)}
body .pwc-agency-header{min-height:84px;margin:0 0 18px;padding:20px 24px;align-items:center;border:1px solid #e6ebf2;border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 12px 32px rgba(15,23,42,.06)}
body .pwc-agency-header h1{max-width:100%;margin:3px 0 0!important;font-size:clamp(25px,2.4vw,38px)!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#0f172a!important;overflow-wrap:anywhere}
body .pwc-agency-header .pwc-eyebrow{font-size:10px!important;letter-spacing:.14em!important}
body .pwc-agency-header .pwc-logout{padding:10px 14px;border-radius:10px;font-size:13px}
body .pwc-executive-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}
body .pwc-metric-card{min-width:0;padding:18px;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px rgba(15,23,42,.045)}
body .pwc-metric-card span{font-size:10px;line-height:1.25}
body .pwc-metric-card strong{margin:8px 0 3px;font-size:28px!important;line-height:1!important}
body .pwc-metric-card small{display:block;font-size:11px;line-height:1.35}
body .pwc-agency-dashboard-grid{grid-template-columns:minmax(0,1.7fr) minmax(270px,.72fr);gap:18px;align-items:start}
body .pwc-dashboard-main-column,
body .pwc-dashboard-side-column{min-width:0;gap:18px}
body .pwc-agency-shell .pwc-panel{min-width:0;margin:0;padding:24px;border-radius:18px;overflow:hidden;box-shadow:0 12px 32px rgba(15,23,42,.05)}
body .pwc-agency-shell .pwc-panel h2,
body .pwc-agency-shell .pwc-agency-section-head h2,
body .pwc-agency-shell .pwc-quick-actions-panel h2,
body .pwc-agency-shell .pwc-dashboard-side-column>.pwc-panel>h2{max-width:100%;margin:3px 0 0!important;font-size:clamp(22px,2.1vw,32px)!important;line-height:1.08!important;letter-spacing:-.03em!important;color:#0f172a!important;overflow-wrap:anywhere}
body .pwc-agency-section-head{min-width:0;margin-bottom:16px;align-items:flex-end}
body .pwc-agency-section-head>div{min-width:0}
body .pwc-agency-section-head .pwc-button{flex:0 0 auto;padding:10px 14px;border-radius:10px;font-size:12px}
body .pwc-agency-project-row{grid-template-columns:minmax(170px,1.2fr) minmax(110px,.55fr) minmax(150px,.75fr);gap:14px;padding:14px 15px;border-radius:13px;background:#fff}
body .pwc-agency-project-row strong{font-size:14px;line-height:1.3}
body .pwc-agency-project-row>div:first-child span,
body .pwc-agency-row-progress small{font-size:11px}
body .pwc-agency-row-progress .pwc-progress-track{height:8px}
body .pwc-agency-shell .pwc-badge{padding:6px 9px;font-size:10px;line-height:1.1}
body .pwc-quick-actions-panel{position:relative}
body .pwc-quick-action-grid a{padding:13px 14px;border-radius:12px}
body .pwc-quick-action-grid strong{font-size:13px}
body .pwc-quick-action-grid span{font-size:11px;line-height:1.4}
body .pwc-agency-activity-list article{padding:12px 2px}
body .pwc-agency-activity-list strong{font-size:13px;line-height:1.4}
body .pwc-agency-activity-list small{font-size:10px}
body .pwc-launch-list a{grid-template-columns:44px minmax(0,1fr);padding:12px 0;font-size:12px}
body .pwc-empty-compact{padding:12px 2px!important;text-align:left}
body .pwc-empty-compact h3{font-size:16px!important;line-height:1.25!important}
body .pwc-empty-compact p{font-size:12px}
body .pwc-agency-two-col{grid-template-columns:minmax(0,1.45fr) minmax(300px,.7fr);gap:18px}
body .pwc-client-grid{gap:12px}
body .pwc-client-card{border-radius:14px;padding:15px}
body .pwc-client-card h3{font-size:16px!important;line-height:1.25!important}
body .pwc-front-form input,
body .pwc-front-form select,
body .pwc-front-form textarea{font-size:14px}
body .pwc-ops-row{border-radius:14px;padding:16px}
body .pwc-ops-row h3{font-size:16px!important;line-height:1.25!important}
body .pwc-ops-row p{font-size:12px}
@media(max-width:1280px){body .pwc-executive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body .pwc-agency-dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(250px,.72fr)}}
@media(max-width:1040px){body .pwc-agency-shell{grid-template-columns:190px minmax(0,1fr)}body .pwc-agency-dashboard-grid{grid-template-columns:1fr}body .pwc-dashboard-side-column{grid-template-columns:repeat(2,minmax(0,1fr))}body .pwc-dashboard-side-column .pwc-quick-actions-panel{grid-column:1/-1}}
@media(max-width:820px){body .pwc-agency-shell,body.admin-bar .pwc-agency-shell{width:calc(100% - 20px);margin-top:82px;grid-template-columns:1fr}body .pwc-agency-nav,body.admin-bar .pwc-agency-nav{position:relative;top:auto;min-height:auto;padding:16px}body .pwc-agency-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))}body .pwc-agency-header{padding:18px}body .pwc-executive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .pwc-dashboard-side-column{grid-template-columns:1fr}body .pwc-agency-two-col{grid-template-columns:1fr}}
@media(max-width:560px){body .pwc-agency-shell,body.admin-bar .pwc-agency-shell{margin-top:72px}body .pwc-agency-nav nav{grid-template-columns:1fr}body .pwc-agency-header{align-items:flex-start;flex-direction:column}body .pwc-executive-grid{grid-template-columns:1fr}body .pwc-agency-shell .pwc-panel{padding:18px}body .pwc-agency-project-row{grid-template-columns:1fr}body .pwc-agency-section-head{align-items:flex-start}}


/* v2.0.2 — Smooth in-dashboard navigation */
body .pwc-agency-shell{position:relative}
body .pwc-agency-shell::after{content:"";position:fixed;inset:0;z-index:9998;background:rgba(248,250,252,.45);backdrop-filter:blur(1px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility .16s ease}
body .pwc-agency-shell.is-loading::after{opacity:1;visibility:visible}
body .pwc-agency-shell.is-loading .pwc-agency-main{opacity:.55;transform:translateY(3px);pointer-events:none}
body .pwc-agency-main{transition:opacity .18s ease,transform .18s ease}
body .pwc-agency-shell.has-transitioned .pwc-agency-main{animation:pwcAgencySectionIn .24s ease both}
body .pwc-agency-nav nav a.is-active{cursor:default}
@keyframes pwcAgencySectionIn{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){body .pwc-agency-shell::after,body .pwc-agency-main{transition:none}body .pwc-agency-shell.has-transitioned .pwc-agency-main{animation:none}}

/* 2.1.0 client communication workspace */
.pwc-client-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.pwc-client-action-grid .pwc-subpanel{margin:0}.pwc-client-action-grid textarea{resize:vertical}.pwc-front-notice{margin:0 0 18px;padding:13px 16px;border-radius:12px;background:#eaf8f0;color:#17643b;font-weight:700}.pwc-front-notice.is-error{background:#fff0f0;color:#9b2525}@media(max-width:760px){.pwc-client-action-grid{grid-template-columns:1fr}}

/* v2.2.0 — Premium visual polish */
:root{--pwc-navy:#071a33;--pwc-navy-2:#0d2748;--pwc-blue:#1967d2;--pwc-blue-soft:#eaf2ff;--pwc-ink:#10213a;--pwc-muted:#6d7d93;--pwc-line:#e5ebf3;--pwc-canvas:#f4f7fb;--pwc-success:#159a63;--pwc-shadow:0 18px 50px rgba(16,33,58,.08)}
body .pwc-agency-shell,body .pwc-portal-wrap,body .pwc-login-shell{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body .pwc-agency-shell{max-width:1540px;width:calc(100% - 34px);gap:22px;padding:0;margin-top:104px;margin-bottom:42px;background:transparent}
body.admin-bar .pwc-agency-shell{margin-top:126px}
body .pwc-agency-nav{background:linear-gradient(180deg,var(--pwc-navy),#0a2241 72%,#0d2b51);border:1px solid rgba(255,255,255,.06);border-radius:22px;padding:20px 14px;box-shadow:0 22px 60px rgba(5,24,49,.18);min-height:calc(100vh - 150px);top:104px;overflow:hidden}
body.admin-bar .pwc-agency-nav{top:126px}
body .pwc-agency-brand{padding:4px 8px 20px;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.1)}
body .pwc-agency-logo{width:42px;height:42px;margin:0;border-radius:12px;background:linear-gradient(145deg,#fff,#dce8fa);box-shadow:0 8px 18px rgba(0,0,0,.18);font-size:12px;letter-spacing:.04em}
body .pwc-agency-brand div:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
body .pwc-agency-brand span{color:#8ea6c6;font-size:10px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
body .pwc-agency-brand strong{color:#fff;font-size:14px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .pwc-agency-nav nav{gap:5px;padding-top:10px}
body .pwc-agency-nav nav a{position:relative;display:flex;align-items:center;gap:11px;min-height:42px;padding:10px 11px 10px 42px;border-radius:11px;color:#c5d4e8!important;font-size:12px;font-weight:740;letter-spacing:.005em;transition:background .18s ease,color .18s ease,transform .18s ease}
body .pwc-agency-nav nav a::before{position:absolute;left:13px;width:19px;text-align:center;font-size:15px;opacity:.9}
body .pwc-agency-nav nav a:nth-child(1)::before{content:"⌂"}body .pwc-agency-nav nav a:nth-child(2)::before{content:"◉"}body .pwc-agency-nav nav a:nth-child(3)::before{content:"▦"}body .pwc-agency-nav nav a:nth-child(4)::before{content:"＋"}body .pwc-agency-nav nav a:nth-child(5)::before{content:"◇"}body .pwc-agency-nav nav a:nth-child(6)::before{content:"▤"}body .pwc-agency-nav nav a:nth-child(7)::before{content:"$"}body .pwc-agency-nav nav a:nth-child(8)::before{content:"⚙"}body .pwc-agency-nav nav a:nth-child(9)::before{content:"↗"}
body .pwc-agency-nav nav a:hover{background:rgba(255,255,255,.08);color:#fff!important;transform:translateX(2px)}
body .pwc-agency-nav nav a.is-active{background:linear-gradient(90deg,rgba(48,125,230,.34),rgba(48,125,230,.14));color:#fff!important;box-shadow:inset 3px 0 0 #67a7ff}
body .pwc-agency-main{background:var(--pwc-canvas);border:1px solid var(--pwc-line);border-radius:22px;padding:22px;box-shadow:0 16px 50px rgba(16,33,58,.06);min-height:760px}
body .pwc-agency-header{position:relative;align-items:center;margin:0 0 20px;padding:6px 2px 18px;border-bottom:1px solid var(--pwc-line)}
body .pwc-agency-header h1{margin:5px 0 0!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.06!important;letter-spacing:-.035em!important;color:var(--pwc-ink)!important}
body .pwc-agency-header .pwc-eyebrow{font-size:10px;letter-spacing:.15em}
body .pwc-logout{padding:10px 14px!important;border:1px solid #d6e0ed!important;border-radius:10px!important;background:#fff!important;color:#274363!important;box-shadow:0 5px 16px rgba(16,33,58,.04);font-size:12px!important}
body .pwc-logout:hover{border-color:#aac0de!important;background:#f9fbfe!important}
body .pwc-executive-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}
body .pwc-executive-card{position:relative;min-height:128px;padding:18px;border:1px solid var(--pwc-line);border-radius:16px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 10px 28px rgba(16,33,58,.045);overflow:hidden}
body .pwc-executive-card::after{content:"";position:absolute;width:72px;height:72px;right:-24px;top:-24px;border-radius:50%;background:rgba(25,103,210,.07)}
body .pwc-executive-card span{color:var(--pwc-muted);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
body .pwc-executive-card strong{display:block;margin-top:14px;font-size:30px;line-height:1;color:var(--pwc-ink);letter-spacing:-.05em}
body .pwc-executive-card small{display:block;margin-top:9px;color:#8593a6;font-size:10px;line-height:1.35}
body .pwc-agency-dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(270px,.72fr);gap:16px}
body .pwc-agency-shell .pwc-panel{border:1px solid var(--pwc-line);border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(16,33,58,.045);padding:20px}
body .pwc-agency-shell .pwc-panel:hover{box-shadow:0 14px 34px rgba(16,33,58,.065)}
body .pwc-agency-section-head{padding-bottom:14px;border-bottom:1px solid #eef2f7}
body .pwc-agency-shell .pwc-panel h2,body .pwc-agency-shell .pwc-agency-section-head h2,body .pwc-agency-shell .pwc-quick-actions-panel h2,body .pwc-agency-shell .pwc-dashboard-side-column>.pwc-panel>h2{font-size:clamp(19px,1.75vw,27px)!important;color:var(--pwc-ink)!important}
body .pwc-button,body .pwc-secondary-button{min-height:40px;border-radius:10px!important;font-size:12px!important;font-weight:800!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
body .pwc-button{background:linear-gradient(135deg,#1769d3,#0e57b9)!important;box-shadow:0 8px 18px rgba(25,103,210,.2)}
body .pwc-button:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(25,103,210,.26)}
body .pwc-secondary-button{background:#f3f7fc!important;color:#244668!important;border:1px solid #dce6f2!important;padding:10px 13px!important;text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center}
body .pwc-agency-project-list{gap:8px}
body .pwc-agency-project-row{border-color:#e7edf4;border-radius:12px;padding:13px 14px;box-shadow:none}
body .pwc-agency-project-row:hover{border-color:#c8d8ec;box-shadow:0 10px 24px rgba(16,33,58,.06);transform:translateY(-1px)}
body .pwc-agency-row-progress .pwc-progress-track,body .pwc-progress-track{background:#e7edf5}
body .pwc-progress-track span{background:linear-gradient(90deg,#1769d3,#65a2f4)}
body .pwc-badge{background:var(--pwc-blue-soft)!important;color:#1b5ba8!important;border:1px solid #d4e5fb}
body .pwc-quick-action-grid{gap:8px}
body .pwc-quick-action-grid a{border:1px solid #e4ebf3;background:#fbfdff}
body .pwc-quick-action-grid a:hover{background:#f2f7fe;border-color:#c9daf0;transform:translateY(-1px)}
body .pwc-front-notice{border:1px solid #cdebdc;box-shadow:0 8px 22px rgba(21,154,99,.06)}
body .pwc-client-card,body .pwc-ops-row,body .pwc-subpanel{border-color:var(--pwc-line);box-shadow:0 8px 22px rgba(16,33,58,.035)}
body .pwc-client-avatar{background:linear-gradient(145deg,#0b2a4d,#1769d3);box-shadow:0 8px 18px rgba(13,39,72,.18)}
body .pwc-front-form label{font-size:12px;color:#334b68;font-weight:800}
body .pwc-front-form input,body .pwc-front-form select,body .pwc-front-form textarea{border:1px solid #d9e3ef!important;border-radius:10px!important;background:#fff!important;box-shadow:inset 0 1px 2px rgba(16,33,58,.03);outline:none;transition:border .16s ease,box-shadow .16s ease}
body .pwc-front-form input:focus,body .pwc-front-form select:focus,body .pwc-front-form textarea:focus{border-color:#6ba1e7!important;box-shadow:0 0 0 3px rgba(25,103,210,.11)!important}
body .pwc-login-shell{margin-top:96px}
body .pwc-login-brand{background:radial-gradient(circle at 82% 18%,rgba(80,151,244,.22),transparent 26%),linear-gradient(145deg,#07182f,#0d2f5f)}
body .pwc-login-card{border-color:var(--pwc-line);box-shadow:var(--pwc-shadow)}
body .pwc-portal-wrap{margin-top:76px}
body .pwc-portal-hero{border-color:var(--pwc-line);box-shadow:var(--pwc-shadow)}
body .pwc-project-card,body .pwc-summary-card{border-color:var(--pwc-line);box-shadow:0 12px 34px rgba(16,33,58,.055)}
@media(max-width:1280px){body .pwc-executive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1040px){body .pwc-agency-shell{grid-template-columns:200px minmax(0,1fr)}body .pwc-executive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){body .pwc-agency-shell,body.admin-bar .pwc-agency-shell{width:calc(100% - 18px);margin-top:84px}body .pwc-agency-main{padding:15px;border-radius:18px}body .pwc-agency-nav{border-radius:18px}body .pwc-agency-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))}body .pwc-agency-nav nav a{padding-left:40px}body .pwc-login-shell{margin-top:72px}body .pwc-portal-wrap{margin-top:58px}}
@media(max-width:560px){body .pwc-agency-main{padding:12px}body .pwc-executive-grid{grid-template-columns:1fr}body .pwc-agency-nav nav{grid-template-columns:1fr}body .pwc-agency-header{align-items:flex-start}body .pwc-agency-header h1{font-size:28px!important}body .pwc-login-brand h1{font-size:40px!important}}

/* v2.3.0 — Full-width Agency OS application overhaul */
body.pwc-agency-app{background:#eef3f8!important}
body.pwc-agency-app #page,
body.pwc-agency-app .site,
body.pwc-agency-app .site-content,
body.pwc-agency-app .content-area,
body.pwc-agency-app .entry-content,
body.pwc-agency-app main,
body.pwc-agency-app article{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
body.pwc-agency-app .entry-header,
body.pwc-agency-app .page-header,
body.pwc-agency-app .entry-title{display:none!important}
body.pwc-agency-app .pwc-agency-shell{max-width:none!important;width:100%!important;min-height:calc(100vh - 32px);margin:0!important;padding:0!important;gap:0!important;grid-template-columns:224px minmax(0,1fr)!important;background:#eef3f8!important}
body.admin-bar.pwc-agency-app .pwc-agency-shell{min-height:calc(100vh - 32px)}
body.pwc-agency-app .pwc-agency-nav{position:sticky!important;top:0!important;align-self:start;height:100vh!important;min-height:100vh!important;border-radius:0!important;border:0!important;padding:22px 14px!important;box-shadow:12px 0 34px rgba(6,24,48,.13)!important;overflow-y:auto!important;z-index:20}
body.admin-bar.pwc-agency-app .pwc-agency-nav{top:32px!important;height:calc(100vh - 32px)!important;min-height:calc(100vh - 32px)!important}
body.pwc-agency-app .pwc-agency-brand{padding:2px 8px 22px!important;margin-bottom:10px!important}
body.pwc-agency-app .pwc-agency-logo{width:38px!important;height:38px!important;border-radius:11px!important}
body.pwc-agency-app .pwc-agency-brand strong{font-size:13px!important}
body.pwc-agency-app .pwc-agency-nav nav{gap:4px!important}
body.pwc-agency-app .pwc-agency-nav nav a{min-height:44px!important;padding:11px 12px 11px 42px!important;border-radius:10px!important;font-size:12.5px!important}
body.pwc-agency-app .pwc-agency-main{min-height:100vh!important;border:0!important;border-radius:0!important;background:#f5f8fc!important;padding:28px clamp(22px,3vw,48px) 46px!important;box-shadow:none!important}
body.pwc-agency-app .pwc-agency-header{position:sticky!important;top:0!important;z-index:10!important;margin:-28px calc(clamp(22px,3vw,48px) * -1) 26px!important;padding:20px clamp(22px,3vw,48px)!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(16px);border-bottom:1px solid #dfe7f0!important;box-shadow:0 8px 24px rgba(16,33,58,.045)!important}
body.admin-bar.pwc-agency-app .pwc-agency-header{top:32px!important}
body.pwc-agency-app .pwc-agency-header h1{font-size:clamp(26px,2.4vw,38px)!important;max-width:780px!important}
body.pwc-agency-app .pwc-executive-grid{grid-template-columns:repeat(5,minmax(150px,1fr))!important;gap:14px!important;margin-bottom:22px!important}
body.pwc-agency-app .pwc-executive-card{min-height:136px!important;padding:20px!important;border-radius:18px!important;box-shadow:0 10px 26px rgba(15,40,70,.045)!important}
body.pwc-agency-app .pwc-executive-card:first-child{background:linear-gradient(145deg,#0b2d55,#174f8d)!important;border-color:#174f8d!important}
body.pwc-agency-app .pwc-executive-card:first-child span,
body.pwc-agency-app .pwc-executive-card:first-child strong,
body.pwc-agency-app .pwc-executive-card:first-child small{color:#fff!important}
body.pwc-agency-app .pwc-executive-card strong{font-size:34px!important}
body.pwc-agency-app .pwc-agency-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(300px,.72fr)!important;gap:20px!important;align-items:start!important}
body.pwc-agency-app .pwc-agency-shell .pwc-panel{padding:22px!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(16,33,58,.04)!important}
body.pwc-agency-app .pwc-dashboard-side-column{display:grid!important;gap:20px!important}
body.pwc-agency-app .pwc-quick-action-grid a{min-height:74px!important;padding:15px!important;border-radius:13px!important}
body.pwc-agency-app .pwc-agency-project-row{grid-template-columns:minmax(240px,1.15fr) minmax(130px,.55fr) minmax(190px,.8fr)!important;padding:15px 16px!important}
body.pwc-agency-app .pwc-front-form input,
body.pwc-agency-app .pwc-front-form select{min-height:46px!important}
body.pwc-agency-app .pwc-front-form textarea{min-height:120px!important}
body.pwc-agency-app .pwc-client-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.pwc-agency-app .pwc-agency-two-col{grid-template-columns:minmax(0,1.5fr) minmax(340px,.65fr)!important}
@media(max-width:1320px){body.pwc-agency-app .pwc-executive-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.pwc-agency-app .pwc-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1020px){body.pwc-agency-app .pwc-agency-shell{grid-template-columns:188px minmax(0,1fr)!important}body.pwc-agency-app .pwc-agency-dashboard-grid,body.pwc-agency-app .pwc-agency-two-col{grid-template-columns:1fr!important}body.pwc-agency-app .pwc-executive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:780px){body.pwc-agency-app .pwc-agency-shell{display:block!important}body.pwc-agency-app .pwc-agency-nav,body.admin-bar.pwc-agency-app .pwc-agency-nav{position:relative!important;top:0!important;width:100%!important;height:auto!important;min-height:0!important;padding:14px!important}body.pwc-agency-app .pwc-agency-brand{padding-bottom:14px!important}body.pwc-agency-app .pwc-agency-nav nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}body.pwc-agency-app .pwc-agency-main{min-height:0!important;padding:18px 14px 32px!important}body.pwc-agency-app .pwc-agency-header,body.admin-bar.pwc-agency-app .pwc-agency-header{position:relative!important;top:0!important;margin:-18px -14px 20px!important;padding:18px 14px!important}body.pwc-agency-app .pwc-client-grid{grid-template-columns:1fr!important}}
@media(max-width:520px){body.pwc-agency-app .pwc-agency-nav nav{grid-template-columns:1fr!important}body.pwc-agency-app .pwc-executive-grid{grid-template-columns:1fr!important}body.pwc-agency-app .pwc-agency-header{align-items:flex-start!important}body.pwc-agency-app .pwc-agency-project-row{grid-template-columns:1fr!important}}

/* v2.4.0 — Standalone Agency OS shell */
html:has(body.pwc-agency-standalone),body.pwc-agency-standalone{margin:0!important;background:#f4f7fb!important;overflow-x:hidden}
body.pwc-agency-standalone *{box-sizing:border-box}
body.pwc-agency-standalone #pwc-agency-app-root{min-height:100vh;width:100%}
body.pwc-agency-standalone .pwc-agency-shell{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:0!important;gap:0!important;background:#f4f7fb!important}
body.pwc-agency-standalone .pwc-agency-nav{position:sticky!important;top:0!important;height:100vh!important;min-height:100vh!important;border-radius:0!important;padding:24px 16px!important;overflow-y:auto!important;box-shadow:10px 0 30px rgba(7,24,47,.11)!important;z-index:30}
body.admin-bar.pwc-agency-standalone .pwc-agency-nav{top:32px!important;height:calc(100vh - 32px)!important;min-height:calc(100vh - 32px)!important}
body.pwc-agency-standalone .pwc-agency-main{width:100%!important;max-width:none!important;min-width:0!important;min-height:100vh!important;margin:0!important;padding:0 32px 48px!important;border:0!important;border-radius:0!important;background:#f4f7fb!important;box-shadow:none!important}
body.pwc-agency-standalone .pwc-agency-header{position:sticky!important;top:0!important;z-index:20!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:auto!important;margin:0 -32px 24px!important;padding:20px 32px!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e1e8f0!important;box-shadow:0 6px 22px rgba(15,35,60,.045)!important;backdrop-filter:blur(14px)}
body.admin-bar.pwc-agency-standalone .pwc-agency-header{top:32px!important}
body.pwc-agency-standalone .pwc-agency-header h1{margin:5px 0 0!important;font-size:clamp(28px,2.4vw,42px)!important;line-height:1.05!important;letter-spacing:-.035em!important;white-space:normal!important}
body.pwc-agency-standalone .pwc-executive-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:14px!important;width:100%!important;margin:0 0 22px!important}
body.pwc-agency-standalone .pwc-metric-card{min-width:0!important;min-height:126px!important;padding:18px!important;border-radius:16px!important;overflow:hidden!important}
body.pwc-agency-standalone .pwc-metric-card span,body.pwc-agency-standalone .pwc-metric-card small{white-space:normal!important;overflow-wrap:anywhere!important}
body.pwc-agency-standalone .pwc-metric-card strong{font-size:32px!important;line-height:1!important}
body.pwc-agency-standalone .pwc-agency-dashboard-grid{display:grid!important;grid-template-columns:minmax(0,1.7fr) minmax(320px,.75fr)!important;gap:20px!important;width:100%!important;align-items:start!important}
body.pwc-agency-standalone .pwc-dashboard-main-column,body.pwc-agency-standalone .pwc-dashboard-side-column{min-width:0!important;display:grid!important;gap:20px!important}
body.pwc-agency-standalone .pwc-panel{width:100%!important;min-width:0!important;margin:0!important;padding:22px!important;border-radius:18px!important}
body.pwc-agency-standalone .pwc-agency-section-head{min-width:0!important}
body.pwc-agency-standalone .pwc-agency-section-head>div{min-width:0!important}
body.pwc-agency-standalone .pwc-agency-section-head h2,body.pwc-agency-standalone .pwc-panel h2{font-size:clamp(22px,2vw,30px)!important;line-height:1.08!important;letter-spacing:-.025em!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
body.pwc-agency-standalone .pwc-agency-project-row{grid-template-columns:minmax(220px,1.25fr) minmax(120px,.5fr) minmax(170px,.72fr)!important}
body.pwc-agency-standalone .pwc-client-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.pwc-agency-standalone .pwc-agency-two-col{grid-template-columns:minmax(0,1.55fr) minmax(330px,.7fr)!important}
@media(max-width:1280px){body.pwc-agency-standalone .pwc-executive-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.pwc-agency-standalone .pwc-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1024px){body.pwc-agency-standalone .pwc-agency-shell{grid-template-columns:200px minmax(0,1fr)!important}body.pwc-agency-standalone .pwc-agency-main{padding-left:22px!important;padding-right:22px!important}body.pwc-agency-standalone .pwc-agency-header{margin-left:-22px!important;margin-right:-22px!important;padding-left:22px!important;padding-right:22px!important}body.pwc-agency-standalone .pwc-agency-dashboard-grid,body.pwc-agency-standalone .pwc-agency-two-col{grid-template-columns:1fr!important}}
@media(max-width:782px){body.admin-bar.pwc-agency-standalone .pwc-agency-nav,body.admin-bar.pwc-agency-standalone .pwc-agency-header{top:46px!important}body.pwc-agency-standalone .pwc-agency-shell{display:block!important}body.pwc-agency-standalone .pwc-agency-nav,body.admin-bar.pwc-agency-standalone .pwc-agency-nav{position:relative!important;top:0!important;width:100%!important;height:auto!important;min-height:0!important}body.pwc-agency-standalone .pwc-agency-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.pwc-agency-standalone .pwc-agency-main{padding:0 14px 32px!important}body.pwc-agency-standalone .pwc-agency-header,body.admin-bar.pwc-agency-standalone .pwc-agency-header{position:relative!important;top:0!important;margin:0 -14px 18px!important;padding:18px 14px!important}body.pwc-agency-standalone .pwc-executive-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.pwc-agency-standalone .pwc-client-grid{grid-template-columns:1fr!important}}
@media(max-width:520px){body.pwc-agency-standalone .pwc-agency-nav nav,body.pwc-agency-standalone .pwc-executive-grid{grid-template-columns:1fr!important}body.pwc-agency-standalone .pwc-agency-header{align-items:flex-start!important;flex-direction:column!important}body.pwc-agency-standalone .pwc-agency-project-row{grid-template-columns:1fr!important}}


/* v2.4.1 — Separate welcome container from dashboard content */
body.pwc-agency-standalone .pwc-agency-header{
  position:sticky!important;
  top:16px!important;
  margin:18px 0 28px!important;
  padding:22px 24px!important;
  border:1px solid #e1e8f0!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(15,35,60,.06)!important;
}
body.admin-bar.pwc-agency-standalone .pwc-agency-header{top:48px!important}
body.pwc-agency-standalone .pwc-executive-grid{margin-top:0!important}
@media(max-width:782px){
  body.pwc-agency-standalone .pwc-agency-header,
  body.admin-bar.pwc-agency-standalone .pwc-agency-header{
    position:relative!important;
    top:0!important;
    margin:14px 0 22px!important;
    padding:18px!important;
  }
}

/* v2.4.2 — Guaranteed visual separation below welcome card */
body.pwc-agency-standalone .pwc-agency-header{
  margin:18px 0 0!important;
}
body.pwc-agency-standalone .pwc-agency-header-gap{
  display:block!important;
  width:100%!important;
  height:26px!important;
  min-height:26px!important;
  flex:0 0 26px!important;
}
body.pwc-agency-standalone .pwc-agency-header-gap + .pwc-front-notice{
  margin-top:0!important;
}
@media(max-width:782px){
  body.pwc-agency-standalone .pwc-agency-header{margin:14px 0 0!important}
  body.pwc-agency-standalone .pwc-agency-header-gap{height:20px!important;min-height:20px!important}
}


/* v2.4.3 — visible separation and cache-busted stylesheet */
body.pwc-agency-standalone .pwc-agency-header{
  position:relative!important;
  top:auto!important;
  margin:18px 0 0!important;
  border-radius:18px!important;
}
body.admin-bar.pwc-agency-standalone .pwc-agency-header{top:auto!important}
body.pwc-agency-standalone .pwc-agency-header-gap{
  display:block!important;
  height:24px!important;
  min-height:24px!important;
  margin:0 -32px 0!important;
  width:calc(100% + 64px)!important;
  background:#edf3f8!important;
  border-top:1px solid #e3eaf2!important;
  border-bottom:1px solid #e3eaf2!important;
}
body.pwc-agency-standalone .pwc-executive-grid{margin-top:24px!important}
@media(max-width:1024px){
  body.pwc-agency-standalone .pwc-agency-header-gap{margin-left:-22px!important;margin-right:-22px!important;width:calc(100% + 44px)!important}
}
@media(max-width:782px){
  body.pwc-agency-standalone .pwc-agency-header-gap{margin-left:-14px!important;margin-right:-14px!important;width:calc(100% + 28px)!important;height:18px!important;min-height:18px!important}
  body.pwc-agency-standalone .pwc-executive-grid{margin-top:18px!important}
}

/* Agency OS 3.0 final controls */
.pwc-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 24px;padding:14px 16px;background:#fff;border:1px solid rgba(15,23,42,.10);border-radius:16px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.pwc-toolbar label{flex:1;min-width:240px;margin:0}.pwc-toolbar input,.pwc-toolbar select{width:100%;min-height:42px;margin:0;border:1px solid #d8e0ea;border-radius:10px;background:#f8fafc;padding:9px 12px;font:inherit}.pwc-toolbar select{width:auto;min-width:190px}.pwc-text-link{font-weight:700;text-decoration:none;color:#3758f9}.pwc-settings-panel{max-width:1100px}.pwc-settings-status{display:grid;gap:8px;margin-top:24px;padding:20px;border-radius:14px;background:#f8fafc;border:1px solid #e6ebf2}.pwc-settings-status strong{font-size:16px}.pwc-settings-status span{color:#5b6472}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.pwc-toolbar{align-items:stretch}.pwc-toolbar label,.pwc-toolbar select,.pwc-toolbar button{width:100%;min-width:0}}

/* Client portal logout correction — v3.0.1 */
body .pwc-portal-hero .pwc-client-logout{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:11px 16px!important;
  border:1px solid #fecaca!important;
  border-radius:12px!important;
  background:#fff1f2!important;
  color:#b42318!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
}
body .pwc-portal-hero .pwc-client-logout:hover,
body .pwc-portal-hero .pwc-client-logout:focus{
  border-color:#fda4af!important;
  background:#ffe4e6!important;
  color:#9f1239!important;
}
body .pwc-portal-hero .pwc-client-logout span{
  font-size:16px;
  line-height:1;
}
@media(max-width:720px){
  body .pwc-portal-hero .pwc-client-logout{width:100%!important;}
}

/* Client portal logout component replacement — v3.0.2 */
body .pwc-portal-hero a.pwc-client-logout-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  column-gap:9px!important;
  width:auto!important;
  min-width:118px!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:0 18px!important;
  border:1px solid #fecaca!important;
  border-radius:12px!important;
  background:#fff1f2!important;
  color:#b42318!important;
  box-shadow:none!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:44px!important;
  letter-spacing:0!important;
  text-indent:0!important;
  text-transform:none!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
body .pwc-portal-hero a.pwc-client-logout-button:hover,
body .pwc-portal-hero a.pwc-client-logout-button:focus{
  border-color:#fda4af!important;
  background:#ffe4e6!important;
  color:#9f1239!important;
  text-decoration:none!important;
}
body .pwc-portal-hero .pwc-client-logout-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  padding:0!important;
  font-size:17px!important;
  line-height:18px!important;
  flex:0 0 18px!important;
}
body .pwc-portal-hero .pwc-client-logout-label{
  display:inline-block!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  white-space:nowrap!important;
}
@media(max-width:720px){
  body .pwc-portal-hero a.pwc-client-logout-button{
    width:100%!important;
    min-width:0!important;
  }
}

/* v3.0.3 unified agency and client login center */
body .pwc-login-center{width:min(1120px,calc(100% - 36px));margin:96px auto 48px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.72fr);gap:24px;align-items:stretch;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body .pwc-login-intro,body .pwc-login-card-unified{border-radius:26px;box-sizing:border-box}
body .pwc-login-intro{padding:54px;background:radial-gradient(circle at 86% 12%,rgba(74,148,244,.22),transparent 28%),linear-gradient(145deg,#07182f,#0d2f5f);color:#fff;box-shadow:0 26px 70px rgba(7,24,47,.18)}
body .pwc-login-intro h1{margin:12px 0 14px;color:#fff;font-size:clamp(42px,6vw,70px);line-height:1;letter-spacing:-.045em}
body .pwc-login-intro>p{max-width:620px;margin:0;color:rgba(255,255,255,.76);font-size:17px;line-height:1.7}
body .pwc-access-choice-grid{display:grid;gap:12px;margin-top:40px}
body .pwc-access-choice{display:flex;align-items:center;gap:15px;padding:17px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.07);color:#fff!important;text-decoration:none!important;transition:transform .18s ease,border-color .18s ease,background .18s ease}
body .pwc-access-choice:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.42);background:rgba(255,255,255,.11)}
body .pwc-access-choice.is-selected{border-color:#79b5ff;background:rgba(37,99,235,.27);box-shadow:inset 0 0 0 1px rgba(121,181,255,.24)}
body .pwc-access-choice-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:#fff;color:#0d4eaa;font-weight:900}
body .pwc-access-choice strong,body .pwc-access-choice small{display:block}
body .pwc-access-choice strong{font-size:15px}
body .pwc-access-choice small{margin-top:3px;color:rgba(255,255,255,.68);font-size:12px;line-height:1.45}
body .pwc-login-card-unified{padding:44px;background:#fff;border:1px solid #dfe7f2;box-shadow:0 20px 55px rgba(7,24,47,.1);display:flex;flex-direction:column;justify-content:center}
body .pwc-login-card-unified .pwc-login-type{color:#2563eb;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
body .pwc-login-card-unified h2{margin:8px 0 8px;font-size:34px;letter-spacing:-.03em}
body .pwc-login-help{margin:0 0 24px;color:#64748b;line-height:1.55}
body .pwc-login-card-unified label{display:block;margin-bottom:8px;color:#10233f;font-weight:750}
body .pwc-login-card-unified input[type=text],body .pwc-login-card-unified input[type=password]{width:100%;min-height:50px;padding:0 14px;border:1px solid #cfd9e8;border-radius:11px;background:#fff;font-size:16px;box-sizing:border-box}
body .pwc-login-card-unified input:focus{outline:0;border-color:#4d8ee8;box-shadow:0 0 0 4px rgba(37,99,235,.1)}
body .pwc-login-card-unified .login-remember{font-size:13px}
body .pwc-login-card-unified .login-submit{margin:22px 0 12px}
body .pwc-login-card-unified .button-primary{width:100%;min-height:52px;padding:0 18px;border:0;border-radius:11px;background:#0d5bd7;color:#fff;font-size:14px;font-weight:850;cursor:pointer;white-space:normal;line-height:1.25}
body .pwc-login-card-unified .button-primary:hover{background:#094bac}
body .pwc-login-center-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border-radius:10px;background:#0d5bd7;color:#fff!important;font-weight:800;text-decoration:none!important;white-space:nowrap}
body .pwc-login-center-button:hover{background:#094bac;color:#fff!important}
@media(max-width:860px){body .pwc-login-center{grid-template-columns:1fr;margin-top:72px}body .pwc-login-intro{padding:38px}body .pwc-login-card-unified{padding:38px}}
@media(max-width:560px){body .pwc-login-center{width:calc(100% - 20px);margin-top:60px;gap:14px}body .pwc-login-intro,body .pwc-login-card-unified{padding:26px;border-radius:19px}body .pwc-login-intro h1{font-size:40px}body .pwc-access-choice{padding:14px}body .pwc-login-card-unified h2{font-size:29px}}

/* v3.0.4 visible client/admin access links */
body .pwc-header-login-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body .pwc-header-login-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 17px;border-radius:10px;font-weight:800;text-decoration:none!important;white-space:nowrap}
body .pwc-client-login-link{border:1px solid #0d5bd7;color:#0d5bd7!important;background:#fff}
body .pwc-admin-login-link{background:#0d5bd7;color:#fff!important}
body .pwc-client-login-link:hover{background:#edf5ff;color:#094bac!important}
body .pwc-admin-login-link:hover{background:#094bac;color:#fff!important}
body .pwc-menu-login-item>a{border-radius:9px!important;padding:10px 14px!important;font-weight:800!important}
body .pwc-menu-client-login>a{border:1px solid currentColor}
body .pwc-menu-admin-login>a{background:#0d5bd7!important;color:#fff!important}
@media(max-width:767px){body .pwc-header-login-links{display:grid;grid-template-columns:1fr 1fr;width:100%}body .pwc-header-login-link{width:100%}}

/* v3.0.5 — Prime Web Creative header login dropdown */
.pwc-header-access-control{position:relative;display:inline-flex;align-items:center;margin-left:12px;vertical-align:middle;z-index:9999}
.pwc-header-access-toggle{appearance:none;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#176df3;color:#fff;font:inherit;font-weight:700;line-height:1;min-height:44px;padding:0 18px;cursor:pointer;white-space:nowrap;box-shadow:0 8px 22px rgba(23,109,243,.26);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.pwc-header-access-toggle:hover,.pwc-header-access-toggle:focus-visible{background:#2b7cff;transform:translateY(-1px);box-shadow:0 10px 26px rgba(23,109,243,.34);outline:none}
.pwc-header-access-menu{position:absolute;top:calc(100% + 12px);right:0;display:none;min-width:250px;padding:8px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#071424;box-shadow:0 18px 45px rgba(0,0,0,.32)}
.pwc-header-access-control.is-open .pwc-header-access-menu{display:grid;gap:4px}
.pwc-header-access-menu a{display:flex!important;flex-direction:column!important;gap:3px!important;padding:12px 13px!important;border-radius:10px!important;color:#fff!important;text-decoration:none!important;font-size:14px!important;line-height:1.25!important;white-space:normal!important}
.pwc-header-access-menu a:hover,.pwc-header-access-menu a:focus-visible{background:rgba(255,255,255,.09)!important;outline:none!important}
.pwc-header-access-menu strong{font-size:14px!important;color:#fff!important}
.pwc-header-access-menu span{font-size:12px!important;color:#aebbd0!important;font-weight:500!important}
@media(max-width:900px){.pwc-header-access-control{display:flex;width:100%;margin:10px 0 0}.pwc-header-access-toggle{width:100%;justify-content:center}.pwc-header-access-menu{left:0;right:auto;width:100%;min-width:220px}}

/* v3.2.2 — project image is the only public project link */
.pwc-project-image-link{display:block;color:inherit;text-decoration:none;cursor:pointer}
.pwc-project-image-link:focus-visible{outline:3px solid #1769ff;outline-offset:4px}
/* v3.3.0 client account manager */
.pwc-client-card-managed{align-items:flex-start}.pwc-client-card-body{min-width:0;flex:1}.pwc-client-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.pwc-client-card-head h3{margin:0}.pwc-client-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.pwc-client-actions form{margin:0}.pwc-client-actions .pwc-secondary-button{padding:8px 10px;font-size:12px;line-height:1.1;cursor:pointer}.pwc-check-label{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:10px!important;font-weight:600!important}.pwc-check-label input{width:auto!important;margin-top:3px!important}

/* v3.3.5 — Invoice creator added only to Agency OS Billing */
.pwc-invoice-manager{margin-bottom:20px!important}.pwc-invoice-items{display:grid;gap:10px;margin:20px 0 12px}.pwc-invoice-item-head,.pwc-invoice-item-row{display:grid;grid-template-columns:minmax(240px,1fr) 90px 130px 110px 38px;gap:10px;align-items:center}.pwc-invoice-item-head{padding:0 4px;color:#617086;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.pwc-invoice-item-row input{width:100%;min-height:44px}.pwc-line-total{text-align:right}.pwc-remove-line{width:36px;height:36px;border:1px solid #d7e0eb;border-radius:9px;background:#fff;color:#7d2b2b;font-size:22px;cursor:pointer}.pwc-add-line{margin-bottom:20px}.pwc-invoice-bottom{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:24px;align-items:start}.pwc-invoice-totals{display:grid;gap:10px;padding:18px;border:1px solid #dfe7f0;border-radius:14px;background:#f8fbff}.pwc-invoice-totals>div{display:flex;justify-content:space-between;gap:20px;padding-top:10px;border-top:1px solid #dfe7f0}.pwc-invoice-totals .pwc-balance{font-size:18px;color:#0d4f9f}.pwc-invoice-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.pwc-invoice-actions form{margin:0}.pwc-invoice-view-toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.pwc-invoice-document{max-width:980px;margin:0 auto;padding:48px;background:#fff;border:1px solid #dde5ee;border-radius:18px;box-shadow:0 18px 50px rgba(17,39,70,.08)}.pwc-invoice-document header{display:flex;justify-content:space-between;gap:30px;padding-bottom:30px;border-bottom:2px solid #153d6c}.pwc-invoice-document header>div:last-child{text-align:right}.pwc-invoice-document header>div:last-child>span{display:block;font-size:30px;font-weight:900;letter-spacing:.12em;color:#153d6c}.pwc-invoice-logo{display:grid;place-items:center;width:58px;height:58px;margin-bottom:12px;border-radius:14px;background:#153d6c;color:#fff;font-weight:900}.pwc-invoice-meta{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:28px 0}.pwc-invoice-meta>div{display:grid;gap:5px}.pwc-invoice-meta>div:last-child{text-align:right}.pwc-invoice-document table{width:100%;border-collapse:collapse}.pwc-invoice-document th,.pwc-invoice-document td{padding:13px 10px;border-bottom:1px solid #e4eaf1;text-align:left}.pwc-invoice-document th:last-child,.pwc-invoice-document td:last-child{text-align:right}.pwc-invoice-summary{display:grid;grid-template-columns:1fr minmax(280px,.6fr);gap:30px;margin-top:28px}.pwc-invoice-summary>div:last-child p{display:flex;justify-content:space-between;gap:20px;margin:0;padding:8px 0;border-bottom:1px solid #e5ebf2}.pwc-invoice-summary .pwc-balance{font-size:18px;color:#0d4f9f;border-top:2px solid #153d6c!important;border-bottom:0!important}
@media(max-width:850px){.pwc-invoice-item-head{display:none}.pwc-invoice-item-row{grid-template-columns:1fr 80px 110px}.pwc-invoice-item-row .pwc-line-total{grid-column:2/3}.pwc-invoice-item-row .pwc-remove-line{grid-column:3/4;justify-self:end}.pwc-invoice-bottom,.pwc-invoice-summary{grid-template-columns:1fr}.pwc-invoice-document{padding:24px}.pwc-invoice-document header,.pwc-invoice-meta{grid-template-columns:1fr;display:grid}.pwc-invoice-document header>div:last-child,.pwc-invoice-meta>div:last-child{text-align:left}}
@media print{body.pwc-agency-standalone .pwc-agency-nav,body.pwc-agency-standalone .pwc-agency-header,.pwc-toolbar,.pwc-invoice-view-toolbar{display:none!important}body.pwc-agency-standalone .pwc-agency-shell{display:block!important}body.pwc-agency-standalone .pwc-agency-main{padding:0!important;background:#fff!important}.pwc-invoice-document{max-width:none;border:0;box-shadow:none;border-radius:0;padding:20px}}

/* v3.3.7 — Client invoices and shared invoice message only */
.pwc-invoice-message-fields{display:grid;gap:16px}.pwc-invoice-client-message{margin-top:24px;padding:18px;border:1px solid #dfe7f0;border-radius:14px;background:#f8fbff}.pwc-invoice-client-message h3{margin:0 0 8px}.pwc-invoice-client-message p{margin:0}.pwc-client-invoices{margin:20px 0}.pwc-client-invoice-list{display:grid;gap:12px}.pwc-client-invoice-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid #e1e7ef;border-radius:14px;background:#fff}.pwc-client-invoice-row h3{margin:4px 0}.pwc-client-invoice-row p{margin:0;color:#667085}.pwc-client-invoice-row>div:last-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pwc-client-invoice-message{margin-top:10px;padding:10px 12px;border-radius:10px;background:#f8fbff;color:#41536b}.pwc-client-invoice-view{padding-top:24px}@media(max-width:760px){.pwc-client-invoice-row{align-items:flex-start;flex-direction:column}.pwc-client-invoice-row>div:last-child{width:100%;justify-content:space-between}}@media print{.pwc-client-invoice-view .pwc-invoice-view-toolbar{display:none!important}}
