.oc550-dialog{box-sizing:border-box;width:min(1000px,96vw);max-width:96vw;max-height:94dvh;padding:0;border:1px solid #dce3e8;border-radius:16px;color:#173044;box-shadow:0 18px 60px #10243235}
.oc550-dialog::backdrop{background:#17293465}.oc550-dialog>section{display:flex;flex-direction:column;max-height:92dvh;min-height:0}.oc550-dialog header,.oc550-dialog footer{padding:14px 18px;display:flex;gap:10px;justify-content:space-between;align-items:center;border-bottom:1px solid #dde5eb;background:#fff;flex-shrink:0}.oc550-dialog header small{font-size:10px;letter-spacing:.1em;color:#547286}.oc550-dialog h2{margin:2px 0;font-size:21px;line-height:1.2}.oc550-dialog footer{border-bottom:0;border-top:1px solid #dde5eb;justify-content:flex-end;flex-wrap:wrap}.oc550-dialog header .icon-btn{width:42px;height:42px;flex-shrink:0}
.oc550-body{padding:16px 18px;overflow:auto;min-height:0;background:#f8fafb;overscroll-behavior:contain}.oc550-body h3{margin:16px 0 8px;font-size:15px}.oc550-body p{margin:7px 0;line-height:1.45}.oc550-target{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.oc550-target h3{margin:0;font-size:18px}.oc550-target small{width:100%;color:#557084}.oc550-tag{font-size:12px;font-weight:700;border:1px solid #b5cbd4;border-radius:6px;padding:3px 8px;background:#edf5f4}.oc550-stats{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:10px;margin:12px 0}.oc550-stats>div{border:1px solid #dce5ea;border-radius:9px;padding:10px 12px;background:#fff;min-width:0}.oc550-stats small{display:block;font-size:11px;color:#547082}.oc550-stats b{display:block;font-size:21px;margin-top:3px;font-variant-numeric:tabular-nums}
.oc550-scope,.oc550-success,.oc550-blocked,.oc550-completed-note{padding:10px 12px;border-radius:8px;border:1px solid #dce5ea;background:#f0f5f8;margin:10px 0;font-size:12px}.oc550-scope summary{font-weight:700;cursor:pointer}.oc550-success{background:#edf7f3;border-color:#b8d9c8}.oc550-blocked{background:#fff5e8;border-color:#e2bd8d}.oc550-table{border:1px solid #dce5ea;background:#fff;border-radius:8px;overflow:auto}.oc550-table table{width:100%;border-collapse:collapse;font-size:12px}.oc550-table th{text-align:left;font-size:11px;padding:8px 10px;background:#eef3f5;color:#506d7e}.oc550-table td{padding:6px 10px;border-top:1px solid #e7edf1;line-height:1.3}.oc550-table td:first-child{width:44%;overflow-wrap:anywhere}.oc550-table td:last-child{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.oc550-table small{display:block;font-size:10px;color:#658091;margin-top:2px}.oc550-hint{font-size:11px;color:#658091}
#oc550-form{display:grid;gap:10px;margin-top:12px}#oc550-form label{display:grid;gap:4px;font-size:12px;font-weight:600}#oc550-form input:not([type=checkbox]),#oc550-form textarea{box-sizing:border-box;width:100%;min-width:0;padding:9px 10px;border:1px solid #c9d7e0;border-radius:8px;background:#fff;color:inherit;font:inherit}#oc550-form .oc550-check{display:flex;align-items:flex-start;font-weight:400;line-height:1.4;gap:8px}#oc550-form input[type=checkbox]{margin:2px 0;width:17px;height:17px;flex-shrink:0}#oc550-error:not(:empty){background:#fff0ed;color:#922d28;padding:10px 12px;border:1px solid #e2bab6;border-radius:7px;margin:10px 0;font-size:12px}.oc550-danger{color:#9d302b!important}.oc550-primary-danger{background:#ac3731!important;color:white!important;border-color:#ac3731!important}.oc550-primary-danger:disabled{opacity:.5}.oc550-dialog [hidden]{display:none!important}
@media(max-width:650px){.oc550-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:96dvh;border-radius:12px}.oc550-dialog>section{max-height:94dvh}.oc550-dialog header,.oc550-dialog footer{padding:10px 12px}.oc550-dialog h2{font-size:18px}.oc550-body{padding:12px}.oc550-dialog .btn{min-height:44px}.oc550-dialog footer .btn{flex:1}.oc550-stats{gap:6px;grid-template-columns:1fr 1fr}.oc550-stats>div:last-child{grid-column:1/-1}.oc550-stats b{font-size:19px}.oc550-table td{padding:8px 7px;font-size:11px}.oc550-table th{padding:7px}.oc550-table td:nth-child(2){max-width:110px;overflow-wrap:anywhere}.oc550-table td:first-child{width:auto}.oc550-table td strong{font-size:12px}#oc550-form .oc550-check{padding:5px 0;min-height:34px}.oc550-dialog header .icon-btn{width:44px;height:44px}}

/* Keep destructive state changes readable; shared compact table ellipses must not hide them. */
.oc550-table td:nth-child(2),.oc550-table td:nth-child(2) span,.oc550-table td:nth-child(2) b{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.oc550-table td strong{white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere}
@media(max-width:650px){.oc550-table td:nth-child(2){min-width:92px;max-width:110px}.oc550-table td:nth-child(2)>b{display:block}.oc550-table td:last-child{min-width:77px}.oc550-table th{font-size:10px}}

.oc550-context{border-left:2px solid #b4c9ce;padding:0 10px;margin:10px 0;color:#426174;font-size:12px}.oc550-context small{display:block;color:#64818e;margin-top:2px}
