/* Popup-derived workspaces: stock popup.css, fulfilment styles.css, sales popup-styles.css. */
body,button,input,select,textarea{font-family:"Segoe UI",Arial,sans-serif}
.page.popup-workspace{max-width:960px;margin-inline:auto;padding:14px 18px 36px;font-size:13px;line-height:1.45}
.popup-workspace .page-intro{background:linear-gradient(135deg,#172c3b,#1d3d50);color:#fff;border:0;border-bottom:4px solid #ff9900;border-radius:10px 10px 0 0;padding:17px 20px;margin-bottom:10px}
.popup-workspace .page-intro p{color:#b7ceda}.popup-workspace .page-intro h2{font-size:21px;color:#fff;font-weight:650}
.popup-workspace .panel,.popup-workspace details{padding:14px;border:1px solid #d7e1e7;border-radius:10px;background:#fff;margin:0 0 10px;box-shadow:0 2px 8px #25485c0a;min-width:0}
.popup-workspace h3{font-size:14px}.popup-workspace p{font-size:12px;line-height:1.5}
.popup-workspace .module-workspace{display:block}.popup-workspace .action-panel{display:block}
.popup-workspace .action-panel>*+*{margin-top:10px}
.popup-workspace .popup-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(145deg,#fff,#f4f8fa)}
.popup-hero h3{font-size:17px}.popup-hero .eyebrow{color:#087f87}
.popup-run-meta{display:flex;justify-content:space-between;gap:12px;color:#5d7381;font-size:12px;margin-bottom:10px}
.popup-status{padding:10px 12px;border-left:3px solid #087f87;border-radius:6px;color:#294758;background:#f1f7f8;overflow-wrap:anywhere;margin-top:10px}
.popup-workspace details{padding:0}.popup-workspace summary{display:flex;justify-content:space-between;gap:10px;padding:14px;cursor:pointer;font-weight:650;list-style:none}.popup-workspace summary::after{content:'+';color:#087f87}.popup-workspace details[open]>summary::after{content:'−'}.popup-workspace .details-body{padding:0 14px 14px}
.popup-workspace .settings-body{display:grid;gap:10px}.popup-workspace label{color:#415b69;font-size:12px}.popup-workspace input:not([type=checkbox]),.popup-workspace select,.popup-workspace textarea{min-width:0;width:100%;min-height:38px;padding:8px 10px;border:1px solid #acbec8;border-radius:7px;font:inherit;background:white;color:#182b3b}
.popup-workspace button{min-height:38px;font-size:12px;font-weight:650;border-radius:7px}.popup-workspace button.primary{background:linear-gradient(135deg,#087f87,#159ca4);border-color:#087f87;color:white}
.popup-workspace .action-row{display:flex;gap:8px}.popup-workspace .action-row button{flex:1}
.popup-workspace .switch{padding:0;border:0;background:transparent;display:block;height:22px}.popup-workspace .switch input{width:38px;height:22px;margin:0;inset:0}.popup-workspace .switch:focus-within{outline:2px solid #087f87;outline-offset:3px;border-radius:12px}
.popup-workspace .health-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.popup-workspace .health-item{font-size:11px}.popup-workspace .health-item strong{font-size:12px}
.popup-workspace .mapping-tools{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.mapping-tools input{flex:1 1 220px}.mapping-tools button{flex:0 0 auto}
.popup-workspace .mapping-editor{grid-template-columns:repeat(2,minmax(0,1fr))}.popup-workspace .mapping-editor label{display:grid;gap:4px}
.popup-workspace .table-wrap{max-height:430px;overflow:auto}.popup-workspace table{font-size:12px;width:100%;min-width:540px}.popup-workspace th{color:#fff;font-size:11px;background:#284858}.popup-workspace td{padding:10px 9px}.popup-workspace td small{display:block;color:#5d7381}.popup-workspace .pager{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
.popup-workspace .count-badge{padding:4px 10px;border-radius:99px;color:#087f87;background:#e7f5f5;font-weight:700}.popup-workspace .fulfilment-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.popup-workspace .fulfilment-metrics>div{padding:14px 8px;border-top:3px solid #087f87}.popup-workspace .fulfilment-metrics strong{font-size:25px}.popup-workspace .fulfilment-metrics span{font-size:12px}
.popup-workspace .weekday-picker{grid-template-columns:repeat(7,minmax(0,1fr))}.popup-workspace .weekday-picker label{min-height:48px;font-size:11px!important}.popup-workspace .weekday-picker input{width:16px;height:16px}
.popup-workspace .workflow-overview dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0}.workflow-overview dl>div{padding:10px;border:1px solid #d7e1e7;border-radius:8px;background:#f7fafb}.workflow-overview dt{color:#5d7381;font-size:11px}.workflow-overview dd{margin:4px 0 0;font-weight:650;overflow-wrap:anywhere}
.popup-workspace .order-entry{padding:12px;margin:8px 0;border:1px solid #d7e1e7;border-radius:8px;background:#f7fafb}.order-entry header{display:flex;justify-content:space-between;gap:8px}.order-entry p{overflow-wrap:anywhere}.popup-workspace .shared-links{display:flex;gap:8px;flex-wrap:wrap}.popup-workspace .module-progress{margin-top:10px}.popup-workspace .progress-track i{width:0;transition:width .25s}.popup-workspace .progress-track.indeterminate i{width:35%;animation:workspace-progress 1.4s ease-in-out infinite alternate}
@keyframes workspace-progress{to{transform:translateX(180%)}}
.popup-workspace .workflow-stage-list{display:none}.popup-workspace .panel-head{align-items:center}.popup-workspace .empty{font-size:12px}.popup-workspace a{color:#087f87}.popup-workspace .inline-feedback{color:#5d7381;font-size:12px;min-height:18px}
@media(max-width:768px){.page.popup-workspace{padding:10px 10px max(28px,env(safe-area-inset-bottom))}.popup-workspace button{min-height:44px}.popup-workspace input:not([type=checkbox]),.popup-workspace select,.popup-workspace textarea{font-size:16px;min-height:44px}.popup-workspace .health-grid,.popup-workspace .workflow-overview dl{grid-template-columns:repeat(2,minmax(0,1fr))}.popup-workspace .page-intro{padding:14px}.popup-workspace .page-intro h2{font-size:20px}.popup-workspace .popup-hero{align-items:flex-start;flex-direction:column}.popup-workspace .platform-tabs{position:static}.popup-workspace .job{font-size:12px}.popup-workspace .job small{font-size:11px}.popup-workspace .state{font-size:10px}}
@media(max-width:420px){.popup-workspace .panel{padding:11px}.popup-workspace .field-grid.three{grid-template-columns:1fr}.popup-workspace .option-grid.three{grid-template-columns:1fr}.popup-workspace .mapping-editor{grid-template-columns:1fr}.popup-workspace .mapping-tools input{flex-basis:100%}.popup-workspace .mapping-tools button{flex:1}.popup-workspace .workflow-actions{grid-template-columns:1fr 1fr}.popup-workspace .workflow-actions button{font-size:11px}.popup-workspace .weekday-picker{gap:3px}.popup-workspace .fulfilment-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.popup-workspace .action-row{flex-wrap:wrap}.popup-workspace .popup-run-meta{display:block}}
@media(prefers-reduced-motion:reduce){.popup-workspace *{animation:none!important;transition:none!important}}
