.op-execution-page {
    --ope-accent: #175cd3;
    --ope-accent-strong: #1849a9;
    --ope-canvas: #f3f6fa;
    --ope-surface: #fbfcff;
    --ope-surface-strong: #fff;
    --ope-surface-muted: #e9eef5;
    --ope-choice-hover: #f4f7fd;
    --ope-text: #101828;
    --ope-muted: #475467;
    --ope-border: #c7d1e0;
    --ope-success: #067647;
    --ope-success-strong: #045f3a;
    --ope-success-bg: #ecfdf3;
    --ope-warning: #934f00;
    --ope-warning-bg: #fff7e6;
    --ope-danger: #b42318;
    --ope-danger-strong: #912018;
    --ope-danger-bg: #fff1f0;
    width: min(100%, 72rem);
    margin: 0 auto 4rem;
    color: var(--ope-text);
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.op-execution-page,
.op-execution-page * {
    box-sizing: border-box;
}

.op-execution-page h1,
.op-execution-page h2,
.op-execution-page h3,
.op-execution-page h4,
.op-execution-page p {
    margin-top: 0;
}

.op-execution-back {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    color: var(--ope-muted);
    font-weight: 650;
    text-decoration: none;
}

.op-execution-back:hover {
    color: var(--ope-accent);
    text-decoration: underline;
    text-underline-offset: .2rem;
}

.op-execution-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1.5rem;
}

.op-execution-store,
.op-execution-eyebrow,
.op-execution-role-label {
    color: var(--ope-muted);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.op-execution-store {
    width: fit-content;
    margin-bottom: .5rem;
    padding: .28rem .5rem;
    border-radius: 4px;
    background: var(--ope-surface-muted);
    color: var(--ope-text);
    letter-spacing: .045em;
}

.op-execution-header h1 {
    margin-bottom: .5rem;
    font-size: clamp(1.75rem, 5vw, 2.65rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.op-execution-header__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    color: var(--ope-muted);
}

.op-execution-header__owner {
    display: grid;
    min-width: 11rem;
    gap: .2rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--ope-border);
}

.op-execution-header__owner span {
    color: var(--ope-muted);
    font-size: .8rem;
}

.op-execution-feedback {
    display: grid;
    gap: .2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid;
    border-radius: 0 6px 6px 0;
}

.op-execution-feedback--success {
    border-color: var(--ope-success);
    background: var(--ope-success-bg);
    color: #085d3a;
}

.op-execution-feedback--danger {
    border-color: var(--ope-danger);
    background: var(--ope-danger-bg);
    color: #912018;
}

.op-execution-focus {
    display: grid;
    grid-template-columns: minmax(14rem, 1.15fr) minmax(10rem, .65fr) minmax(14rem, .9fr);
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--ope-border);
    border-left: 5px solid #98a2b3;
    border-radius: 6px;
    background: var(--ope-surface);
}

