.fahrt-orders-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #465866;border-radius:14px;background:var(--ui-surface,#162331);color:var(--ui-text,#eef4fa);box-shadow:0 20px 64px #0007;overflow:auto;overscroll-behavior:contain}
.fahrt-orders-dialog::backdrop{background:#061018b8}
.fahrt-orders-dialog [hidden]{display:none!important}
.fahrt-orders-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid #304655}
.fahrt-orders-kicker{margin:0;color:#94c8c8;font-size:10px;letter-spacing:1.8px;font-weight:650}
.fahrt-orders-header h2{margin:5px 0 0;font-size:25px;letter-spacing:-.5px;line-height:1.2}
.fahrt-orders-close{flex:none;width:44px;height:44px;padding:0;border:1px solid #415663;border-radius:10px;background:#1b2e3b;color:#d7e3ea;font:300 27px/1 system-ui,sans-serif;cursor:pointer}
.fahrt-orders-body{padding:16px 22px 22px}
.fahrt-orders-panel h3{margin:22px 0 10px;font-size:16px;line-height:1.4;font-weight:650}
.fahrt-orders-panel>h3{padding-top:15px;border-top:1px solid #344b5a}
.fahrt-order-motion{margin:0 0 15px;padding:10px 12px;border:1px solid #375e58;border-radius:9px;background:#183832;color:#c3e7d8;font-size:12px;line-height:1.55}
.fahrt-order-motion.is-moving{border-color:#6c5d39;background:#342e22;color:#e5d8b5}
.fahrt-order-form{display:grid;gap:13px}
.fahrt-order-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#bbcfda;font-size:12px;font-weight:600;line-height:1.5}
.fahrt-order-field select,.fahrt-order-field input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:9px 10px;border:1px solid #415a69;border-radius:9px;background:#0d1a25;color:#edf5fa;font:400 14px/1.4 system-ui,sans-serif}
.fahrt-order-field input::placeholder{color:#819aa9}
.fahrt-order-fields{display:grid;grid-template-columns:1fr;gap:12px}
.fahrt-order-fields>p,.fahrt-order-fields>fieldset{grid-column:1/-1}
.fahrt-order-description{margin:0;color:#c8d8e1;font-size:13px;line-height:1.65}
.fahrt-order-scope,.fahrt-order-empty{margin:8px 0;color:#afc3d0;font-size:12px;line-height:1.6}
#fahrt-order-companion{margin:0;padding:8px 10px;border-left:2px solid #80bcc6;background:#152e3b;color:#c3dde5}
.fahrt-order-confirmations,.fahrt-order-revokes{min-width:0;margin:2px 0 0;padding:12px;border:1px solid #344b5a;border-radius:9px}
.fahrt-order-confirmations legend,.fahrt-order-revokes legend{padding:0 5px;color:#b7cad6;font-size:12px;font-weight:600}
.fahrt-order-check{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:flex-start;gap:9px;margin:7px 0;color:#cbdce5;font-size:12px;font-weight:400;line-height:1.55;cursor:pointer}
.fahrt-order-check input{flex:none;width:19px;height:19px;margin:1px 0 0;accent-color:#9bdafa}
.fahrt-order-check span{min-width:0;overflow-wrap:anywhere}
.fahrt-order-primary,.fahrt-order-secondary{min-height:44px;padding:10px 14px;border:1px solid #9bdafa;border-radius:9px;background:#9bdafa;color:#14232d;font:650 13px/1.4 system-ui,sans-serif;cursor:pointer}
.fahrt-order-primary{justify-self:start}
.fahrt-order-secondary{border-color:#526d7d;background:#233e4d;color:#d5e8ee}
.fahrt-orders-dialog :disabled{opacity:.45;cursor:default}
.fahrt-order-status{min-height:1.5em;margin:0;color:#bce7d2;font-size:12px;line-height:1.6}
.fahrt-order-status.is-error{color:#f0b8ac}
.fahrt-orders-ledger>ol{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.fahrt-order-record{min-width:0;padding:12px;border:1px solid #344b5a;border-radius:9px;background:#10202c}
.fahrt-order-record strong{display:block;color:#e3eff5;font-size:13px;font-weight:600;line-height:1.55}
.fahrt-order-record small{display:block;margin-top:4px;color:#99b8c9;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.fahrt-order-record .fahrt-order-legacy{color:#d1bea0}
.fahrt-order-record>p{margin:7px 0 0;color:#b8cbd6;font-size:12px;line-height:1.6}
.fahrt-order-record .fahrt-order-secondary{margin-top:5px;text-align:left}
.fahrt-orders-dialog :is(button,input,select):focus-visible{outline:2px solid #a1e4df;outline-offset:3px}
@media(max-width:600px){.fahrt-orders-dialog{inset:auto 0 0;width:100%;max-height:94dvh;margin:0;border-radius:16px 16px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.fahrt-orders-header{padding:17px 16px 14px}.fahrt-orders-body{padding:14px 16px 20px}.fahrt-orders-header h2{font-size:23px}.fahrt-order-fields{grid-template-columns:1fr}.fahrt-order-field select,.fahrt-order-field input{font-size:16px}.fahrt-order-primary{width:100%}.fahrt-order-check{font-size:13px}}
