.ops-dialog{width:min(1000px,calc(100vw - 24px));max-width:1000px;max-height:calc(100dvh - 24px);padding:0;border:1px solid #c8d6ce;border-radius:18px;color:#193d32;background:#f7f9f6;overflow:auto}.ops-dialog::backdrop,.ops-form-dialog::backdrop{background:rgba(15,37,28,.58)}.ops-heading{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 24px;background:#fff;border-bottom:1px solid #d8e2d8}.ops-heading h2{margin:0;font-family:Georgia,serif;font-size:1.75rem;font-weight:400}.ops-close{flex-shrink:0}.ops-body{padding:20px 24px 28px}.ops-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.ops-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}.ops-toolbar-actions>button{flex-shrink:0;max-width:100%}.ops-actor{min-width:0;margin:0;overflow-wrap:anywhere;font-weight:600}.ops-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #d8e2d8;padding:18px 0;margin-bottom:20px}.ops-tabs button[aria-pressed=true]{background:#185d46;border-color:#185d46;color:#fff}.ops-section{min-width:0}.ops-section h3{margin:0 0 12px}.ops-section>.ops-section{border:1px solid #d8e2d8;border-radius:12px;padding:18px;margin:16px 0 20px;background:#edf4ee}.ops-section>.ops-section form{max-width:650px}.ops-state{font-weight:600}.ops-record{padding:18px 0;border-bottom:1px solid #d8e2d8;overflow-wrap:anywhere}.ops-record h4{font-size:1rem;margin:0 0 8px}.ops-record p{margin:8px 0}.ops-badge{display:inline-block;margin:0 8px 5px 0;border-radius:6px;padding:4px 8px;background:#e6eee7;font-size:.8rem}.ops-meta{display:block;color:#66796d;font-size:.82rem;line-height:1.5;overflow-wrap:anywhere}.ops-actions{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:10px;margin-top:14px}.ops-dialog button,.ops-dialog .button,.ops-dialog select,.ops-form-dialog button,.ops-form-dialog .button,.ops-form-dialog select,.ops-form-dialog input:not([type=checkbox]){min-height:44px}.ops-dialog button,.ops-form-dialog button,.ops-dialog .button,.ops-form-dialog .button{white-space:normal;overflow-wrap:anywhere}.ops-form-dialog{width:min(640px,calc(100vw - 24px));max-width:640px;max-height:calc(100dvh - 24px);padding:24px;border:1px solid #c8d6ce;border-radius:16px;overflow:auto;color:#193d32;background:#fff}.ops-form-dialog h2{margin:0 0 14px}.ops-form-dialog>.button,.ops-form-dialog>button{margin:8px 8px 0 0;display:inline-block}.ops-field{min-width:0}.ops-field label{margin-top:14px}.ops-field input,.ops-field select,.ops-field textarea{width:100%;max-width:100%;min-width:0}.ops-field select{padding:10px 12px;border:1px solid #afc5b7;border-radius:8px;background:#fff;color:inherit;font:inherit}.ops-field textarea{resize:vertical}.ops-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ops-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 0;margin:4px 0;line-height:1.5;cursor:pointer}.ops-check input[type=checkbox]{width:22px;min-width:22px;height:22px;margin:0;accent-color:#185d46}.ops-check span{min-width:0;overflow-wrap:anywhere}.ops-presets{min-width:0;border:1px solid #d8e2d8;border-radius:10px;padding:12px 16px;margin:20px 0}.ops-presets .ops-actions{gap:8px}.ops-presets button{max-width:100%;flex:1 1 200px}.ops-capabilities{min-width:0;border:1px solid #d8e2d8;border-radius:10px;padding:12px 16px;margin:20px 0}.ops-capability{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.6fr);align-items:center;gap:16px;padding:8px 0;border-bottom:1px solid #edf2eb}.ops-capability:last-child{border-bottom:0}.ops-capability .ops-field label{margin:0 0 5px;font-size:.78rem}.ops-permissions{padding-left:20px;font-size:.86rem;line-height:1.65}.ops-error{color:#a22d20;font-size:.9rem;line-height:1.5;overflow-wrap:anywhere}.ops-error:empty{display:none}.ops-report-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin:0 0 16px}.ops-report-filters label{margin-top:0}.ops-report-filters+.ops-error{margin-bottom:16px}.ops-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.ops-metrics>div{padding:16px;background:#fff;border:1px solid #d8e2d8;border-radius:10px;min-width:0}.ops-metrics dt{font-size:.8rem;color:#66796d}.ops-metrics dd{margin:8px 0 0;font-size:1.2rem;font-weight:650;overflow-wrap:anywhere}.ops-record-table{margin:18px 0}.ops-record-table summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}.ops-table-scroll{max-width:100%;overflow:auto}.ops-table-scroll table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.85rem}.ops-table-scroll th,.ops-table-scroll td{padding:10px 8px;text-align:left;border-bottom:1px solid #d8e2d8;vertical-align:top;overflow-wrap:anywhere}.ops-signal{border-left:3px solid #9cb6a4;padding-left:14px;margin-top:12px}.ops-dialog:focus-visible,.ops-form-dialog:focus-visible{outline:3px solid #75b499;outline-offset:2px}
@media(max-width:600px){.ops-heading{padding:14px 16px}.ops-body{padding:16px}.ops-form-dialog{padding:18px}.ops-tabs{gap:6px}.ops-tabs button{flex:1 1 calc(50% - 6px);padding:10px}.ops-form-grid{grid-template-columns:1fr;gap:0}.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-report-filters>button{grid-column:1/-1}.ops-capability{grid-template-columns:1fr;gap:0;padding:10px 0}.ops-capability .ops-field{padding-left:34px}.ops-capabilities{padding:10px 12px}.ops-actions>*{flex:1 1 auto}.ops-nav-button{padding:10px;font-size:.84rem}}
@media(max-width:360px){.ops-dialog,.ops-form-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.ops-heading{padding:12px}.ops-body{padding:12px}.ops-heading h2{font-size:1.45rem}.ops-metrics{grid-template-columns:1fr}.ops-report-filters{grid-template-columns:1fr}.ops-tabs button{font-size:.85rem}.ops-form-dialog{padding:14px}.ops-close{padding:10px}}
.ops-responsibilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.ops-department{min-width:0;padding:18px;background:#fff;border:1px solid #d8e2d8;border-radius:12px}.ops-department h4{font-size:1.05rem;margin:0 0 12px;overflow-wrap:anywhere}.ops-department-actions{font-size:.88rem;line-height:1.6;padding-left:20px;margin:0 0 14px}.ops-department-people{min-width:0;margin:14px 0 0;padding:8px 0 0;border:0}.ops-department-people legend{font-size:.9rem;font-weight:600}.ops-department-people .ops-check{margin:0}.ops-unavailable{font-weight:600;color:#66796d}.ops-responsibilities>.ops-error,.ops-responsibilities>.primary,.ops-responsibilities>.ops-warning,.ops-responsibilities>p{grid-column:1/-1}.ops-warning{background:#fff4dd;border-radius:8px;padding:12px;font-size:.88rem;line-height:1.5;overflow-wrap:anywhere}.ops-advanced{margin-top:24px;background:#edf2eb}.ops-advanced>summary{min-height:44px;display:flex;align-items:center}.ops-advanced[open]>summary{margin-bottom:12px}.ops-review-department,.ops-access-change{border-bottom:1px solid #d8e2d8;padding:14px 0;overflow-wrap:anywhere}.ops-review-department h3,.ops-access-change h4{margin:0 0 8px}.ops-review-department p,.ops-access-change p{margin:6px 0}.ops-access-change .ops-permissions{margin-top:6px}.ops-advanced .ops-section{margin-top:18px}@media(max-width:600px){.ops-responsibilities{grid-template-columns:1fr;gap:12px}.ops-department{padding:15px}.ops-advanced{padding:14px}}

.ops-people-picker{min-width:0;border-top:1px solid var(--line,#cbd9d1)}.ops-people-picker>summary{min-height:44px;display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:650;overflow-wrap:anywhere}.ops-people-picker>summary::before{content:"+";font-size:1.25rem;flex-shrink:0}.ops-people-picker[open]>summary::before{content:"−"}.ops-selected-people{margin:.6rem 0;overflow-wrap:anywhere}.ops-people-picker .ops-department-people{margin-top:.4rem}
.ops-sharing-table{display:grid;gap:12px;min-width:0;margin:16px 0}.ops-sharing-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 16px;padding:14px;background:#fff;border:1px solid #d8e2d8;border-radius:10px;min-width:0;overflow-wrap:anywhere}.ops-sharing-row>strong{grid-column:1/-1}.ops-sharing-row>span{min-width:0;line-height:1.5}.ops-dialog .ops-field input:not([type=checkbox]){min-height:44px}.ops-marketing-campaigns{min-width:0;margin-top:20px}.ops-marketing-campaigns .row-actions{flex-wrap:wrap}.ops-marketing-campaigns .row-actions>*{max-width:100%;overflow-wrap:anywhere}.ops-marketing-campaigns .ps-admin-campaign{overflow-wrap:anywhere}@media(max-width:600px){.ops-sharing-row{grid-template-columns:1fr;padding:12px}.ops-sharing-row>strong{grid-column:auto}}

/* Marketing allocations use the existing Operations controls and neutral panels. */
.mp-host,.mp-request-lines,.mp-request-line,.mp-line,.mp-allocation-line{min-width:0;max-width:100%}.mp-request-line,.mp-line{padding:14px 0;border-bottom:1px solid #d8e2d8}.mp-request-line>h4,.mp-line>h4{margin:0 0 8px;overflow-wrap:anywhere}.mp-allocation-line{padding:10px 0;border-top:1px solid #edf2eb;overflow-wrap:anywhere}.mp-allocation-line p{margin:6px 0}.mp-form-dialog input:not([type=checkbox]),.mp-form-dialog select,.mp-form-dialog button{min-height:44px}.mp-form-dialog .ops-actions{position:sticky;bottom:0;padding-top:12px;background:#fff}.mp-form-dialog .ops-field label{display:block;line-height:1.4}.mp-issues>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:600}.mp-tabs button{min-height:44px}.mp-host strong,.mp-host h3,.mp-host h4{overflow-wrap:anywhere}.mp-form-dialog{box-sizing:border-box}.mp-form-dialog input[type=number]{-moz-appearance:textfield}.mp-form-dialog input[type=number]::-webkit-inner-spin-button,.mp-form-dialog input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}@media(max-width:600px){.mp-form-dialog .ops-actions>*{flex:1 1 130px}.mp-host .ops-toolbar-actions{width:100%}.mp-host .ops-toolbar-actions>button{flex:1 1 120px}}

.mp-host button,.mp-host .button,.mp-host select,.mp-host input:not([type=checkbox]){min-height:44px}.mp-host .ops-tabs button[aria-pressed=true]{background:#185d46;border-color:#185d46;color:#fff}