.op-execution-focus.is-active { border-left-color: var(--ope-accent); }
.op-execution-focus.needs-attention { border-left-color: var(--ope-warning); background: var(--ope-warning-bg); }
.op-execution-focus.is-paused { border-left-color: #667085; background: #f2f4f7; }
.op-execution-focus.is-done { border-left-color: var(--ope-success); }

.op-execution-focus__state h2 {
    margin: .3rem 0 .4rem;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 750;
    letter-spacing: -.02em;
}

.op-execution-focus__state p,
.op-execution-section-header p,
.op-execution-current-step__header p,
.op-execution-finalize p {
    margin-bottom: 0;
    color: var(--ope-muted);
    line-height: 1.5;
}

.op-execution-focus__quantity {
    display: grid;
    gap: .2rem;
    padding: .5rem 1.5rem;
    border-inline: 1px solid var(--ope-border);
}

.op-execution-focus__quantity > span {
    color: var(--ope-muted);
    font-size: .82rem;
}

.op-execution-focus__quantity strong {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    letter-spacing: -.035em;
    line-height: 1.1;
}

.op-execution-focus__quantity small {
    font-size: .48em;
    font-weight: 700;
    letter-spacing: 0;
}

.op-execution-focus__action,
.op-execution-focus__action form,
.op-execution-resume {
    display: grid;
    gap: .75rem;
}

.op-execution-btn {
    min-height: 3rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
}

.op-execution-btn--success,
.op-execution-btn--warning,
.op-execution-btn--danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.op-execution-btn--primary {
    border: 1px solid var(--ope-accent);
    background: var(--ope-accent);
    color: #fff;
}

.op-execution-btn--primary:hover,
.op-execution-btn--primary:focus-visible {
    border-color: var(--ope-accent-strong);
    background: var(--ope-accent-strong);
    color: #fff;
}

.op-execution-btn--secondary,
.op-execution-btn--quiet {
    border: 1px solid var(--ope-border);
    background: transparent;
    color: var(--ope-text);
}

.op-execution-btn--secondary:hover,
.op-execution-btn--quiet:hover {
    border-color: #98a2b3;
    background: #f2f4f7;
    color: var(--ope-text);
}

.op-execution-btn--success {
    border: 1px solid var(--ope-success);
    background: var(--ope-success);
    color: #fff;
}

.op-execution-btn--success:hover,
.op-execution-btn--success:focus-visible {
    border-color: var(--ope-success-strong);
    background: var(--ope-success-strong);
    color: #fff;
}

.op-execution-btn--warning {
    border: 1px solid #d9a441;
    background: var(--ope-warning-bg);
    color: var(--ope-warning);
}

.op-execution-btn--warning:hover,
.op-execution-btn--warning:focus-visible {
    border-color: var(--ope-warning);
    background: #ffedc2;
    color: #6e3d00;
}

.op-execution-btn--danger {
    border: 1px solid var(--ope-danger);
    background: var(--ope-danger);
    color: #fff;
}

.op-execution-btn--danger:hover,
.op-execution-btn--danger:focus-visible {
    border-color: var(--ope-danger-strong);
    background: var(--ope-danger-strong);
    color: #fff;
}

.op-execution-btn:is(:disabled, .disabled) {
    cursor: not-allowed;
    filter: saturate(.55);
    opacity: .55;
}

.op-execution-disclosure {
    margin-bottom: 1rem;
    border: 1px solid var(--ope-border);
    border-radius: 6px;
    background: var(--ope-surface);
}

.op-execution-disclosure > summary {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 1rem;
    cursor: pointer;
    font-weight: 700;
}

.op-execution-disclosure > summary span {
    color: var(--ope-muted);
    font-size: .82rem;
    font-weight: 500;
}

.op-execution-disclosure__body {
    display: grid;
    gap: 1rem;
    padding: 0 1rem 1rem;
}

.op-execution-disclosure--pause {
    margin-left: auto;
    width: min(100%, 35rem);
    border-color: #e7bd72;
}

.op-execution-disclosure--pause > summary {
    border-radius: 5px;
    background: var(--ope-warning-bg);
    color: var(--ope-warning);
}

.op-execution-disclosure--pause[open] > summary {
    border-bottom: 1px solid #e7bd72;
    border-radius: 5px 5px 0 0;
}

.op-execution-disclosure--pause > summary .op-execution-pause-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
}

