.tde-order-status{margin-top:8px;padding:10px 12px;border:1px solid #26364a;border-radius:7px;background:#0a1420;display:grid;gap:3px;font-size:11px;line-height:1.35}.tde-order-status strong{color:#dcecff;text-transform:uppercase;letter-spacing:.04em}.tde-order-status span{color:#8298b2}.tde-order-status[data-state="DRAFT"]{border-color:#c7972b}.tde-order-status[data-state="CONFIRMED"],.tde-order-status[data-state="DISPATCHED"]{border-color:#1689da}.tde-order-status[data-state="DRY_RUN_COMPLETED"],.tde-order-status[data-state="EXECUTED"]{border-color:#1aaa69}.tde-order-status[data-state="FAILED"],.tde-order-status[data-state="EXPIRED"],.tde-order-status[data-state="CANCELLED"],.tde-order-status[data-state="UNCERTAIN"]{border-color:#d84b4b}.tde-order-dialog{border:1px solid #2b4058;border-radius:10px;background:#09131f;color:#e8f2ff;width:min(560px,calc(100vw - 32px));padding:0;box-shadow:0 24px 80px rgba(0,0,0,.55)}.tde-order-dialog::backdrop{background:rgba(1,7,13,.78)}.tde-order-dialog header,.tde-order-dialog footer{padding:16px 18px;border-bottom:1px solid #203047}.tde-order-dialog footer{border-bottom:0;border-top:1px solid #203047;display:flex;gap:10px;justify-content:flex-end}.tde-order-dialog main{padding:18px}.tde-order-preview{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tde-order-preview div{padding:9px 10px;border:1px solid #1e3045;border-radius:6px;background:#0d1926}.tde-order-preview small{display:block;color:#7890aa;text-transform:uppercase;font-size:9px;letter-spacing:.08em}.tde-order-preview strong{font-size:13px}.tde-order-warning{margin-top:14px;padding:10px;border-left:3px solid #d7a12b;background:#17140c;color:#e7d29b;font-size:11px}.tde-order-error{margin-top:10px;color:#ff8c8c;font-size:11px}@media(max-width:600px){.tde-order-preview{grid-template-columns:1fr}}

.tde-order-status[data-intent-uuid]:not([data-intent-uuid=""]){cursor:pointer}.tde-order-status small{color:#5f83a8;font-size:9px;text-transform:uppercase;letter-spacing:.06em}.tde-order-history{list-style:none;margin:0;padding:0;display:grid;gap:8px}.tde-order-history li{display:grid;grid-template-columns:140px 1fr;gap:3px 12px;padding:10px;border:1px solid #1e3045;border-radius:6px;background:#0d1926}.tde-order-history time{grid-row:1/3;color:#7890aa;font-size:10px}.tde-order-history strong{font-size:11px;color:#dcecff}.tde-order-history span{font-size:10px;color:#91a6bd}@media(max-width:600px){.tde-order-history li{grid-template-columns:1fr}.tde-order-history time{grid-row:auto}}


/* Phase X 5.6.20: aktiven und historischen Auftrag eindeutig trennen */
.tde-order-history-context{display:flex;flex-direction:column;gap:4px;margin:0 0 12px;padding:10px 12px;border:1px solid #31465f;border-radius:6px;background:#0b1724}.tde-order-history-context strong{font-size:12px;color:#f2f5f9}.tde-order-history-context span{font-size:10px;color:#9eb0c5;line-height:1.45}.tde-order-history-context.historical{border-left:3px solid #8e8e93}.tde-order-history-context.active{border-left:3px solid #30d158}


/* 5.6.87 HOTFIX-4 · Control Center consolidation */
.tde-decision-card{gap:8px}
.tde-decision-card>.v2-btn-primary{margin-bottom:2px}
.tde-demo-execution{border:1px solid #26364a;border-radius:7px;background:#0b1622;overflow:hidden}
.tde-demo-execution>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;padding:9px 10px;color:#dcecff;font-size:12px;font-weight:700;line-height:1.25}
.tde-demo-execution>summary::-webkit-details-marker{display:none}
.tde-demo-execution>summary::after{content:"▾";color:#6ea8ff;font-size:12px;transition:transform .15s ease}
.tde-demo-execution[open]>summary::after{transform:rotate(180deg)}
.tde-demo-execution>summary small{grid-column:1;color:#8298b2;font-size:10px;font-weight:500;letter-spacing:0;line-height:1.3}
.tde-demo-execution-body{display:grid;gap:7px;padding:9px 10px 10px;border-top:1px solid #203047}
.tde-demo-execution-body p{margin:0 0 2px;color:#91a6bd;font-size:10px;line-height:1.4}
.tde-demo-execution-body .v2-btn{width:100%;min-height:32px;margin:0}
.tde-order-status[hidden]{display:none!important}
.tde-decision-card>.tde-order-status{margin-top:0;font-size:10px;padding:8px 10px}
.tde-decision-card>.tde-order-status small{font-size:9px}
@media(max-width:600px){.tde-demo-execution>summary{grid-template-columns:1fr}.tde-demo-execution>summary::after{grid-column:2;grid-row:1}.tde-demo-execution>summary small{grid-column:1/3}}
