.party-workflow{background:#fff;border:1px solid #e7dcd8;border-radius:18px;padding:24px;margin-top:18px;max-width:100%;color:#49181c;white-space:normal}.workflow-heading{display:flex;gap:16px;align-items:center;border-bottom:1px solid #efe8e5;padding-bottom:16px;margin-bottom:16px}.workflow-heading img{width:62px;height:76px;object-fit:contain}.workflow-heading h3{font-size:23px;margin:3px 0}.workflow-heading p{font-size:13px;margin:4px 0;color:#7a5659}.workflow-heading small{color:#791a22}.party-workflow fieldset{border:0;padding:0;margin:0;min-width:0}.party-workflow legend{font-weight:650;margin:0 0 14px}.party-workflow label{display:grid;gap:7px;margin:14px 0;font-size:14px;font-weight:550}.party-workflow input:not([type=checkbox]),.party-workflow textarea,.party-workflow select{width:100%;max-width:100%;box-sizing:border-box;border:1px solid #ddd0cb;border-radius:9px;padding:11px 12px;background:#fdfcfb;color:#49181c;font:inherit;line-height:1.65}.party-workflow textarea{resize:vertical;min-height:70px}.party-workflow :focus-visible{outline:3px solid #b5525a;outline-offset:2px}.workflow-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.party-workflow details{border-top:1px solid #ede4e1;padding:13px 0}.party-workflow summary{cursor:pointer;font-weight:600;line-height:1.6}.party-workflow summary small{color:#886d6f;font-size:12px;font-weight:400}.party-workflow .workflow-consent{display:flex;align-items:flex-start;font-size:12px;font-weight:400;line-height:1.65}.workflow-consent input{flex:0 0 auto;margin-top:4px}.party-workflow button{border:1px solid #ddd0cb;border-radius:9px;background:#fff;padding:10px 15px;line-height:1.5;color:#552428;cursor:pointer;font:inherit;font-size:13px}.party-workflow button:hover{background:#f8f2f0}.party-workflow .workflow-primary{background:#791a22;border-color:#791a22;color:white}.party-workflow button:disabled{opacity:.45;cursor:not-allowed}.workflow-buttons{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.workflow-state{font-size:13px;line-height:1.7;background:#f7f0ed;padding:11px 14px;border-radius:9px;margin-bottom:18px}.workflow-progress{font-size:13px;line-height:1.8;color:#8e3b2d;white-space:pre-wrap}.workflow-output h4{font-size:20px;margin:24px 0 12px}.workflow-output h5{font-size:15px;margin:12px 0 0}.workflow-slides section{border-bottom:1px solid #efe8e5;padding:4px 0 16px}.party-workflow .help{font-size:12px;line-height:1.8;color:#7c5f61}.conversation-message.assistant:has(.party-workflow){max-width:100%;width:100%;box-sizing:border-box}.conversation-message .party-workflow p{white-space:normal}.party-workflow input[readonly],.party-workflow textarea[readonly]{background:#f8f5f4}.workflow-output{min-width:0}@media(max-width:650px){.party-workflow{padding:16px 12px;border-radius:12px}.workflow-fields{grid-template-columns:1fr;gap:0}.workflow-heading{gap:10px}.workflow-heading img{width:48px;height:64px}.workflow-heading h3{font-size:20px}.workflow-heading p{font-size:12px}.workflow-buttons button{flex:1 1 42%;padding:10px}.party-workflow textarea{font-size:15px}}
/* Override the legacy full-width input rule for native consent controls. */
.party-workflow input[type=checkbox]{width:16px;min-width:16px;max-width:16px;height:16px;flex:0 0 16px;margin:3px 0 0;accent-color:#791a22}.conversation-log:has(.party-workflow){max-height:min(78dvh,860px)}