.op-execution-disclosure--pause > summary .op-execution-action-icon--pause {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.op-execution-action-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: .875rem;
    height: .875rem;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.op-execution-action-icon--play::before {
    width: 0;
    height: 0;
    border-block: .42rem solid transparent;
    border-left: .66rem solid currentColor;
    content: "";
    transform: translateX(.08rem);
}

.op-execution-action-icon--pause {
    gap: 3px;
}

.op-execution-action-icon--pause::before,
.op-execution-action-icon--pause::after {
    width: 3px;
    height: 100%;
    border-radius: 1px;
    background: currentColor;
    content: "";
}

.op-execution-action-icon--stop::before {
    width: .72rem;
    height: .72rem;
    border-radius: 1px;
    background: currentColor;
    content: "";
}

.op-execution-disclosure--pause textarea,
.op-execution-page textarea,
.op-execution-page input[type="text"],
.op-execution-page input[inputmode="decimal"] {
    width: 100%;
    min-height: 3rem;
    padding: .7rem .8rem;
    border: 1px solid #98a2b3;
    border-radius: 6px;
    background: #fff;
    color: var(--ope-text);
    font: inherit;
}

.op-execution-page textarea {
    min-height: 5.5rem;
    resize: vertical;
}

.op-execution-page label {
    font-weight: 650;
}

.op-execution-page label span {
    color: var(--ope-muted);
    font-size: .82rem;
    font-weight: 500;
}

.op-execution-page :is(a, button, input, textarea, summary):focus-visible {
    outline: 3px solid var(--ope-accent);
    outline-offset: 2px;
    box-shadow: none;
}

.op-execution-field,
.op-execution-quantity-field {
    display: grid;
    gap: .4rem;
}

.op-execution-field-help {
    color: var(--ope-muted);
    font-size: .85rem;
}

.op-execution-field-error {
    color: var(--ope-danger);
    font-size: .875rem;
    font-weight: 650;
}

.op-execution-validation-summary:empty,
.op-execution-field-error:empty {
    display: none;
}

.op-execution-validation-summary {
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid var(--ope-danger);
    background: var(--ope-danger-bg);
    color: #912018;
}

.op-execution-pause-note {
    display: grid;
    gap: .35rem;
    color: var(--ope-muted);
    line-height: 1.45;
}

.op-execution-pause-note strong {
    color: var(--ope-text);
}

.op-execution-check {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
}

.op-execution-check input[type="checkbox"] {
    width: 1.35rem;
    height: 1.35rem;
    margin-top: .1rem;
    accent-color: var(--ope-accent);
}

.op-execution-workspace,
.op-execution-plan,
.op-execution-guided,
.op-execution-finalize {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 6px;
    background: var(--ope-surface);
}

.op-execution-workspace,
.op-execution-guided {
    border-top: 3px solid var(--ope-accent);
}

.op-execution-plan,
.op-execution-finalize {
    border: 1px solid var(--ope-border);
}

.op-execution-section-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.op-execution-section-header h2,
.op-execution-finalize h2,
.op-execution-finalize h3 {
    margin: .25rem 0 .35rem;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    font-weight: 750;
    letter-spacing: -.02em;
}

.op-execution-transform {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--ope-canvas);
}

.op-execution-transform > div {
    display: grid;
    gap: .2rem;
}

.op-execution-transform span {
    color: var(--ope-muted);
    font-size: .82rem;
}

.op-execution-transform__arrow,
.op-execution-plan__arrow {
    color: var(--ope-accent) !important;
    font-size: 1.4rem !important;
}

.op-execution-results-group + .op-execution-results-group {
    margin-top: 2rem;
}

.op-execution-results-group__heading {
    margin-bottom: .75rem;
}

.op-execution-results-group__heading h3 {
    margin-bottom: .2rem;
    font-size: 1.15rem;
    font-weight: 750;
}

.op-execution-results-group__heading p {
    margin-bottom: 0;
    color: var(--ope-muted);
}

.op-execution-plan__items {
    display: grid;
    gap: .35rem;
    margin: .75rem 0 0;
    padding-left: 1.1rem;
    color: var(--ope-muted);
}

.op-execution-item-list {
    border-top: 1px solid var(--ope-border);
}

.op-execution-quantity-row {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(13rem, .75fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--ope-border);
}

.op-execution-quantity-row--output {
    background: #f6f9fd;
    padding-inline: 1rem;
}

.op-execution-quantity-row--assumed {
    align-items: start;
}

.op-execution-assumed-quantity {
    display: grid;
    gap: .25rem;
    justify-items: start;
}

.op-execution-assumed-quantity__label {
    color: var(--ope-muted);
    font-size: .82rem;
    font-weight: 650;
}

.op-execution-assumed-quantity > strong {
    font-size: 1.15rem;
    font-variant-numeric: tabular-nums;
}

