.mpapp-page .work-header{height:auto;position:static;top:auto;background:transparent;backdrop-filter:none;z-index:auto;border:0}
.mpapp-page{font-size:14px}
.mpapp-page .work-card small{display:block;text-align:left;margin-top:12px}
.mpapp-page .work-card p{margin:10px 0}
.mpapp-page .work-card label{display:block;margin:12px 0}
.pilot-auth{max-width:510px;margin:7vh auto;padding:30px;background:white;border:1px solid #e1e7df;border-radius:12px}
.pilot-auth h1{margin:20px 0}.pilot-auth form,.pilot-form{display:grid;gap:16px}.pilot-auth label,.pilot-form label{display:grid;gap:6px;font-weight:600}
.pilot-auth input,.pilot-form input,.pilot-form select,.pilot-form textarea,.pilot-search,.pilot-org{width:100%;box-sizing:border-box;padding:12px;border:1px solid #b5c0b8;border-radius:5px;background:white;color:#203b2e}
.pilot-auth input,.pilot-form input,.pilot-form textarea{font-size:16px}.pilot-auth a{color:#183e30}.pilot-form textarea{min-height:95px}.pilot-auth button{margin-top:4px}
.pilot-message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);max-width:85vw;background:#183e30;color:white;padding:16px 24px;border-radius:8px;z-index:200;box-shadow:0 8px 40px #0003}
.work-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.work-card{padding:24px;background:white;border:1px solid #e1e7df;border-radius:8px;overflow-wrap:anywhere}.work-card h2{margin-bottom:10px}.work-card .mpapp-button{margin-top:12px;margin-right:8px}.work-card progress{width:100%;accent-color:#183e30}.work-card dl{display:grid;grid-template-columns:100px 1fr;gap:6px}.work-card dd{margin:0}.work-card ul{padding-left:20px}
.pilot-nav{display:grid;gap:6px;padding:20px}.pilot-nav a{padding:10px 14px;text-decoration:none;color:#203b2e;border-radius:6px}.pilot-nav a[aria-current]{background:#d7ee9b;font-weight:700}.pilot-org{margin-bottom:16px}.pilot-search{max-width:500px;margin-bottom:20px}.pilot-muted{color:#5d6c63}.pilot-warning{padding:14px 18px;background:#eef3e7;border-radius:6px;margin:16px 0}.pilot-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.pilot-empty{padding:45px 24px;background:white;border:1px dashed #b5c0b8;border-radius:8px;text-align:center}.pilot-error{color:#9a2727;min-height:20px}.work-header{margin-bottom:24px}.work-header p{max-width:760px}.pilot-topbar{padding:18px 30px;border-bottom:1px solid #e1e7df;display:flex;justify-content:space-between;gap:20px;background:white}.pilot-sidebar{width:235px;flex-shrink:0;background:#f1f4ee;padding:25px 16px;box-sizing:border-box}.pilot-sidebar .mpapp-brand{padding:0 4px}.pilot-sidebar small{display:block;padding:12px 4px}.pilot-sidebar button{margin:12px 0}.pilot-main{flex:1;min-width:0}.pilot-content{padding:30px}.pilot-table{width:100%;border-collapse:collapse;background:white}.pilot-table th,.pilot-table td{text-align:left;padding:12px;border-bottom:1px solid #e1e7df;overflow-wrap:anywhere}.pilot-table-wrap{overflow:auto}.pilot-table td:first-child{min-width:130px}.pilot-auth .pilot-error{margin:0}
@media(max-width:760px){.mpapp-shell{display:block}.pilot-sidebar{width:100%;padding:16px}.pilot-nav{display:flex;overflow:auto;padding:12px 0}.pilot-nav a{white-space:nowrap}.pilot-sidebar small{display:none}.pilot-sidebar .pilot-org{max-width:300px;margin:0}.pilot-sidebar button{margin:0}.pilot-content{padding:20px 16px}.pilot-topbar{padding:16px;flex-wrap:wrap}.pilot-auth{margin:20px 12px;padding:24px}.work-cards{grid-template-columns:1fr}}

/* Customer SaaS shell. The original pilot selectors above remain isolated. */
.ws-page{font-size:14px;background:#f5f7f1}.ws-shell{display:flex;min-height:100dvh}
.ws-sidebar{width:236px;flex-shrink:0;background:#f4f7ed;border-right:1px solid #dce5d3;padding:25px 14px 16px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}
.ws-brand{display:flex;align-items:center;gap:9px;font:750 22px var(--heading);letter-spacing:-1px;padding-inline:8px}.ws-brand .mark{width:29px;height:30px}.ws-brand svg{width:28px;height:28px}
.ws-org{display:grid;gap:7px;margin:25px 7px 20px;font-size:11px;font-weight:600;color:var(--muted)}.ws-org select{width:100%;padding:11px 8px;border:1px solid #d5e0cb;border-radius:5px;background:white;font-size:12px;color:var(--ink)}
.ws-nav{overflow-y:auto;display:grid;gap:3px;flex:1}.ws-nav a{display:flex;align-items:center;gap:10px;padding:10px;min-height:38px;font-size:12px;color:#586d46;border-radius:4px}.ws-nav a:hover{background:#e9efdf}.ws-nav a[aria-current]{background:#e0ebd2;color:var(--green);font-weight:600}.ws-nav svg{width:17px;height:17px;flex-shrink:0}.ws-count{margin-left:auto;font-size:10px;padding:1px 5px;background:#d4e1c1;border-radius:3px}
.ws-user{border-top:1px solid #dce5d3;padding:15px 8px 0;margin-top:16px}.ws-user strong{display:block;font-size:12px;font-weight:600}.ws-user small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.ws-user button{margin-top:10px;font-size:12px;padding:0}
.ws-main{flex:1;min-width:0}.ws-topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:20px;padding:13px 30px;min-height:65px;border-bottom:1px solid #dfe7d7;background:#fcfdf9ed;backdrop-filter:blur(14px)}.ws-topbar>strong{font-size:12px;font-weight:500}.ws-top-actions{display:flex;align-items:center;gap:18px;margin-left:auto}.ws-topbar a,.ws-topbar button{font-size:12px}.ws-menu{display:none;min-height:40px;min-width:40px;border:1px solid #d5dfca;border-radius:5px}
.ws-content{padding:32px;max-width:1500px;margin:auto}.ws-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:28px}.ws-heading h1{font-size:30px;letter-spacing:-1px;margin-top:6px}.ws-heading p{margin-top:10px;font-size:13px;line-height:1.8;max-width:690px}.ws-heading .eyebrow{color:#62784d;font-size:9px}
.ws-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.ws-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:10px 14px;border:1px solid #cad8bd;border-radius:5px;background:white;color:var(--green);font-size:12px;font-weight:600;line-height:1.5}.ws-button:hover{background:#edf3e5}.ws-button-primary{background:var(--green);border-color:var(--green);color:white}.ws-button-primary:hover{background:#27533f}.ws-button:disabled{opacity:.5;cursor:default}.ws-text-button{color:var(--green);font-size:12px;text-decoration:underline;text-underline-offset:3px;padding:0}
.ws-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:25px}.ws-metric{padding:21px;border:1px solid #dfe7d6;background:white;border-radius:6px}.ws-metric p{font-size:12px}.ws-metric strong{display:block;font:600 32px/1.3 var(--heading);letter-spacing:-1px;margin-top:9px}
.ws-card{border:1px solid #dce5d1;background:white;padding:23px;border-radius:6px;min-width:0}.ws-card h2{font-size:19px}.ws-card h3{font-size:16px}.ws-card p{font-size:13px;line-height:1.8;margin-top:12px}.ws-card .ws-actions{margin-top:18px}.ws-card small{display:block;color:var(--muted);font-size:11px;line-height:1.8;margin-top:8px}.ws-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ws-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px}
.ws-table-wrap{overflow-x:auto;background:white;border:1px solid #dce5d1;border-radius:6px}.ws-table{width:100%;min-width:690px;border-collapse:collapse;white-space:normal}.ws-table th{background:#f0f5e9;padding:14px 18px;font-size:11px;font-weight:600;text-align:left;color:#596d46}.ws-table td{padding:17px 18px;font-size:12px;border-bottom:1px solid #e5ebdf;vertical-align:middle;color:var(--muted)}.ws-table td strong{display:block;font-size:13px;font-weight:600;color:var(--ink)}.ws-table td small{display:block;margin-top:4px;font-size:11px}.ws-table tbody tr:last-child td{border-bottom:0}.ws-table td:first-child a{color:var(--green)}
.ws-badge{display:inline-flex;align-items:center;padding:4px 8px;font-size:10px;line-height:1.5;background:#eff3e8;color:#566d40;border:1px solid #dbe5ce;border-radius:4px;text-transform:capitalize;white-space:nowrap}.ws-badge-pending,.ws-badge-queued,.ws-badge-quarantined,.ws-badge-draft{background:#f8f0dd;color:#806028;border-color:#eadbb8}.ws-badge-failed,.ws-badge-rejected,.ws-badge-infected,.ws-badge-unavailable{background:#f9e9e2;color:#913b2b;border-color:#edcfbf}
.ws-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}.ws-toolbar input,.ws-toolbar select{min-height:42px;border:1px solid #cbd7bf;border-radius:5px;padding:10px 12px;background:white;color:var(--ink);font-size:13px}.ws-toolbar input{flex:1;min-width:180px;max-width:450px}
.ws-note{padding:15px 18px;border:1px solid #dce5d1;border-radius:5px;background:#ecf2e4;color:#566d45;font-size:12px;line-height:1.8;margin-bottom:22px}.ws-note p{color:inherit}.ws-empty{text-align:center;padding:48px 25px;border:1px dashed #cbd7bf;border-radius:6px;background:#fdfefa}.ws-empty h2{font-size:21px}.ws-empty p{max-width:510px;margin:13px auto 20px;font-size:13px;line-height:1.8}.ws-loading{padding:50px 32px}
.ws-form{display:grid;gap:17px;margin-top:22px}.ws-form label{display:grid;gap:6px;font-size:12px;font-weight:600}.ws-form input,.ws-form select,.ws-form textarea{width:100%;min-height:43px;padding:10px 12px;border:1px solid #c5d3b8;border-radius:5px;background:white;color:var(--ink);font-size:14px}.ws-form textarea{min-height:98px;resize:vertical}.ws-form input[type=checkbox]{width:17px;min-height:17px;margin:0}.ws-check{display:flex!important;align-items:center;flex-direction:row;gap:10px;font-weight:400!important}.ws-form p{font-size:12px;line-height:1.8}.ws-error{color:#993d27;font-size:12px}.ws-error:empty{display:none}
.ws-dialog-close{position:absolute;top:14px;right:14px;min-width:40px;min-height:40px;font-size:25px;border-radius:5px}.ws-dialog-close:hover{background:#edf2e6}.ws-pre{padding:20px;border:1px solid #dce5d1;border-radius:5px;background:#f5f8ef;overflow:auto;font-size:12px;line-height:1.8;max-height:520px}
.ws-definition{margin:20px 0 0}.ws-definition>div{display:grid;grid-template-columns:minmax(120px,.8fr) 1.2fr;gap:20px;padding:12px 0;border-bottom:1px solid #e5ebdf;font-size:13px}.ws-definition dt{color:var(--muted)}.ws-definition dd{margin:0;overflow-wrap:anywhere}.ws-list{padding:0;list-style:none;margin-top:18px}.ws-list li{padding:13px 0;border-bottom:1px solid #e5ebdf;font-size:13px}.ws-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 17px}.ws-section-heading h2{font-size:19px}.ws-service-grid{display:grid;gap:14px}.ws-service-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e1e8d8;padding-bottom:13px;font-size:13px}.ws-inline-form{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.ws-inline-form input{flex:1;min-width:160px;min-height:41px;padding:10px 12px;border:1px solid #cbd7bf;border-radius:5px}.ws-dossier-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:24px}.ws-dossier-tabs a{border:1px solid #cfdbbf;padding:9px 13px;border-radius:4px;font-size:12px}
@media(max-width:1050px){.ws-sidebar{width:212px}.ws-content{padding:26px 23px}.ws-topbar{padding-inline:23px}.ws-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.ws-sidebar{position:fixed;left:0;top:0;z-index:30;width:250px;box-shadow:20px 0 70px #183d3033;transform:translateX(-110%);transition:transform .2s}.ws-sidebar.ws-sidebar-open{transform:none}.ws-menu{display:inline-grid;place-items:center}.ws-topbar{padding:12px 17px;gap:11px}.ws-content{padding:25px 17px}.ws-heading{flex-direction:column;gap:17px}.ws-heading h1{font-size:27px}.ws-grid{grid-template-columns:1fr}.ws-top-actions{gap:12px}}
@media(max-width:440px){.ws-topbar>strong{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-top-actions a{display:none}.ws-card{padding:20px}.ws-metric{padding:18px}.ws-definition>div{grid-template-columns:1fr;gap:6px}}
@media(prefers-reduced-motion:reduce){.ws-sidebar{transition:none}}

.ws-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px}.ws-pagination p{margin:0;flex:1}.ws-pagination .ws-button{flex-shrink:0}.ws-after-section{margin-top:22px}.ws-caption{font-size:12px;color:var(--muted);line-height:1.8;margin-top:25px}.ws-import-values{margin:0;display:grid;gap:7px}.ws-import-values>div{display:grid;grid-template-columns:85px minmax(120px,1fr);gap:12px}.ws-import-values dt{font-size:11px;font-weight:600;color:var(--ink)}.ws-import-values dd{margin:0;max-width:320px;overflow-wrap:anywhere}.ws-card>.ws-button{margin-top:18px}.ws-list small{display:block;line-height:1.8}.ws-section-heading>span{font-size:12px;color:var(--muted)}
@media(max-width:800px){.ws-pagination{align-items:flex-start;flex-direction:column}.ws-topbar>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ws-top-actions{flex-shrink:0}.ws-caption{font-size:12px}}
@media(max-width:440px){.ws-topbar>strong{max-width:110px}.ws-top-actions{gap:10px}}

.ws-form fieldset{display:grid;gap:15px;border:1px solid #d3dfc7;padding:17px;border-radius:5px;min-width:0}.ws-form legend{padding:0 7px;font-size:12px;font-weight:600}.ws-details{border:1px solid #d3dfc7;border-radius:5px;padding:16px}.ws-details summary{font-size:12px;font-weight:600;cursor:pointer}.ws-form-group{display:grid;gap:16px;margin-top:18px}.ws-card .ws-text-button{display:inline-block;margin-top:18px}.ws-note .ws-button{margin-top:12px}

.ws-metric strong{overflow-wrap:anywhere}.ws-metric strong.ws-metric-date{font-size:18px;line-height:1.6;letter-spacing:0}
.ws-setup{margin-bottom:22px}.ws-setup .ws-section-heading{margin-top:0}.ws-setup-list{list-style:none;padding:0;margin:20px 0 0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.ws-setup-list li{display:grid;gap:9px;align-content:start;font-size:13px}.ws-setup-list small{font-size:11px;color:var(--muted)}.ws-setup-state{display:grid;place-items:center;width:27px;height:27px;border:1px solid #b8caa6;border-radius:50%;color:var(--green);background:#edf4e3}.ws-setup-state svg{width:16px;height:16px}.ws-form-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-form-columns .ws-error,.ws-form-columns>button{grid-column:1/-1}.ws-text-button{font-size:12px;text-decoration:underline;text-underline-offset:3px;color:var(--green)}.ws-secret-value{white-space:pre-wrap;overflow-wrap:anywhere}.admin-target-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ws-page .pilot-message,.admin-page .pilot-message{color:#fafff3}.ws-setup-state{flex-shrink:0}.ws-form label,.ws-form fieldset,.ws-form-group{min-width:0}.ws-button:disabled{opacity:.6;cursor:wait}.ws-form [data-reload-edit]{white-space:normal}
.ws-heading h1:focus{outline:none}.ws-page .pilot-message,.admin-page .pilot-message{width:max-content;max-width:calc(100vw - 32px);bottom:16px;font-size:13px;line-height:1.6;padding:14px 20px}
.ws-sidebar-close{display:none;font-size:12px;line-height:1.5;min-height:40px;text-align:left;padding:8px;margin-bottom:12px;color:inherit;border:1px solid currentColor;border-radius:5px}
.ws-count{color:#173e31}
.ws-source-excerpt{display:block;max-width:340px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.ws-card .ws-table-wrap{margin-top:16px}
@media(max-width:800px){.ws-sidebar-close{display:block}}
@media(max-width:1050px){.ws-setup-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.ws-setup .ws-section-heading{align-items:flex-start;flex-direction:column}.ws-setup-list{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-form-columns,.admin-target-row{grid-template-columns:1fr}}
.ws-demo-banner{display:flex;align-items:flex-start;gap:18px;padding:20px 23px;margin-bottom:26px;border:1px solid #bacd83;border-left:4px solid #618b36;border-radius:5px;background:#f1f6e3;color:#214832}.ws-demo-label,.ws-demo-sidebar{display:inline-block;flex-shrink:0;padding:6px 9px;border:1px solid #a3bc6b;border-radius:4px;background:#dcecbb;color:#284e26;font-size:10px;font-weight:700;letter-spacing:1px;white-space:nowrap}.ws-demo-banner strong{display:block;font-size:14px;line-height:1.5}.ws-demo-banner p{margin-top:7px;font-size:12px;line-height:1.8;color:#3d5c3d}.ws-demo-sidebar{margin:0 8px 18px}.ws-demo-context{margin-top:20px;padding:12px 14px;border:1px solid #bacd83;border-radius:4px;background:#f1f6e3;color:#284e26;font-size:12px;line-height:1.7}.ws-demo-context strong{display:block;font-size:10px;letter-spacing:.7px;margin-bottom:4px}
@media(max-width:600px){.ws-demo-banner{flex-direction:column;gap:10px;padding:17px 18px}.ws-demo-banner strong{font-size:13px}.ws-demo-shell .ws-topbar>strong{display:none}.ws-demo-topbar{font-size:9px;padding:5px 7px}}
