.psmh-managed{max-width:1100px;margin:30px auto;padding:16px;color:#14213a;font-family:inherit}.psmh-managed *{box-sizing:border-box}.psmh-hero{background:linear-gradient(120deg,#10213b,#203e72);color:white;padding:38px;border-radius:18px;margin-bottom:20px}.psmh-hero span{font-size:12px;letter-spacing:2px}.psmh-hero h1{color:white;font-size:clamp(27px,4vw,42px);margin:12px 0}.psmh-hero p{color:#d9e7fa;max-width:680px}.psmh-panel{background:white;border:1px solid #e2e8f0;border-radius:16px;padding:25px;margin:20px 0;box-shadow:0 5px 24px #1122440a}.psmh-panel h2{margin-top:0}.psmh-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:18px 0}.psmh-fields label{font-weight:600;font-size:14px;display:block}.psmh-fields input,.psmh-fields textarea,.psmh-fields select,.psmh-proposal textarea{display:block;width:100%;border:1px solid #cad5e2;border-radius:8px;padding:11px;margin-top:7px;background:white;color:#14213a}.psmh-radio{display:block;margin:10px 0}.psmh-alloc{display:flex;gap:12px;align-items:center;margin:8px 0;flex-wrap:wrap}.psmh-alloc input{width:76px;padding:8px;border:1px solid #cad5e2;border-radius:7px}.psmh-alloc-dollar{margin-left:auto}.psmh-action,.psmh-proposal button{background:#175cd3;color:white!important;border:0;border-radius:8px;padding:12px 19px;display:inline-block;text-decoration:none;cursor:pointer}.psmh-estimate{font-weight:700;font-size:17px}.psmh-muted{color:#62738a;font-size:13px}.psmh-alert{background:#e8f7ee;border:1px solid #9bd5af;padding:14px;border-radius:9px}.psmh-campaign{border:1px solid #dfe6f0;border-radius:12px;padding:18px;margin:14px 0}.psmh-campaign-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.psmh-campaign-top h3{margin:0}.psmh-status{background:#e8eef8;color:#23466e;padding:6px 10px;border-radius:20px;font-size:12px}.psmh-channels{display:flex;gap:8px;flex-wrap:wrap}.psmh-channels span{background:#f0f4f9;padding:6px 10px;border-radius:8px;font-size:12px}.psmh-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px;margin:15px 0}.psmh-metrics div{background:#f3f6fa;border-radius:10px;padding:13px}.psmh-metrics small{display:block;color:#617188}.psmh-metrics strong{font-size:21px}.psmh-proposal{padding:16px;border-left:3px solid #175cd3;background:#f4f8fe;margin:16px 0}.psmh-proposal button{margin-top:10px}.psmh-proposal button+button{background:#52637a}

/* v2.1 campaign builder */
.psmh-managed{max-width:1180px}.psmh-panel{border-radius:22px;padding:clamp(18px,3vw,34px);box-shadow:0 12px 45px #142a4b10}.psmh-panel h2{font-size:26px;letter-spacing:-.03em}.psmh-fields{gap:20px}.psmh-fields label{color:#263a58}.psmh-fields input:focus,.psmh-fields select:focus,.psmh-fields textarea:focus{outline:2px solid #5b94ed;outline-offset:1px}.psmh-alloc{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(100px,2fr) 65px 12px 90px;gap:12px;align-items:center;padding:14px 12px;border:1px solid #e3eaf5;border-radius:12px;margin:9px 0}.psmh-alloc label{font-weight:650}.psmh-alloc input[type=range]{width:100%;accent-color:#2563eb}.psmh-alloc input[type=number]{width:65px;padding:8px;border:1px solid #cbd5e1;border-radius:8px}.psmh-alloc-dollar{text-align:right;font-weight:650;color:#1b4481}.psmh-upload{background:#f5f8ff;border:2px dashed #b9ccec;border-radius:15px;padding:22px;margin:20px 0}.psmh-upload input{display:block;margin-top:12px;max-width:100%}.psmh-upload p{color:#536784;font-size:13px}.psmh-secondary{background:white;border:1px solid #a5b9d7;border-radius:9px;padding:9px 14px;cursor:pointer;color:#174a91}.psmh-estimate{background:#eaf2ff;border-radius:12px;padding:16px}.psmh-radio{background:#f7f9fd;padding:12px 14px;border-radius:10px;border:1px solid #e0e9f4}.psmh-action:hover{background:#1247a9}.psmh-managed small{color:#6a7c95;font-size:12px}@media(max-width:650px){.psmh-alloc{grid-template-columns:1fr 65px 12px;gap:9px}.psmh-alloc label{grid-column:1/-1}.psmh-alloc input[type=range]{grid-column:1/-1}.psmh-alloc-dollar{grid-column:1/-1;text-align:left}}

/* v2.2: cohesive modern campaign workspace */
.psmh-managed{max-width:1220px!important;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif!important;font-size:15px;line-height:1.55}.psmh-hero{padding:48px!important;border-radius:24px!important;background:radial-gradient(circle at 88% 20%,#2865b8 0%,transparent 38%),linear-gradient(135deg,#0b1830,#17375e)!important;box-shadow:0 18px 42px #030c2145}.psmh-hero h1{font-weight:800!important;letter-spacing:-.04em}.psmh-panel{padding:clamp(22px,3vw,42px)!important;border-radius:22px!important;box-shadow:0 18px 50px #081c3314!important;border:1px solid #e3eaf4!important}.psmh-panel h2{font-size:25px!important;letter-spacing:-.035em;color:#10213c!important}.psmh-fields{gap:22px!important}.psmh-fields label{color:#233c5c!important;font-size:13px!important}.psmh-fields input,.psmh-fields textarea,.psmh-fields select{min-height:46px!important;font-size:14px!important;box-shadow:none!important;border:1px solid #ccd8e8!important}.psmh-fields input:focus,.psmh-fields textarea:focus,.psmh-fields select:focus{outline:2px solid #93c5fd!important;outline-offset:1px}.psmh-alloc{display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(120px,2fr) 70px 22px 100px;gap:14px!important;padding:14px 18px!important;background:#f8faff!important;border:1px solid #e1eaf6!important;border-radius:13px!important}.psmh-alloc label{font-weight:700!important;color:#193452!important}.psmh-alloc input[type=range]{width:100%!important;accent-color:#2563eb}.psmh-alloc input[type=number]{width:70px!important;background:white!important}.psmh-alloc-dollar{text-align:right;font-weight:750;color:#1649a2}.psmh-upload{border:2px dashed #b6c9e6!important;background:#f6f9ff!important;border-radius:16px!important;padding:24px!important}.psmh-upload input[type=file]{width:100%;max-width:100%;font-size:14px}.psmh-checkout-box{margin-top:24px;padding:24px;background:#f3f7fe;border:1px solid #d6e4f7;border-radius:18px}.psmh-checkout-box h3{margin:0 0 15px;color:#10213c}.psmh-checkout-option{display:flex!important;gap:13px;align-items:flex-start;padding:16px!important;border-radius:13px;background:#fff;border:1px solid #d9e4f2;margin:10px 0;cursor:pointer;color:#172d4a!important}.psmh-checkout-option input{margin-top:5px;accent-color:#2563eb}.psmh-checkout-option span{display:grid;gap:4px}.psmh-checkout-option small{display:block;color:#62748b;font-size:13px}.psmh-terms{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#354760}.psmh-terms input{margin-top:4px}.psmh-action{padding:14px 24px!important;border-radius:11px!important;font-weight:750!important;background:#1858d3!important;box-shadow:0 6px 16px #1858d32c}.psmh-pay-prompt{border:2px solid #60a5fa!important}.psmh-pay-prompt strong{display:block;font-size:28px;margin:12px 0;color:#163b7c}.psmh-alert{padding:16px!important;border-radius:12px!important}@media(max-width:720px){.psmh-alloc{grid-template-columns:1fr 1fr!important}.psmh-alloc input[type=range]{grid-column:1/-1}.psmh-alloc-dollar{margin-left:0!important}.psmh-managed{padding:8px!important}}

/* Client reporting upgrade v2.3 */
.psmh-insights{margin:20px 0;padding:22px;border:1px solid #dbe5f3;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#eef4ff);color:#12243e}
.psmh-insights h4{margin:0 0 16px;font-size:18px;color:#12243e}
.psmh-insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.psmh-insight{background:white;border:1px solid #e1e8f2;border-radius:13px;padding:16px;display:flex;flex-direction:column;gap:7px}
.psmh-insight small{color:#536782;font-size:12px}.psmh-insight strong{font-size:22px;color:#12243e}
.psmh-budget-progress{margin-top:20px}.psmh-progress-label{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.psmh-progress-track{height:12px;border-radius:99px;background:#dce6f4;overflow:hidden}.psmh-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#0ea5e9);border-radius:99px}.psmh-budget-progress small{display:block;margin-top:8px;color:#536782}

.psmh-documents{padding:16px;margin:14px 0;border:1px solid #bfd4f5;background:#eef5ff;border-radius:12px;color:#163b73}.psmh-documents ul{margin:8px 0 0;padding-left:20px}.psmh-documents a{color:#1255b5;font-weight:700}.psmh-remove{margin:14px 0}.psmh-remove button{padding:10px 16px;border-radius:9px;border:1px solid #d8e1ec;background:#f8fafc;color:#34445a;cursor:pointer}

/* v2.4.2: campaign workspace readability and document actions */
.psmh-managed .psmh-campaigns-panel{min-width:0;overflow-wrap:anywhere}
.psmh-managed .psmh-campaign{min-width:0;max-width:100%;padding:clamp(18px,2.5vw,28px);margin:20px 0;border:1px solid #dce5f0;border-radius:18px;background:#fff;box-shadow:0 8px 25px #142a4b0b}
.psmh-managed .psmh-campaign-top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.psmh-managed .psmh-campaign-top h3{font-size:clamp(18px,2vw,23px);line-height:1.3;min-width:0;flex:1 1 220px;overflow-wrap:anywhere;color:#132847}
.psmh-managed .psmh-status{flex:0 1 auto;max-width:100%;white-space:normal;text-align:center;line-height:1.35;font-weight:700}
.psmh-managed .psmh-campaign-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 20px}
.psmh-managed .psmh-campaign-summary>div{min-width:0;display:flex;flex-direction:column;gap:5px;padding:16px 18px;border-radius:13px;background:#f5f8fd;border:1px solid #e5ecf5}
.psmh-managed .psmh-campaign-summary small{font-size:12px;color:#60738c;line-height:1.4}
.psmh-managed .psmh-campaign-summary strong{font-size:clamp(18px,2.4vw,24px);line-height:1.2;color:#153b72;overflow-wrap:anywhere}
.psmh-managed .psmh-channels{margin:12px 0 18px;gap:9px}
.psmh-managed .psmh-channels span{line-height:1.5;max-width:100%;overflow-wrap:anywhere}
.psmh-managed .psmh-metrics,.psmh-managed .psmh-insight-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px}
.psmh-managed .psmh-metrics>div,.psmh-managed .psmh-insight{min-width:0;overflow-wrap:anywhere}
.psmh-managed .psmh-metrics strong,.psmh-managed .psmh-insight strong{display:block;font-size:clamp(18px,2vw,23px);line-height:1.3;overflow-wrap:anywhere}
.psmh-managed .psmh-insights{min-width:0;padding:clamp(16px,2.4vw,24px)}
.psmh-managed .psmh-progress-label{flex-wrap:wrap}
.psmh-managed .psmh-documents{min-width:0;padding:20px;margin:20px 0;border:1px solid #d4e2f4;background:#f6f9ff;border-radius:16px}
.psmh-managed .psmh-documents-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:14px}
.psmh-managed .psmh-documents-heading strong{font-size:16px;color:#15335d}
.psmh-managed .psmh-documents-heading small{color:#627790}
.psmh-managed .psmh-document-list{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:10px}
.psmh-managed .psmh-document-list li{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;min-width:0;padding:13px 15px;border-radius:12px;border:1px solid #dfe7f2;background:#fff;margin:0!important}
.psmh-managed .psmh-document-name{flex:1 1 200px;min-width:0;color:#213a5c;font-size:14px;font-weight:650;overflow-wrap:anywhere}
.psmh-managed a.psmh-document-download{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;max-width:100%;min-height:42px;padding:10px 16px!important;border:1px solid #1b5bc6!important;border-radius:10px!important;background:#1b5bc6!important;color:#fff!important;font-size:13px!important;font-weight:750!important;line-height:1.25!important;text-decoration:none!important;box-shadow:none!important;white-space:normal;text-align:center;transition:background .15s ease}
.psmh-managed a.psmh-document-download:hover,.psmh-managed a.psmh-document-download:focus{background:#13479e!important;color:#fff!important;text-decoration:none!important}
.psmh-managed .psmh-proposal{min-width:0;border-radius:12px;overflow-wrap:anywhere}
.psmh-managed .psmh-proposal form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.psmh-managed .psmh-proposal textarea{flex:1 1 100%;max-width:100%}
.psmh-managed .psmh-proposal button{margin:0!important;max-width:100%;min-height:44px;white-space:normal}
.psmh-managed .psmh-remove button{max-width:100%;white-space:normal}
@media(max-width:600px){.psmh-managed .psmh-campaigns-panel{padding:18px!important}.psmh-managed .psmh-campaign{padding:16px}.psmh-managed .psmh-campaign-summary{grid-template-columns:1fr}.psmh-managed .psmh-document-list li{align-items:stretch}.psmh-managed a.psmh-document-download{width:100%;flex:1 1 100%}.psmh-managed .psmh-proposal button{flex:1 1 100%}}

/* v2.4.3: override legacy .psmh-campaign flex rule from hub.css */
.psmh-managed .psmh-campaigns-panel{width:100%;max-width:100%;min-width:0;display:block!important}
.psmh-managed .psmh-campaigns-panel .psmh-campaign{display:block!important;width:100%;max-width:100%;min-width:0;align-items:initial!important;justify-content:initial!important;flex-direction:initial!important}
.psmh-managed .psmh-campaigns-panel .psmh-campaign-top{display:flex!important;width:100%;align-items:flex-start!important;flex-direction:row!important;justify-content:space-between!important}
.psmh-managed .psmh-campaigns-panel .psmh-campaign-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.psmh-managed .psmh-campaigns-panel .psmh-metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr))!important}
.psmh-managed .psmh-campaigns-panel .psmh-insight-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr))!important}
.psmh-managed .psmh-campaigns-panel .psmh-campaign>*,.psmh-managed .psmh-campaigns-panel .psmh-campaign-summary>div{max-width:100%;min-width:0}
.psmh-managed .psmh-campaigns-panel .psmh-documents .psmh-document-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
.psmh-managed .psmh-campaigns-panel .psmh-documents .psmh-document-list li{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important}
.psmh-managed .psmh-campaigns-panel .psmh-documents a.psmh-document-download{width:auto!important;min-width:130px;white-space:nowrap!important}
@media(max-width:700px){.psmh-managed .psmh-campaigns-panel .psmh-campaign-summary{grid-template-columns:1fr!important}.psmh-managed .psmh-campaigns-panel .psmh-documents .psmh-document-list li{grid-template-columns:minmax(0,1fr)!important}.psmh-managed .psmh-campaigns-panel .psmh-documents a.psmh-document-download{width:100%!important}}

/* v2.4.4 structural reset, isolated from legacy global campaign styles */
.psmh-managed .psmh-campaigns-panel article.psmh-campaign{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:18px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:visible!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign > *{flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;margin-top:0!important;margin-bottom:0!important;box-sizing:border-box!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-campaign-top{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-campaign-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-campaign-summary > div{display:flex!important;flex-direction:column!important;min-width:0!important;gap:8px!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-campaign-summary strong{overflow-wrap:normal!important;word-break:normal!important;font-variant-numeric:tabular-nums!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-documents{width:100%!important;max-width:100%!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-documents .psmh-document-list li{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:16px!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-documents .psmh-document-name{flex:1 1 240px!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-documents .psmh-document-download{flex:0 0 auto!important;width:auto!important;min-width:145px!important;white-space:nowrap!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign form.psmh-remove{display:block!important;width:100%!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign form.psmh-remove button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;min-width:180px!important;max-width:100%!important;white-space:normal!important;word-break:normal!important;padding:11px 18px!important;line-height:1.4!important}
.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-metrics,.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-insight-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))!important;gap:14px!important}
.psmh-hq-ops .psmh-hq-detail{min-width:0!important;overflow:hidden!important}
.psmh-hq-ops .psmh-hq-detail form{display:block!important;min-width:0!important;max-width:100%!important;margin:0 0 18px!important}
.psmh-hq-ops .psmh-hq-detail form + form{margin-top:18px!important;padding-top:18px!important;border-top:1px solid #3b506e!important}
.psmh-hq-ops .psmh-hq-detail form button{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;min-height:44px!important;line-height:1.4!important;white-space:normal!important;max-width:100%!important;margin:8px 10px 8px 0!important;padding:11px 18px!important;position:static!important;float:none!important}
.psmh-hq-ops .psmh-hq-detail label{display:inline-flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;max-width:100%!important;margin:5px 10px 5px 0!important;line-height:1.5!important}
.psmh-hq-ops .psmh-hq-detail label input[type=number]{width:95px!important;min-width:85px!important;max-width:100%!important}
.psmh-hq-ops .psmh-hq-detail textarea{display:block!important;width:100%!important;max-width:760px!important}
@media(max-width:650px){.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-campaign-summary{grid-template-columns:minmax(0,1fr)!important}.psmh-managed .psmh-campaigns-panel article.psmh-campaign .psmh-documents .psmh-document-download{width:100%!important}.psmh-hq-ops .psmh-hq-detail form button{width:100%!important;margin:8px 0!important}}

/* 2.5.0: HQ reporting workspace */
.psmh-hq-ops .psmh-hq-report-head,.psmh-hq-ops .psmh-hq-report-summary{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:14px!important;margin:22px 0!important}
.psmh-hq-ops .psmh-hq-report-head>div,.psmh-hq-ops .psmh-hq-report-summary>div{background:#f6f9fd!important;color:#17243a!important;border:1px solid #dce5f0!important;border-radius:12px!important;padding:18px!important;min-width:0!important}
.psmh-hq-ops .psmh-hq-report-head small,.psmh-hq-ops .psmh-hq-report-summary small{display:block!important;font-size:12px!important;opacity:.75!important;margin-bottom:8px!important}
.psmh-hq-ops .psmh-hq-report-head strong,.psmh-hq-ops .psmh-hq-report-summary strong{display:block!important;font-size:21px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
.psmh-hq-ops .psmh-hq-report-section{padding:20px!important;margin:20px 0!important;border:1px solid #dce5f0!important;border-radius:14px!important;background:#fff!important;color:#17243a!important}
.psmh-hq-ops .psmh-hq-report-section h3{margin:0 0 10px!important;font-size:18px!important}
.psmh-hq-ops .psmh-hq-payment-table{overflow-x:auto!important;max-width:100%!important;margin:12px 0!important}
.psmh-hq-ops .psmh-hq-payment-table table{border-collapse:collapse!important;width:100%!important;min-width:510px!important}
.psmh-hq-ops .psmh-hq-payment-table th,.psmh-hq-ops .psmh-hq-payment-table td{text-align:left!important;padding:10px 12px!important;border-bottom:1px solid #e5eaf2!important;white-space:nowrap!important}
.psmh-hq-ops .psmh-hq-report-history{padding:16px!important;margin:22px 0!important;border:1px solid #dce5f0!important;border-radius:12px!important}
.psmh-hq-ops .psmh-hq-report-history summary{cursor:pointer!important;font-weight:700!important}

/* Marketing workspace v2.6 */
.psmh-managed .psmh-workspace-nav{display:flex;flex-wrap:wrap;gap:10px;padding:14px 0 22px;max-width:100%;margin:0;align-items:center}.psmh-managed .psmh-workspace-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border-radius:12px;border:1px solid #d9e1eb;background:#fff;color:#25354a;text-decoration:none!important;font-size:14px;font-weight:650;line-height:1.25;white-space:normal;text-align:center}.psmh-managed .psmh-workspace-nav a.active{background:#132a46;color:#fff;border-color:#132a46}.psmh-managed .psmh-workspace-card{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.psmh-managed .psmh-workspace-heading{display:flex;gap:18px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:24px}.psmh-managed .psmh-workspace-heading h2{margin:6px 0}.psmh-managed .psmh-workspace-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;margin:20px 0}.psmh-managed .psmh-workspace-stats>div{background:#f5f8fc;border:1px solid #e2e8f0;border-radius:14px;padding:20px;min-width:0}.psmh-managed .psmh-workspace-stats small{display:block;color:#64748b;margin-bottom:9px}.psmh-managed .psmh-workspace-stats strong{font-size:clamp(19px,2.5vw,27px);line-height:1.2;overflow-wrap:anywhere}.psmh-managed .psmh-workspace-row{border:1px solid #e2e8f0;border-radius:13px;padding:18px;margin:12px 0;overflow-wrap:anywhere}.psmh-managed .psmh-workspace-row p{margin:9px 0 0}.psmh-managed .psmh-workspace-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:15px;margin-top:24px}.psmh-managed .psmh-workspace-form label{display:flex;flex-direction:column;gap:7px;font-weight:600}.psmh-managed .psmh-workspace-form input,.psmh-managed .psmh-workspace-form select,.psmh-managed .psmh-workspace-form textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box}.psmh-managed .psmh-workspace-form button{justify-self:start;align-self:end}.psmh-managed .psmh-workspace-row .psmh-documents{max-width:100%}@media(max-width:650px){.psmh-managed .psmh-workspace-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.psmh-managed .psmh-workspace-nav a{padding:10px 6px;font-size:12px}.psmh-managed .psmh-workspace-heading .psmh-action{width:100%;text-align:center}}

/* HQ command center v2.7 */
.psmh-hq-workspace{margin:24px 0;padding:24px;border:1px solid #dce3ed;border-radius:18px;background:#fff;max-width:100%;box-sizing:border-box}
.psmh-hq-welcome h2{font-size:27px;margin:6px 0}.psmh-hq-welcome p{color:#64748b}.psmh-hq-welcome small{letter-spacing:.13em;font-weight:700;color:#2563eb}
.psmh-hq-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:14px 0;margin:16px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}
.psmh-hq-tabs a{display:inline-flex;padding:10px 14px;border-radius:9px;text-decoration:none!important;color:#334155!important;font-weight:600;white-space:nowrap}
.psmh-hq-tabs a.is-active{background:#e8f0ff;color:#1d4ed8!important}
.psmh-hq-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;margin:14px 0 22px}
.psmh-hq-kpis>div{padding:18px;border:1px solid #e2e8f0;border-radius:12px;min-width:0;background:#f8fafc}
.psmh-hq-kpis small{display:block;color:#64748b;font-weight:600;margin-bottom:10px}.psmh-hq-kpis strong{font-size:22px;overflow-wrap:anywhere}
.psmh-hq-list{display:grid;gap:9px;margin:14px 0 22px}.psmh-hq-list>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;align-items:center;border:1px solid #e2e8f0;border-radius:11px;padding:15px;min-width:0}.psmh-hq-list>div>*{min-width:0;overflow-wrap:anywhere}
.psmh-hq-quickform{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:16px;align-items:end;padding:18px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}
.psmh-hq-quickform label{display:grid;gap:7px;font-weight:600;min-width:0}.psmh-hq-quickform input,.psmh-hq-quickform select,.psmh-hq-quickform textarea{width:100%;max-width:100%;box-sizing:border-box}.psmh-hq-quickform button{min-height:40px}
@media(max-width:650px){.psmh-hq-workspace{padding:14px}.psmh-hq-tabs{flex-wrap:nowrap;overflow-x:auto}.psmh-hq-kpis{grid-template-columns:1fr 1fr}}

/* v2.7.1 HQ visual hotfix: legacy Business HQ sets pale text globally. */
.psmh-hq-workspace,.psmh-hq-workspace .psmh-hq-tabcontent,.psmh-hq-workspace h2,.psmh-hq-workspace h3,.psmh-hq-workspace p,.psmh-hq-workspace strong,.psmh-hq-workspace span,.psmh-hq-workspace label,.psmh-hq-workspace .psmh-hq-list>div,.psmh-hq-workspace .psmh-hq-list>div *{color:#17243a!important;opacity:1!important}
.psmh-hq-workspace .psmh-hq-welcome h2{color:#17243a!important}
.psmh-hq-workspace .psmh-hq-welcome p,.psmh-hq-workspace .psmh-hq-kpis small{color:#52657c!important}
.psmh-hq-workspace .psmh-hq-kpis strong{color:#12233d!important;opacity:1!important}
.psmh-hq-workspace .psmh-hq-list>div{background:#f8fafc!important;border-color:#dce5f0!important}
.psmh-hq-workspace .psmh-hq-list>div span{color:#334155!important}
.psmh-hq-workspace .psmh-hq-tabs a{color:#334155!important;opacity:1!important}
.psmh-hq-workspace .psmh-hq-tabs a.is-active{color:#1d4ed8!important}
.psmh-hq-workspace .psmh-hq-quickform{color:#17243a!important}
.psmh-hq-workspace .psmh-hq-quickform input,.psmh-hq-workspace .psmh-hq-quickform select,.psmh-hq-workspace .psmh-hq-quickform textarea{background:#fff!important;color:#17243a!important;border:1px solid #bac8d9!important;border-radius:8px!important;padding:10px!important}
.psmh-hq-ops .psmh-hq-report-head>div *,.psmh-hq-ops .psmh-hq-report-summary>div *,.psmh-hq-ops .psmh-hq-report-section *{color:#17243a!important;opacity:1!important}
.psmh-hq-ops .psmh-hq-report-head>div small,.psmh-hq-ops .psmh-hq-report-summary>div small{color:#52657c!important}
.psmh-hq-ops .psmh-hq-report-section table,.psmh-hq-ops .psmh-hq-report-section table td{color:#17243a!important}
.psmh-hq-ops .psmh-hq-report-section table th{color:#fff!important;background:#17243a!important}
.psmh-hq-ops .psmh-hq-report-section table td{background:#f8fafc!important}
.psmh-hq-ops .psmh-hq-detail{padding:20px!important;margin:18px 0!important;background:#1b2e48!important;border:1px solid #3a506d!important;border-radius:14px!important;box-sizing:border-box!important}
.psmh-hq-ops .psmh-hq-detail form{line-height:1.8!important}
.psmh-hq-ops .psmh-hq-detail label{margin:8px 14px 8px 0!important;gap:9px!important;color:#f4f7fd!important}
.psmh-hq-ops .psmh-hq-detail input:not([type=hidden]):not([type=checkbox]):not([type=radio]),.psmh-hq-ops .psmh-hq-detail select,.psmh-hq-ops .psmh-hq-detail textarea{background:#fff!important;color:#17243a!important;border:1px solid #cbd5e1!important;border-radius:8px!important;padding:10px 12px!important;min-height:40px!important;box-sizing:border-box!important}
.psmh-hq-ops .psmh-hq-detail input[type=number]{width:105px!important}
.psmh-hq-ops .psmh-hq-detail textarea{min-height:110px!important;line-height:1.5!important}
.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-history{background:#223752!important;color:#fff!important}
.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-history summary{color:#fff!important}
.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-section{background:#fff!important;color:#17243a!important}
.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-section p,.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-section h3,.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-section small{color:#17243a!important;opacity:1!important}
.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-section strong{color:#17243a!important;opacity:1!important}
.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-head>div,.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-summary>div{box-shadow:0 1px 3px #0f172a12!important}
.psmh-hq-ops .psmh-hq-detail form button{border-radius:9px!important;font-weight:650!important}
@media(max-width:650px){.psmh-hq-ops .psmh-hq-detail{padding:12px!important}.psmh-hq-ops .psmh-hq-detail label{display:flex!important;width:100%!important}.psmh-hq-ops .psmh-hq-detail label input:not([type=checkbox]){max-width:100%!important}.psmh-hq-workspace .psmh-hq-kpis{grid-template-columns:1fr!important}}

/* v2.7.2: prevent page-level horizontal overflow on small screens. */
.psmh-hq-workspace,.psmh-hq-ops,.psmh-hq-workspace *, .psmh-hq-ops *{box-sizing:border-box}
.psmh-hq-workspace,.psmh-hq-ops{width:100%;max-width:100%;min-width:0}
.psmh-hq-workspace .psmh-hq-tabcontent,.psmh-hq-ops .psmh-hq-detail,.psmh-hq-ops .psmh-hq-detail form{min-width:0;max-width:100%}
.psmh-hq-workspace .psmh-hq-list>div,.psmh-hq-workspace .psmh-hq-kpis>div{min-width:0}
.psmh-hq-ops .psmh-hq-report-section,.psmh-hq-ops .psmh-hq-report-head,.psmh-hq-ops .psmh-hq-report-summary{max-width:100%;min-width:0}
.psmh-hq-ops .psmh-hq-payment-table{width:100%;overflow-x:auto;overscroll-behavior-x:contain}
@media(max-width:767px){
  .psmh-hq-workspace{padding:12px!important;margin:12px 0!important;overflow-x:clip!important}
  .psmh-hq-ops{overflow-x:clip!important}
  .psmh-hq-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;overflow:visible!important;gap:7px!important;width:100%!important}
  .psmh-hq-tabs a{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:center!important;justify-content:center!important;padding:11px 6px!important;font-size:12px!important}
  .psmh-hq-kpis{grid-template-columns:minmax(0,1fr)!important}
  .psmh-hq-list>div{grid-template-columns:minmax(0,1fr)!important;gap:7px!important;padding:12px!important}
  .psmh-hq-quickform{grid-template-columns:minmax(0,1fr)!important;padding:12px!important}
  .psmh-hq-quickform>*{min-width:0!important;max-width:100%!important}
  .psmh-hq-ops .psmh-hq-detail{padding:12px!important;overflow-x:clip!important}
  .psmh-hq-ops .psmh-hq-detail form{width:100%!important;max-width:100%!important;min-width:0!important}
  .psmh-hq-ops .psmh-hq-detail label{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:9px 0!important;white-space:normal!important}
  .psmh-hq-ops .psmh-hq-detail label input:not([type=checkbox]):not([type=radio]),.psmh-hq-ops .psmh-hq-detail label select,.psmh-hq-ops .psmh-hq-detail label textarea{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
  .psmh-hq-ops .psmh-hq-detail input[type=number]{width:100%!important;max-width:100%!important}
  .psmh-hq-ops .psmh-hq-detail .psmh-hq-report-head,.psmh-hq-ops .psmh-hq-detail .psmh-hq-report-summary{grid-template-columns:minmax(0,1fr)!important}
  .psmh-hq-ops .psmh-hq-detail .psmh-hq-report-section{padding:12px!important;max-width:100%!important;overflow:hidden!important}
  .psmh-hq-ops .psmh-hq-detail .psmh-hq-report-history{max-width:100%!important;overflow-wrap:anywhere!important}
  .psmh-hq-ops .psmh-hq-detail .psmh-hq-payment-table{overflow-x:auto!important;max-width:100%!important}
  .psmh-hq-ops .psmh-hq-detail form button{width:100%!important;max-width:100%!important}
  .psmh-hq-workspace h2,.psmh-hq-ops h2{overflow-wrap:anywhere!important}
}

/* Marketing subscription billing clarity */
.psmh-subscription-summary{background:#f8fafc!important;color:#17243b!important;border:1px solid #dce4ee;border-radius:14px;padding:18px;margin:14px 0;max-width:100%;box-sizing:border-box}
.psmh-subscription-summary h3{color:#17243b!important;margin:0 0 12px;font-size:1.1rem}
.psmh-subscription-summary>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;color:#334155!important;flex-wrap:wrap}
.psmh-subscription-summary strong{color:#17243b!important}
.psmh-subscription-summary .psmh-subscription-total{border-top:1px solid #cbd5e1;margin-top:7px;padding-top:15px;font-weight:700}
.psmh-subscription-summary .psmh-subscription-total strong{font-size:1.25rem}
.psmh-subscription-summary p{color:#475569!important;font-size:.9rem;margin:8px 0 0}
@media(max-width:600px){.psmh-subscription-summary{padding:14px}.psmh-subscription-summary>div{align-items:flex-start}}