.op-execution-assumed-quantity__origin {
    color: var(--ope-muted);
    font-size: .86rem;
}

.op-execution-assumed-quantity__actions,
.op-execution-inline-editor__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .35rem;
}

.op-execution-inline-editor {
    display: grid;
    width: min(100%, 24rem);
    gap: .5rem;
    margin-top: .5rem;
    padding: .85rem;
    border-radius: 6px;
    background: #f2f4f7;
}

.op-execution-inline-editor[hidden] {
    display: none;
}

.op-execution-inline-editor > label {
    font-weight: 650;
}

.op-execution-partial-consumption {
    display: grid;
    gap: .15rem;
    margin-top: .75rem;
    padding: .75rem 1rem;
    border-left: 3px solid var(--ope-accent);
    background: #f6f9fd;
}

.op-execution-partial-consumption[hidden] { display: none; }
.op-execution-partial-consumption span,
.op-execution-partial-consumption small { color: var(--ope-muted); }
.op-execution-partial-consumption strong { font-variant-numeric: tabular-nums; }

.op-execution-quantity-row.is-editing {
    background: #eef4ff;
}

.op-execution-quantity-row__identity {
    display: grid;
    gap: .25rem;
}

.op-execution-quantity-row__identity strong {
    font-size: 1.02rem;
}

.op-execution-quantity-row__identity span {
    color: var(--ope-muted);
    font-size: .88rem;
}

.op-execution-input-unit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid #98a2b3;
    border-radius: 6px;
    background: #fff;
}

.op-execution-input-unit:focus-within {
    outline: 3px solid var(--ope-accent);
    outline-offset: 2px;
}

.op-execution-input-unit input {
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

.op-execution-input-unit input[readonly] {
    background: #f2f4f7;
    color: #667085;
}

.op-execution-input-unit > span {
    padding: 0 .8rem;
    color: var(--ope-muted);
    font-weight: 700;
}

.op-execution-inline-action {
    width: fit-content;
    min-height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ope-accent);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: .18rem;
}

.op-execution-finalize {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
    background: var(--ope-canvas);
}

.op-execution-finalize__actions,
.op-execution-step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.op-execution-plan__flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.op-execution-plan__flow h3 {
    margin-bottom: .75rem;
    font-size: 1rem;
    font-weight: 750;
}

.op-execution-plan__item {
    display: grid;
    gap: .2rem;
    padding: .7rem 0;
    border-top: 1px solid var(--ope-border);
}

.op-execution-plan__item span { color: var(--ope-muted); }

.op-execution-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: .5rem;
    margin-bottom: 1rem;
}

.op-execution-step {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: .65rem;
    min-height: 3.5rem;
    align-items: center;
    padding: .6rem;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--ope-muted);
    text-align: left;
}

.op-execution-step:hover:not(:disabled) { background: var(--ope-canvas); }
.op-execution-step.is-current { border-color: var(--ope-accent); background: #eef4ff; color: var(--ope-text); }
.op-execution-step.is-complete { color: var(--ope-text); }
.op-execution-step:disabled { cursor: not-allowed; opacity: .55; }

.op-execution-step__number {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--ope-border);
    border-radius: 50%;
    font-weight: 750;
}

