.order-entry{border-bottom:1px solid #e9eef5;min-width:0}
.order-entry:last-child{border-bottom:0}
.order-entry-summary{display:flex;align-items:center;gap:16px;padding:21px 0;cursor:pointer;list-style:none;text-align:left;min-width:0}
.order-entry-summary::-webkit-details-marker{display:none}
.order-entry-summary:focus-visible{outline:3px solid #91b8ff;outline-offset:3px;border-radius:8px}
.order-entry-summary .transaction-icon{flex:none}
.order-entry-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
.order-entry-main>strong{font-size:15px;font-weight:700;color:#172b49;overflow-wrap:anywhere}
.order-entry-caption{font-size:12px;line-height:1.6;color:#8b9ab0;overflow-wrap:anywhere}
.order-entry-profit{font-size:12px;font-weight:600;line-height:1.6}
.order-entry-amount{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:none;font-variant-numeric:tabular-nums}
.order-entry-amount>strong{font-size:16px;white-space:nowrap}
.order-entry-amount>small{font-size:11px;font-weight:400;color:#8c9ab0;line-height:1.5}
.order-entry-toggle{display:flex;gap:6px;align-items:center;flex:none;min-width:70px;justify-content:flex-end;color:#2e6ee8;font-size:12px;font-weight:600}
.order-entry-toggle>span{display:inline-block;font-size:21px;line-height:1;transition:transform .15s}
.order-entry[open]>.order-entry-summary .order-entry-toggle>span{transform:rotate(180deg)}
.order-entry-content{margin:0 0 21px;padding:20px;background:#f7f9fd;border:1px solid #e3eaf5;border-radius:12px;min-width:0}
.order-totals,.order-position-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.order-stat{display:flex;min-width:0;flex-direction:column;gap:6px;line-height:1.5}
.order-stat>span{font-size:11px;font-weight:400;color:#8697ad}
.order-stat>strong{font-size:17px;font-weight:700;color:#2b4261;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.order-stat.negative>strong{color:#e36a65}
.order-cash-summary{font-size:11px;line-height:1.8;color:#8395ac;margin:16px 0 20px}
.order-position{padding:18px;background:#fff;border:1px solid #e3eaf5;border-radius:10px;margin-top:13px;min-width:0}
.order-position-title{display:flex;flex-direction:column;gap:6px;margin-bottom:17px}
.order-position h4{font-size:14px;font-weight:700;line-height:1.6;color:#294262;margin:0;overflow-wrap:anywhere}
.order-position-title>span{font-size:11px;color:#8a9ab0;line-height:1.6;overflow-wrap:anywhere}
.order-position-totals{padding-bottom:13px}
.order-position-totals .order-stat>strong{font-size:14px}
.order-line-note{font-size:11px;line-height:1.7;color:#8393aa;margin:4px 0 12px}
.order-cash-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #edf1f7;font-size:12px;min-width:0}
.order-cash-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.order-cash-main>strong{font-size:12px;font-weight:600;color:#4e6583;line-height:1.5}
.order-cash-main>span{font-size:11px;font-weight:400;color:#91a0b4;line-height:1.6;overflow-wrap:anywhere}
.order-cash-row>strong{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.order-movement-edit{font:600 11px Arial,Helvetica,sans-serif;border:0;background:none;color:#2e6ee8;padding:7px 0 7px 7px;cursor:pointer;flex:none}
.order-movement-edit:hover{text-decoration:underline}
.order-movement-edit:focus-visible,.order-open-sale:focus-visible{outline:3px solid #91b8ff;outline-offset:3px}
.order-cash-row.outside-scope{background:#fafbfd}
.order-scope-note{padding:11px 13px;border-radius:8px;background:#edf4ff;border:1px solid #d8e6fa;color:#647e9f;font-size:11px;line-height:1.8;margin:0 0 17px}
.order-open-sale{display:inline-block;margin-top:18px;color:#2e6ee8;font-size:12px;font-weight:600;text-decoration:none}
.order-open-sale:hover{text-decoration:underline}
.calendar-aside .order-entry-summary{flex-wrap:wrap;gap:10px}
.calendar-aside .order-entry-toggle{min-width:0}
.calendar-aside .order-entry-summary .transaction-icon{display:none}
.calendar-aside .order-entry-content{padding:12px}
.calendar-aside .order-position{padding:12px}
.calendar-aside .order-totals,.calendar-aside .order-position-totals{grid-template-columns:1fr}
.calendar-aside .order-cash-row{flex-wrap:wrap}
@media(max-width:680px){.order-entry-summary{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px 12px;padding:19px 0}.order-entry-summary .transaction-icon{width:40px;height:40px}.order-entry-main{grid-column:2/4}.order-entry-main>strong{font-size:14px}.order-entry-caption{font-size:11px}.order-entry-amount{grid-column:2;align-items:flex-start}.order-entry-amount>strong{font-size:17px}.order-entry-toggle{grid-column:3;align-self:center;min-width:0}.order-entry-content{padding:13px;margin-bottom:16px}.order-totals{grid-template-columns:1fr;gap:12px}.order-totals .order-stat{flex-direction:row;justify-content:space-between;align-items:center;gap:12px}.order-totals .order-stat>strong{font-size:15px;white-space:nowrap}.order-position{padding:14px}.order-position-totals{grid-template-columns:1fr;gap:9px}.order-position-totals .order-stat{flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.order-position-totals .order-stat>strong{font-size:13px;white-space:nowrap}.order-cash-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}.order-cash-main{grid-column:1/3}.order-cash-row>strong{grid-column:1}.order-movement-edit{grid-column:2;justify-self:end}.order-entry-main,.order-entry-amount{min-width:0}.order-entry-amount>small{font-size:10px}}
