/* Reuse Claude portal typography, controls, ink and dividers. */
.mh-flow-codex{font-family:inherit;color:var(--ink);padding:14px 0;margin:10px 0;border-top:1px solid var(--line-soft);overflow-wrap:anywhere}
.mh-flow-codex .label{font-size:14px;font-weight:700;margin:0 0 8px}
.mh-flow-codex .hint,.mh-flow-sync-codex{font-size:12px;line-height:1.65;color:var(--ink-mid);margin:6px 0}
.mh-flow-codex .actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mh-flow-history-codex{padding:22px;max-height:80vh;overflow:auto;font-family:inherit;color:var(--ink)}
.mh-flow-history-codex p{padding:10px 0;border-bottom:1px solid var(--line-soft);font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.mh-flow-codex button{font-family:inherit;max-width:100%;white-space:normal}
@media(max-width:600px){.mh-flow-codex .actions{align-items:stretch}.mh-flow-codex .actions .btn{width:100%}}

.offer-progress[hidden],[data-flow-legacy-wait][hidden],[data-flow-legacy][hidden]{display:none!important}
.mh-flow-codex[data-flow-compact]{border:0;padding:0;margin:4px 0}

/* v2: Claude v248 list/detail and v414 action-card scales; no global theme overrides. */
.mh-flow-codex[data-flow-compact]{display:block;margin:0;padding:0;border:0;white-space:normal;line-height:1.5}
.mh-flow-compact-label-codex{font-size:11px;font-weight:600;color:var(--purple-deep)}
.mh-flow-codex[data-phase="completed"] .mh-flow-compact-label-codex{color:var(--green,#12805C)}
.mh-flow-codex[data-phase="need_materials"] .mh-flow-compact-label-codex,
.mh-flow-codex[data-phase="materials_returned"] .mh-flow-compact-label-codex{color:#C2410C}
.aq-item .mh-flow-codex{padding:0;margin:3px 0 0;border:0}
.aq-item .mh-flow-codex .label{font-size:12px;margin:0;line-height:1.5;color:#C2410C}
.aq-item .mh-flow-codex .hint{font-size:12px;line-height:1.55;margin:3px 0 0}
.aq-item .mh-flow-policy-codex{display:none}
.mh-offer-detail-body-codex{flex:1;min-width:0}
.mh-offer-detail-codex .mh-flow-codex{padding:0;margin:0;border:0}
.mh-offer-detail-codex .mh-flow-codex .label{font-family:'Sora',sans-serif;font-size:13px;font-weight:800;color:#92400E;margin:0 0 4px;line-height:1.5}
.mh-offer-detail-codex .mh-flow-codex .hint{font-size:12px;line-height:1.55;color:#78350F;margin:4px 0}
.mh-offer-detail-actions-codex{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.mh-offer-detail-actions-codex:empty{display:none}
.mh-offer-detail-actions-codex .btn{margin:0!important}
.mh-offer-detail-codex[data-phase="completed"]{background:linear-gradient(135deg,#ECFDF5,#F0FDF4);border-color:#10B981}
.mh-offer-detail-codex[data-phase="completed"] .label{color:#065F46}
.mh-offer-detail-codex[data-phase="completed"] .hint{color:#047857}
.mh-flow-codex[data-flow-full]:has(.mh-material-action-codex){padding:0;margin:0;border:0}
.mh-material-action-codex .whats-next-desc p{margin:8px 0}
.mh-material-action-codex .whats-next-desc ul{margin:8px 0;padding-left:20px}
.mh-material-action-codex .whats-next-desc li+li{margin-top:6px}
.mh-material-action-codex .whats-next-cta{margin-top:12px;white-space:normal;line-height:1.5;justify-content:center;max-width:100%}
@media(max-width:600px){.mh-material-action-codex{padding:18px}.mh-material-action-codex .whats-next-cta{width:100%}.mh-offer-detail-actions-codex .btn{max-width:100%;white-space:normal}}