.op-execution-step.is-current .op-execution-step__number { border-color: var(--ope-accent); background: var(--ope-accent); color: #fff; }
.op-execution-step.is-complete .op-execution-step__number { border-color: #98a2b3; background: #f2f4f7; }
.op-execution-step strong,
.op-execution-step small { display: block; }
.op-execution-step small { margin-top: .1rem; color: var(--ope-muted); }

.op-execution-current-step {
    padding: 1.25rem;
    border: 1px solid var(--ope-border);
    border-radius: 6px;
    background: var(--ope-surface-strong);
}

.op-execution-current-step__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.op-execution-current-step__header h3 {
    margin: .25rem 0 .35rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 750;
}

.op-execution-state {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    gap: .5rem;
    width: fit-content;
    padding: .25rem .6rem;
    border: 1px solid var(--ope-border);
    border-radius: 6px;
    background: #f2f4f7;
    color: var(--ope-text);
    font-size: .82rem;
    font-weight: 750;
    white-space: nowrap;
}

.op-execution-state::before {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #98a2b3;
    content: "";
}

.op-execution-state.is-active::before { background: var(--ope-accent); }
.op-execution-state.needs-attention { border-color: #efc276; background: var(--ope-warning-bg); color: #7a4400; }
.op-execution-state.needs-attention::before { background: var(--ope-warning); }
.op-execution-state.is-paused::before { background: #667085; }

.op-execution-step-primary { display: grid; margin-bottom: 1rem; }

.op-execution-step-attention {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 4px solid #667085;
    background: #f2f4f7;
}

.op-execution-step-attention > div { display: grid; gap: .2rem; }
.op-execution-step-attention span { color: var(--ope-muted); }

.op-execution-guided-form {
    display: grid;
    gap: 1rem;
}

.op-execution-step-work {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--ope-border);
}

.op-execution-step-work__input,
.op-execution-step-work__support,
.op-execution-step-work__output {
    display: grid;
    align-content: start;
    gap: .6rem;
}

.op-execution-step-work__output {
    padding-left: 1rem;
    border-left: 1px solid var(--ope-border);
}

.op-execution-step-work__support { grid-column: 1; }
.op-execution-step-work h4 { margin-bottom: 0; font-size: 1.05rem; }
.op-execution-step-work p { margin-bottom: 0; color: var(--ope-muted); }

.op-execution-guided-item {
    display: grid;
    gap: .45rem;
    padding: .75rem 0;
    border-top: 1px solid var(--ope-border);
}

.op-execution-guided-item > div:first-of-type { display: grid; gap: .15rem; }
.op-execution-guided-item span { color: var(--ope-muted); font-size: .88rem; }
.op-execution-guided-item small { width: fit-content; padding: .15rem .35rem; background: #f2f4f7; color: var(--ope-muted); }

.op-execution-autosave {
    min-height: 1.5rem;
    color: var(--ope-muted);
    font-size: .88rem;
    font-weight: 650;
}

.op-execution-autosave[data-state="saved"] { color: var(--ope-success); }
.op-execution-autosave[data-state="error"] { color: var(--ope-danger); }

.op-execution-step-actions {
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ope-border);
}

.op-execution-step-navigation {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
}

.op-execution-step-history { margin-top: 1rem; margin-bottom: 0; }

.op-execution-history {
    margin-top: 1.5rem;
}

.op-execution-history__item {
    display: grid;
    grid-template-columns: 9rem minmax(10rem, .8fr) minmax(10rem, 1fr);
    gap: .5rem 1rem;
    padding: .7rem 0;
    border-top: 1px solid var(--ope-border);
}

.op-execution-history__item time,
.op-execution-history__item span,
.op-execution-history__item p {
    color: var(--ope-muted);
    font-size: .88rem;
}

.op-execution-history__item p {
    grid-column: 2 / -1;
    margin: 0;
}

.op-execution-exceptional {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.op-execution-modal-warning {
    padding: .8rem;
    border-left: 4px solid var(--ope-danger);
    background: var(--ope-danger-bg);
    color: #912018;
}

.op-execution-decision-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--ope-border);
    border-radius: 8px;
    background: var(--ope-surface-strong);
}

.op-execution-decision-modal .modal-header,
.op-execution-decision-modal .modal-footer {
    border-color: var(--ope-border);
}

.op-execution-decision-modal .modal-header {
    align-items: flex-start;
    gap: 1rem;
}

.op-execution-decision-modal .modal-title {
    margin: .2rem 0 0;
    color: var(--ope-text);
    font-weight: 750;
    letter-spacing: -.01em;
}

.op-execution-decision-modal__intro {
    margin-bottom: 1rem;
    color: var(--ope-muted);
}

.op-execution-decision-list {
    display: grid;
    gap: .75rem;
}

.op-execution-decision {
    display: grid;
    min-height: 5.5rem;
    width: 100%;
    gap: .25rem;
    padding: 1rem;
    border: 1px solid var(--ope-border);
    border-radius: 6px;
    background: var(--ope-surface);
    color: var(--ope-text);
    text-align: left;
}

.op-execution-decision:hover,
.op-execution-decision:focus-visible {
    border-color: var(--ope-accent);
    background: var(--ope-choice-hover);
}

.op-execution-decision strong {
    font-size: 1rem;
    font-weight: 750;
}

.op-execution-decision span {
    color: var(--ope-muted);
    font-size: .9rem;
    line-height: 1.4;
}

.op-execution-queue__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ope-border);
}

