.mp-package{border:1px solid var(--sy-border,#e4e9f2);border-radius:12px;margin-bottom:20px;overflow:hidden;background:var(--sy-surface,#fff)}
.mp-package-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px}.mp-package-header h3{margin:0;font-size:16px;color:var(--sy-text,#303a4c)}.mp-package-header h3 .commerce-status{margin-left:8px;font-size:11px;vertical-align:middle}.mp-package-header p{margin:7px 0 0;font-size:12px;color:var(--sy-muted,#8b96a9)}.mp-package-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.mp-package .table{margin:0}.mp-package .table td small{display:block;margin-top:5px;color:var(--sy-muted,#8b96a9);font-size:11px}.mp-package .table td,.mp-package .table th{padding:13px 18px}.mp-money{font-variant-numeric:tabular-nums;white-space:nowrap}.mp-cost-summary{margin:0 22px 20px;padding:13px 16px;background:var(--sy-surface-alt,#f6f8fc);border-radius:8px;font-size:12px;color:var(--sy-muted,#8090a7)}.mp-cost-summary strong{color:var(--sy-text,#445065);font-size:13px;margin-right:18px}.mp-cost-summary>span{line-height:1.8}.mp-cost-summary details{margin-top:9px}.mp-cost-summary summary{color:var(--sy-primary,#6175fa);cursor:pointer;width:fit-content}.mp-cost-summary .commerce-table-wrap{margin-top:12px;border-radius:8px}.mp-empty{padding:18px 22px 26px;color:var(--sy-muted,#8b96a9);font-size:13px}.mp-estimate-note{font-size:12px;line-height:1.8;color:var(--sy-muted,#8b96a9);margin:15px 0 0}.mp-form-section{border-top:1px solid var(--sy-border,#e4e9f2);padding-top:20px;margin-top:20px}.mp-form-section h3{margin:0 0 10px;font-size:14px}.mp-form-section p{font-size:12px;color:var(--sy-muted,#8b96a9);line-height:1.7}.mp-cost-labels,.mp-cost-editor>[data-mp-cost]{display:grid;grid-template-columns:minmax(120px,2fr) minmax(65px,.7fr) minmax(55px,.65fr) minmax(90px,1fr) minmax(85px,1fr) 40px;gap:10px;align-items:center}.mp-cost-labels{margin:12px 0 8px;color:var(--sy-muted,#8b96a9);font-size:11px}.mp-cost-editor>[data-mp-cost]{margin:8px 0}.mp-cost-editor input{width:100%;min-width:0;border:1px solid var(--sy-border,#dfe5ef);border-radius:7px;padding:10px 11px;background:var(--sy-surface,#fff);color:inherit}.mp-cost-editor output{font-size:13px;font-variant-numeric:tabular-nums}.mp-cost-footer{display:flex;justify-content:space-between;align-items:center;margin-top:13px;gap:16px}.mp-cost-footer b{font-size:13px}.mp-store-checks{display:flex;flex-wrap:wrap;gap:16px;font-size:13px}.mp-store-checks input{accent-color:var(--sy-primary,#6175fa)}.mp-plan-estimate,.mp-defaults{background:var(--sy-surface-alt,#f5f7fc);padding:14px 16px;border-radius:8px;color:var(--sy-text,#52617a);font-size:12px;line-height:1.8}.mp-defaults{margin-bottom:18px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 16px}.mp-defaults small{display:block;flex:1 0 100%;color:var(--sy-muted,#8b96a9)}.mp-policy-warning{background:#fff8e8;color:#a37623;padding:12px 15px;font-size:12px;border-radius:8px}
@media(max-width:1000px){.mp-package-header{align-items:flex-start;flex-direction:column}.mp-package-actions{flex-wrap:wrap}.mp-cost-summary>span{display:block;margin-top:5px}.mp-cost-editor{overflow:auto}.mp-cost-labels,.mp-cost-editor>[data-mp-cost]{min-width:620px}}

/* A single header row with optional explanatory notes. */
.mp-workspace{border:1px solid var(--sy-border,#e4e9f2);border-radius:8px;background:var(--sy-surface,#fff);min-width:0}
.sy-admin #storeBody .mp-workspace-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;min-height:56px;box-sizing:border-box;padding:10px 18px;border-bottom:1px solid var(--sy-border,#e4e9f2)}
.mp-workspace-heading,.mp-workspace-actions{display:flex;align-items:center;gap:12px;min-width:0}.mp-workspace-actions{margin-left:auto}
.mp-workspace-heading h2{margin:0;font-size:14px;font-weight:600;line-height:22px;color:var(--sy-text,#344054)}
.mp-heading-note{position:relative;font-size:12px;color:var(--sy-muted,#8b96a9)}
.mp-heading-note>summary{cursor:pointer;white-space:nowrap;list-style:none;line-height:22px}.mp-heading-note>summary::-webkit-details-marker{display:none}
.mp-heading-note>p{position:absolute;top:26px;left:0;z-index:20;width:300px;max-width:calc(100vw - 80px);margin:0;padding:12px;border:1px solid var(--sy-border,#e4e9f2);border-radius:6px;background:var(--sy-surface,#fff);box-shadow:0 5px 22px #1e30521a;font-size:12px;line-height:20px}
.sy-admin #storeBody .mp-workspace-actions>button{height:34px;min-height:34px;margin:0;padding:6px 12px;font-size:12px;line-height:20px}
.mp-workspace-body{padding:14px 18px}.mp-workspace .mp-package{border-radius:7px;margin-bottom:12px}
.mp-workspace .mp-package-header{padding:10px 14px;min-height:46px;box-sizing:border-box;flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px}
.mp-workspace .mp-package-header h3{font-size:13px;line-height:22px}.mp-workspace .mp-package-header h3>small{font-size:12px;color:var(--sy-muted,#8b96a9);font-weight:400;margin-left:6px}
.mp-workspace .mp-package-header p{margin-top:3px;font-size:12px;line-height:20px}
.sy-admin #storeBody .mp-workspace .mp-package table th{padding:9px 12px;font-size:12px;line-height:20px}
.sy-admin #storeBody .mp-workspace .mp-package table td{padding:8px 12px;font-size:12px;line-height:20px;vertical-align:middle}
.mp-workspace .mp-package table tbody tr{height:56px}
.mp-calculation-help{font-size:12px;color:var(--sy-muted,#8b96a9);line-height:20px}.mp-calculation-help>summary{cursor:pointer;width:fit-content}.mp-calculation-help>p{margin:6px 0 0;max-width:100ch}
@media(max-width:640px){.mp-workspace-heading{flex-wrap:wrap}.mp-workspace-body{padding:12px}.sy-admin #storeBody .mp-workspace-toolbar{padding:10px 12px}.mp-workspace-actions{flex-wrap:wrap;gap:8px}.mp-heading-note>p{left:auto;right:0}}

.modal.sy-form-drawer .mp-plan-package-note{margin:-10px 0 20px}
.modal.sy-form-drawer .mp-plan-estimate{margin:-4px 0 20px;padding:10px 14px}
.modal.sy-form-drawer .mp-plan-state{display:flex;align-items:flex-end;padding-bottom:6px}
.modal.sy-form-drawer .mp-plan-state .commerce-checkbox{margin:0}
.modal.sy-form-drawer .mp-plan-state .commerce-checkbox{display:flex!important;align-items:center;gap:8px;line-height:20px}
.modal.sy-form-drawer .mp-plan-state input[type=checkbox]{flex:none;width:16px;height:16px;margin:0}
