/* One-step SOP assistant: real inputs, editable output, explicit adoption. */
.oa-context{margin:0 0 20px;padding:8px 18px;background:#eef2f7;border:1px solid #e0e6ee;border-radius:15px}.oa-context>summary{gap:12px;font-size:14px;font-weight:600;color:#34465d}.oa-context>summary span{font-size:11px;font-weight:400;color:#7c8795;margin-left:auto}.oa-context-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 18px}.oa-context-toolbar button{font-size:12px}.oa-context-toolbar span{font-size:11px;color:#6f7c8d;line-height:1.7}.oa-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;padding-bottom:12px}.oa-context-grid .ops-field{min-width:0}.oa-context-grid .ops-field label{font-size:12px}.oa-context-grid .ops-field input,.oa-context-grid .ops-field textarea{background:white;font-size:13px;padding:10px 12px;border-radius:10px}.oa-carry-forward{background:#f0f7f2;border:1px solid #dcecdf;border-left:3px solid #7bb08c;padding:15px 18px;border-radius:12px;margin:0 0 18px}.oa-carry-forward strong{font-size:12px;color:#456b50}.oa-carry-forward p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#3d5343;line-height:1.8;margin:5px 0}.oa-carry-forward small{font-size:11px;color:#768477;line-height:1.7}.oa-step-inputs{margin-bottom:20px}.oa-step-inputs h2,.oa-execution h2{font-size:18px;letter-spacing:-.3px;margin:0 0 12px}.oa-step-inputs>.ops-note{margin-top:0;margin-bottom:18px}.oa-metrics{margin-bottom:0}.oa-assistant{background:linear-gradient(180deg,#fbfdff 0,#fff 140px);border:1px solid #d7e3f2;border-radius:24px;padding:28px 30px;margin:20px 0;box-shadow:0 4px 16px #24579304}.oa-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.oa-eyebrow{font-size:11px;font-weight:600;color:#6c819e;letter-spacing:.2px;margin:0 0 8px}.oa-heading h2{font-size:22px;font-weight:650;letter-spacing:-.5px;line-height:1.4;margin:0}.oa-role{display:inline-flex;flex:none;border:1px solid #dce7f6;border-radius:20px;padding:5px 10px;color:#50739e;background:#f0f6fe;font-size:11px;line-height:1.6}.oa-lead{font-size:13px;color:#718095;line-height:1.8;margin:12px 0 20px;max-width:600px}.oa-generate{font-size:14px;min-height:46px;padding:11px 19px}.oa-output{border-top:1px solid #e7edf4;margin-top:24px;padding-top:22px}.oa-output-label{display:block;font-size:13px;font-weight:600;color:#3c506b;margin-bottom:9px}.oa-output textarea{width:100%;min-height:300px;max-height:700px;resize:vertical;border:1px solid #dce3ed;border-radius:13px;padding:16px;font-family:inherit;font-size:14px;line-height:1.9;color:#334358;background:#fcfdff;white-space:pre-wrap}.oa-output textarea:focus{outline:3px solid #0071e320;border-color:#7fb1e5}.oa-stale{border:1px solid #efd8ad;background:#fff7e7;color:#8a6226;padding:13px 15px;border-radius:10px;font-size:12px;line-height:1.8;margin:0 0 15px}.oa-missing{background:#f3f6fb;color:#61728a;padding:12px 14px;border-radius:10px;font-size:12px;line-height:1.8;margin-bottom:15px}.oa-output-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:10px}.oa-output-tools>div{display:flex;gap:16px;flex-wrap:wrap}.oa-output-tools button{padding:5px 0;min-height:36px;font-size:12px}.oa-output-tools button:disabled{color:#a2abb7;cursor:not-allowed}.oa-output-tools>span{font-size:11px;color:#8691a0}.oa-adopt-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:18px;margin-top:12px;border-top:1px solid #edf0f5}.oa-adopt-row p{font-size:12px;line-height:1.7;color:#7a8799;margin:0;max-width:440px}.oa-adopt-button{flex:none;min-height:44px;padding:10px 16px;border:1px solid #b8d4f2;border-radius:10px;background:#f0f7ff;color:#1267bf;font-size:13px;font-weight:600}.oa-adopt-button:disabled{border-color:#e0e4ea;background:#f5f6f8;color:#a5adba;cursor:not-allowed}.oa-status{font-size:12px;line-height:1.8;color:#4d765e;margin:14px 0 0;overflow-wrap:anywhere}.oa-status:empty{display:none}.oa-status[data-state=error]{color:#ab4b3e}.oa-status[data-state=warning]{color:#926b27}.oa-input-list{margin:14px 0;display:grid;gap:10px}.oa-input-list>div{display:grid;grid-template-columns:130px 1fr;gap:14px;padding-bottom:10px;border-bottom:1px solid #edf0f4}.oa-input-list dt{font-size:12px;font-weight:500;color:#7a879a}.oa-input-list dd{margin:0;font-size:12px;color:#4e617a;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.oa-input-evidence h4{font-size:13px;font-weight:600;color:#5d7290;margin:16px 0 8px}.oa-previous-text{max-height:260px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.8;background:#f5f8fc;color:#687c98;border:1px solid #e7edf5;border-radius:10px;padding:13px 15px}.oa-knowledge-list{list-style:none;padding:0!important;max-height:430px;overflow:auto}.oa-knowledge-list li{padding:13px 0;border-bottom:1px solid #edf1f6;margin:0!important}.oa-knowledge-list strong{font-size:12px;color:#526a89}.oa-knowledge-list p{font-size:12px;line-height:1.8;color:#718199;margin:5px 0 0}.oa-search-label{display:block;font-size:11px;color:#7e8ba0;margin:12px 0 6px}.oa-knowledge input[type=search]{width:100%;padding:10px 12px;border:1px solid #dfe6ef;border-radius:9px;background:white;font-size:13px;color:#3f5571}.oa-source-links{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 4px}.oa-source-links a{font-size:12px}.oa-execution{margin-top:20px}.oa-execution-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.oa-execution-heading .ops-done{margin:0 0 12px}.oa-execution .ops-check-row{padding:0}.oa-execution .ops-check-row>.ops-check{padding:14px}.oa-execution .ops-checks{margin-top:16px}.oa-confirm-dialog{max-width:480px;border:1px solid #e2e6ed;border-radius:22px;padding:28px;color:#26354a;box-shadow:0 20px 70px #17283c30}.oa-confirm-dialog::backdrop{background:#13263b66}.oa-confirm-dialog h2{font-size:22px;line-height:1.5;margin:0 0 14px}.oa-confirm-dialog p{font-size:14px;color:#788396;line-height:1.8;margin:0}.oa-confirm-actions{display:flex;justify-content:flex-end;gap:15px;align-items:center;margin-top:24px}.oa-confirm-actions button{min-height:44px;font-size:13px}
@media(max-width:700px){.oa-context{padding:8px 14px}.oa-context-grid{grid-template-columns:1fr;gap:14px}.oa-context-grid .ops-field input,.oa-context-grid .ops-field textarea{font-size:16px}.oa-assistant{padding:23px 18px;border-radius:20px}.oa-heading{gap:10px;flex-wrap:wrap}.oa-heading h2{font-size:21px}.oa-role{font-size:10px}.oa-lead{font-size:12px}.oa-generate{width:100%;font-size:14px}.oa-output textarea{font-size:15px;padding:13px;min-height:320px}.oa-output-tools>div{gap:16px}.oa-adopt-row{flex-direction:column;gap:12px;align-items:stretch}.oa-adopt-button{width:100%}.oa-input-list>div{grid-template-columns:1fr;gap:3px}.oa-confirm-dialog{max-width:calc(100vw - 32px);padding:23px}.oa-confirm-actions{flex-wrap:wrap}.oa-confirm-actions button{flex:1}.oa-execution .ops-check-row>.ops-check{padding:13px}}
html.ops-phone .oa-context{padding:8px 14px}html.ops-phone .oa-context-grid{grid-template-columns:1fr;gap:14px}html.ops-phone .oa-context-grid .ops-field input,html.ops-phone .oa-context-grid .ops-field textarea{font-size:16px}html.ops-phone .oa-assistant{padding:23px 18px;border-radius:20px}html.ops-phone .oa-heading{gap:10px;flex-wrap:wrap}html.ops-phone .oa-heading h2{font-size:21px}html.ops-phone .oa-role{font-size:10px}html.ops-phone .oa-lead{font-size:12px}html.ops-phone .oa-generate{width:100%;font-size:14px}html.ops-phone .oa-output textarea{font-size:15px;padding:13px;min-height:320px}html.ops-phone .oa-adopt-row{flex-direction:column;gap:12px;align-items:stretch}html.ops-phone .oa-adopt-button{width:100%}html.ops-phone .oa-input-list>div{grid-template-columns:1fr;gap:3px}html.ops-phone .oa-execution .ops-check-row>.ops-check{padding:13px}

.oa-context-extra{margin-top:8px;padding-top:5px}.oa-context-extra>summary{font-weight:400;font-size:12px}.oa-context-extra .oa-context-grid{padding-top:12px}

.oa-carry-details{margin:8px 0;padding-top:0;border-top:1px solid #dce9df}.oa-carry-details>summary{font-size:12px;color:#64826c}.oa-carry-original{font-family:inherit;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;padding:10px 0;margin:0;color:#617567}

.oa-next-details{margin:10px 0 0;padding-top:0;border-top:1px solid #dce5f2}.oa-next-details>summary{font-size:12px;color:#6e83a1}.oa-next-original{font-family:inherit;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;margin:0;padding:10px 0;color:#647c9c}

/* AI availability and explicit offline option share one compact action row. */
.oa-ai-status-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 12px}.oa-ai-status-row>span{font-size:12px;color:#63778d;overflow-wrap:anywhere}.oa-ai-status-row>span[data-state=configured]{color:#407255}.oa-ai-status-row>span[data-state=error]{color:#976d36}.oa-ai-status-row button{font-size:11px;padding:0;min-height:26px}.oa-generation-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.oa-generation-actions .text-button{font-size:12px;min-height:40px}.oa-generation-actions button:disabled{cursor:not-allowed;opacity:.55}.oa-ai-disclosure{font-size:11px;color:#8b94a2;line-height:1.8;margin:12px 0 0;max-width:660px}.oa-artifact-source{font-size:11px;color:#6b819d;margin:0 0 14px}.oa-status[data-state=loading]{color:#386da1}.oa-assistant[aria-busy=true] .oa-generate{cursor:progress}.oa-cancel-generate{color:#7d5e3e}.oa-cancel-generate[hidden]{display:none}
@media(max-width:700px){.oa-generation-actions{gap:4px 16px}.oa-generation-actions .oa-generate{width:100%}.oa-ai-disclosure{font-size:11px}.oa-ai-status-row{gap:10px}}
html.ops-phone .oa-generation-actions{gap:4px 16px}html.ops-phone .oa-generation-actions .oa-generate{width:100%}

.oa-ai-status-detail{font-size:11px;line-height:1.7;color:#92764d;margin:0 0 12px}.oa-ai-status-detail[hidden]{display:none}

/* Quiet controls around a single editable result; details only when needed. */
.oa-context{background:#fff;border-color:#e6e8ee;border-radius:14px}.oa-context>summary{font-size:13px}.oa-assistant{background:#fff;border-color:#e3e6ec;border-radius:23px;box-shadow:none;padding:28px;margin:20px 0}.oa-heading h2{font-size:22px}.oa-eyebrow{color:#858b96;font-weight:400;font-size:11px}.oa-lead{font-size:13px;margin:9px 0 19px;line-height:1.8;color:#828896}.oa-preparation-options{border:0;margin:8px 0 0;padding:0}.oa-preparation-options>summary{font-size:11px;min-height:38px;color:#88909d;justify-content:flex-start;gap:7px}.oa-preparation-options>summary:after{font-size:10px}.oa-ai-status-row{margin:8px 0 5px}.oa-ai-disclosure{margin-top:6px}.oa-output{margin-top:20px;padding-top:18px}.oa-artifact-source{font-size:10px;color:#8c95a4}.oa-output textarea{min-height:280px;background:#fdfdfe;border-color:#dce1e9;border-radius:13px;font-size:15px;line-height:1.95}.oa-output-tools{margin-top:8px;align-items:flex-start}.oa-output-tools>div{gap:10px;align-items:center}.oa-output-tools>span{padding-top:12px;font-size:10px}.oa-export-menu,.oa-draft-more{position:relative;display:inline-block;font-size:12px;margin:0}.oa-export-menu>summary,.oa-draft-more>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;color:#0071e3;min-height:44px;padding:5px 8px;font-size:12px;border-radius:8px}.oa-export-menu>summary::-webkit-details-marker,.oa-draft-more>summary::-webkit-details-marker{display:none}.oa-export-menu[open]>summary,.oa-draft-more[open]>summary{background:#f2f6fb}.oa-export-menu>div,.oa-draft-more>div{position:absolute;right:0;top:100%;z-index:12;min-width:154px;padding:7px;background:#fff;border:1px solid #e1e5ed;border-radius:13px;box-shadow:0 10px 28px #10253c15;display:grid;gap:0}.oa-export-menu>div>button,.oa-draft-more>div>button{width:100%;min-height:44px;text-align:left;padding:9px 12px;font-size:12px;white-space:nowrap;border-radius:7px}.oa-export-menu>div>button:hover,.oa-draft-more>div>button:hover{background:#f5f7fa}.oa-adopt-row{gap:18px}.oa-adopt-button{color:white;background:#0071e3;border-color:#0071e3;border-radius:11px}.oa-adopt-row p{font-size:11px;max-width:390px;color:#8b92a0}.oa-has-output .oa-generate{background:#f4f6f9;color:#0071e3;border:1px solid #e5e9f0;box-shadow:none}.oa-execution .ops-fields{margin-bottom:12px}.oa-execution-heading h2{font-size:18px}.oa-execution [data-ops-record-export]{margin:2px 0 12px}.oa-step-inputs h2{font-size:18px;margin-bottom:18px}
@media(max-width:700px){.oa-assistant{padding:22px 18px;border-radius:20px}.oa-heading h2{font-size:21px}.oa-output-tools{gap:5px}.oa-output-tools>span{width:100%;padding-top:0}.oa-output textarea{font-size:16px;min-height:300px}.oa-export-menu>div,.oa-draft-more>div{right:0}.oa-adopt-row p{font-size:11px}.oa-generation-actions .oa-generate{width:100%}}
html.ops-phone .oa-assistant{padding:22px 18px;border-radius:20px}html.ops-phone .oa-output-tools{gap:5px}html.ops-phone .oa-output-tools>span{width:100%;padding-top:0}html.ops-phone .oa-output textarea{font-size:16px;min-height:300px}

.oa-ai-state-hint{font-size:12px;color:#8b6d3d;line-height:1.8;margin:10px 0 0}.oa-ai-state-hint[hidden]{display:none}
.oa-execution .oa-export-menu>div{left:0;right:auto}