.op-execution-queue__header h1 {
    margin: .25rem 0 .35rem;
    font-size: clamp(1.7rem, 5vw, 2.35rem);
    font-weight: 750;
    letter-spacing: -.03em;
}

.op-execution-queue__header p { margin-bottom: 0; color: var(--ope-muted); }

.op-execution-queue__count {
    display: grid;
    justify-items: end;
}

.op-execution-queue__count strong { font-size: 1.7rem; line-height: 1; }
.op-execution-queue__count span { color: var(--ope-muted); font-size: .82rem; }

.op-execution-queue__list {
    border-top: 1px solid var(--ope-border);
}

.op-execution-order {
    display: grid;
    grid-template-columns: .25rem minmax(14rem, 1.5fr) minmax(9rem, .7fr) minmax(8rem, .55fr) minmax(10rem, .75fr) auto;
    gap: 1rem;
    align-items: center;
    min-height: 7.5rem;
    padding: 1rem .5rem 1rem 0;
    border-bottom: 1px solid var(--ope-border);
    color: var(--ope-text);
    text-decoration: none;
}

.op-execution-order:hover { background: #f7f9fc; color: var(--ope-text); }
.op-execution-order:focus-visible { position: relative; z-index: 1; }
.op-execution-order__attention { align-self: stretch; background: #98a2b3; }
.op-execution-order.is-active .op-execution-order__attention { background: var(--ope-accent); }
.op-execution-order.needs-attention .op-execution-order__attention { background: var(--ope-warning); }

.op-execution-order__identity,
.op-execution-order__state,
.op-execution-order__quantity,
.op-execution-order__owner {
    display: grid;
    gap: .2rem;
}

.op-execution-order__store {
    color: var(--ope-muted);
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.op-execution-order h2 {
    margin-bottom: .2rem;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -.015em;
}

.op-execution-order__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .75rem;
    color: var(--ope-muted);
    font-size: .82rem;
}

.op-execution-order__note,
.op-execution-order__quantity > span,
.op-execution-order__owner > span {
    color: var(--ope-muted);
    font-size: .8rem;
}

.op-execution-order__quantity strong { font-size: 1.12rem; }
.op-execution-order__owner strong { overflow-wrap: anywhere; font-size: .9rem; }

.op-execution-order__destination {
    display: flex;
    min-height: 3rem;
    align-items: center;
    gap: .5rem;
    color: var(--ope-accent);
    font-weight: 700;
    white-space: nowrap;
}

.op-execution-empty {
    display: grid;
    max-width: 34rem;
    justify-items: start;
    gap: .4rem;
    padding: 2rem 0;
}

.op-execution-empty__marker { width: 3rem; height: .35rem; margin-bottom: .5rem; background: var(--ope-border); }
.op-execution-empty h2 { margin-bottom: 0; font-size: 1.35rem; }
.op-execution-empty p { margin-bottom: 0; color: var(--ope-muted); }

@media (max-width: 991.98px) {
    .op-execution-page { width: 100%; }

    .op-execution-focus {
        grid-template-columns: minmax(0, 1fr) minmax(10rem, .6fr);
    }

    .op-execution-focus__quantity {
        padding-right: 0;
        border-right: 0;
    }

    .op-execution-focus__action {
        grid-column: 1 / -1;
    }

    .op-execution-focus__action .op-execution-btn {
        min-height: 3.5rem;
        font-size: 1.05rem;
    }

    .op-execution-order {
        grid-template-columns: .25rem minmax(0, 1fr) minmax(10rem, .65fr);
    }

    .op-execution-order__state { grid-column: 3; grid-row: 1; }
    .op-execution-order__quantity { grid-column: 2; }
    .op-execution-order__owner { grid-column: 3; }
    .op-execution-order__destination { grid-column: 2 / -1; justify-content: flex-end; }
}

@media (max-width: 575.98px) {
    .op-execution-page { margin-bottom: 2rem; }

    .op-execution-header,
    .op-execution-queue__header {
        grid-template-columns: 1fr;
        display: grid;
        gap: 1rem;
    }

    .op-execution-header__owner {
        padding: .75rem 0 0;
        border-top: 1px solid var(--ope-border);
        border-left: 0;
    }

    .op-execution-queue__count { justify-items: start; }

    .op-execution-focus {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.1rem;
    }

    .op-execution-focus__quantity {
        padding: 1rem 0;
        border-block: 1px solid var(--ope-border);
        border-inline: 0;
    }

    .op-execution-focus__action { grid-column: 1; }

    .op-execution-workspace,
    .op-execution-plan,
    .op-execution-guided,
    .op-execution-finalize {
        padding: 1rem;
    }

    .op-execution-transform,
    .op-execution-plan__flow {
        grid-template-columns: 1fr;
    }

    .op-execution-transform__arrow,
    .op-execution-plan__arrow {
        transform: rotate(90deg);
        justify-self: center;
    }

    .op-execution-quantity-row,
    .op-execution-step-work {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .op-execution-quantity-row--output { background: #f6f9fd; }

    .op-execution-assumed-quantity,
    .op-execution-inline-editor {
        width: 100%;
    }

    .op-execution-assumed-quantity__actions,
    .op-execution-inline-editor__actions {
        width: 100%;
    }

    .op-execution-assumed-quantity__actions .op-execution-btn,
    .op-execution-inline-editor__actions .op-execution-btn {
        min-height: 2.75rem;
        flex: 1 1 8rem;
    }

    .op-execution-step-work__output {
        padding: 1rem 0 0;
        border-top: 1px solid var(--ope-border);
        border-left: 0;
    }

    .op-execution-step-work__support { grid-column: auto; }

    .op-execution-current-step__header,
    .op-execution-step-attention {
        grid-template-columns: 1fr;
        display: grid;
    }

    .op-execution-finalize__actions,
    .op-execution-step-actions {
        display: grid;
    }

    .op-execution-finalize__actions .op-execution-btn,
    .op-execution-step-actions .op-execution-btn,
    .op-execution-step-actions form,
    .op-execution-step-attention form,
    .op-execution-step-attention .op-execution-btn {
        width: 100%;
    }

    .op-execution-history__item {
        grid-template-columns: 1fr;
        gap: .2rem;
    }

    .op-execution-history__item p { grid-column: 1; }

    .op-execution-order {
        grid-template-columns: .25rem minmax(0, 1fr);
        gap: .75rem;
        min-height: auto;
        padding: 1rem .25rem 1rem 0;
    }

    .op-execution-order__attention { grid-row: 1 / 6; }
    .op-execution-order__identity,
    .op-execution-order__state,
    .op-execution-order__quantity,
    .op-execution-order__owner,
    .op-execution-order__destination {
        grid-column: 2;
        grid-row: auto;
    }

    .op-execution-order__quantity,
    .op-execution-order__owner {
        padding-top: .45rem;
        border-top: 1px solid var(--ope-border);
    }

    .op-execution-order__destination { justify-content: space-between; min-height: 3rem; }
}

.op-execution-divergence-dialog {
    width: min(32rem, calc(100% - 2rem));
    padding: 1.5rem;
    border: 1px solid #e5b94d;
    border-radius: 8px;
    color: var(--ope-text);
    background: #fffdf7;
    box-shadow: 0 1rem 2.5rem rgb(15 23 42 / 18%);
}

.op-execution-divergence-dialog::backdrop {
    background: rgb(15 23 42 / 42%);
}

.op-execution-divergence-dialog__icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    color: #5f4500;
    background: #fbe7a8;
    font-weight: 750;
}

.op-execution-divergence-dialog h2 {
    margin: .25rem 0 .65rem;
    font-size: 1.25rem;
}

.op-execution-divergence-dialog p {
    margin: 0;
    color: var(--ope-text-muted);
}

.op-execution-divergence-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    margin-top: 1.5rem;
}

.op-execution-btn--warning {
    border-color: #c89316;
    color: #3e3008;
    background: #f8d978;
}

.op-execution-btn--warning:hover,
.op-execution-btn--warning:focus-visible {
    border-color: #a87508;
    color: #2f2406;
    background: #f3cb4d;
}

@media (max-width: 575.98px) {
    .op-execution-divergence-dialog__actions {
        display: grid;
    }

    .op-execution-divergence-dialog__actions .op-execution-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .op-execution-page *,
    .op-execution-page *::before,
    .op-execution-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

.op-execution-feedback--info {
    border-color: #b2ccff;
    background: #eff8ff;
    color: #175cd3;
}

.op-execution-timer {
    display: block;
    margin-top: .25rem;
    color: var(--ope-text);
    font-size: clamp(1.7rem, 5vw, 2.35rem);
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}

.op-execution-orientations {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #fdb022;
    border-radius: var(--ope-radius-sm);
    background: #fffaeb;
    text-align: left;
}

.op-execution-orientations h3 {
    margin: .2rem 0 .5rem;
    font-size: 1rem;
}

.op-execution-orientations p {
    margin-bottom: .85rem;
    white-space: pre-line;
}

.op-execution-pause-ownership {
    display: grid;
    gap: .65rem;
    margin: .9rem 0 1.15rem;
    padding: 0;
    border: 0;
}

.op-execution-pause-ownership legend {
    margin-bottom: .35rem;
    font-weight: 700;
}

.op-execution-pause-ownership label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .7rem;
    align-items: start;
    padding: .85rem;
    border: 1px solid var(--ope-border);
    border-radius: var(--ope-radius-sm);
    background: #fff;
    cursor: pointer;
}

.op-execution-pause-ownership label:has(input:checked) {
    border-color: var(--ope-accent);
    box-shadow: 0 0 0 2px rgba(46, 144, 250, .12);
}

.op-execution-pause-ownership label strong {
    display: block;
}

@media (max-width: 767.98px) {
    .op-execution-disclosure--pause[open] .op-execution-disclosure__body > .op-execution-btn {
        position: sticky;
        bottom: .75rem;
        z-index: 4;
        width: 100%;
        box-shadow: 0 8px 24px rgba(16, 24, 40, .2);
    }

    .op-execution-finalize__actions {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin: 0 -.75rem -.75rem;
        padding: .75rem;
        border-top: 1px solid var(--ope-border);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -8px 24px rgba(16, 24, 40, .12);
        backdrop-filter: blur(6px);
    }

    .op-execution-finalize.js-single-submit-form > .op-execution-btn:last-child {
        position: sticky;
        bottom: .75rem;
        z-index: 5;
        width: 100%;
        box-shadow: 0 8px 24px rgba(16, 24, 40, .2);
    }
}
.op-execution-substitute-tag {
    display: block;
    color: var(--op-text-secondary, #475467);
    font-size: .8125rem;
    font-weight: 600;
}

.op-execution-substitute-picker {
    margin-top: .75rem;
}

.op-execution-substitute-picker__panel {
    display: grid;
    gap: .5rem;
    margin-top: .5rem;
    max-width: 30rem;
}

.op-execution-substitute-picker__panel select {
    min-height: 2.75rem;
    border: 1px solid #98a2b3;
    border-radius: 6px;
    background: #fff;
    padding: .5rem .75rem;
}
