
#trade-main .trade-table td[data-col=actions]{padding:3px}
.tei-row-actions{display:flex;align-items:center;justify-content:space-evenly;gap:1px}
#trade-main .tei-row-actions button{width:21px;padding:1px;display:grid;place-items:center}
.tei-row-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tei-row-actions svg.tei-dots{fill:currentColor;stroke:none;width:16px}
.tei-popup{position:fixed;z-index:95;display:grid;background:#fff;padding:5px 0;border-radius:5px;min-width:180px;box-shadow:0 4px 18px #152a2730}
.tei-popup button{border:0;border-radius:0;display:flex;align-items:center;gap:12px;background:white;text-align:left;padding:10px 16px;min-height:40px;color:#333;font:14px "Onur Exo 2",sans-serif}
.tei-popup button:hover,.tei-popup button:focus-visible{background:#e4f2ea}.tei-popup button span{width:16px}
.pl-shade.tei-shade{align-items:flex-start;overflow:auto;padding:40px 14px 24px;z-index:100}
.tei-shade .pl-dialog{position:relative;overflow:visible;width:min(1000px,100%);max-width:100%;max-height:none;margin:auto;background:white;border-radius:4px;font:14px/1.5 "Onur Exo 2",sans-serif;color:#354352}
.tei-shade.tei-wide .pl-dialog{width:min(1200px,100%)}
.tei-shade .pl-dialog-content{padding:25px;max-height:none;overflow:visible}
.tei-shade .pl-close{position:absolute;top:-28px;right:-2px;border:1px solid #ddd;background:white;color:#444;width:42px;height:40px;font-size:24px}
.tei-tabs{display:flex;flex-wrap:wrap;gap:10px;padding:5px;margin:0 0 20px}
.tei-tabs button,.tei-actions button,.tei-compose~button{height:38px;padding:0 14px;border-radius:9px;border:1px solid #dce3e6;background:white;font:14px "Onur Exo 2",sans-serif;color:#465668}
.tei-tabs button[aria-pressed=true],.tei-actions [data-save],.tei-compose~button{background:#2f8b5d;color:white;border-color:#2f8b5d}
.tei-name{display:flex;gap:12px;align-items:center;padding:4px 0 15px}.tei-name strong{font-size:20px}.tei-name span{padding:3px 8px;background:#e8f3ed;color:#2f8b5d;border-radius:6px}
.tei-list{margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce2e4;border-radius:14px;overflow:hidden;list-style:none}
.tei-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;min-height:40px;border-bottom:1px solid #e6e9eb}.tei-list li:nth-child(odd){border-right:1px solid #e6e9eb}.tei-list strong{font-weight:550;text-align:right;overflow-wrap:anywhere}
.tei-scroll{overflow:auto;margin:8px 0 16px}.tei-scroll table{border-collapse:collapse;width:100%;font-size:13px}.tei-scroll th{padding:12px;background:#2f8b5d;color:white;text-align:left}.tei-scroll td{padding:12px;border-bottom:1px solid #e2e5e6}.tei-scroll p{padding:20px;text-align:center;color:#73828d}
.tei-eye{border:0;background:white;display:inline-grid;place-items:center;padding:4px;min-height:24px}.tei-eye img{width:18px}
.tei-shade article{border-top:1px solid #eee;padding:12px 0}.tei-shade article p{white-space:pre-wrap;overflow-wrap:anywhere}.tei-shade time{color:#687680}.tei-shade article a{margin-right:16px}.tei-compose{display:grid;gap:6px;margin:12px 0}.tei-compose textarea{resize:vertical;min-height:96px;border:1px solid #ccd5dc;border-radius:5px;padding:10px;font:inherit}
.tei-due .pl-dialog,.tei-lots .pl-dialog,.tei-files .pl-dialog{width:min(710px,100%)}.tei-files .pl-dialog{width:min(550px,100%)}
.tei-shade h2{font-size:20px;margin:0 0 14px}.tei-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tei-fields label,.tei-count{display:grid;gap:4px}
.tei-fields input,.tei-count input,.tei-due td input{max-width:100%;width:100%;min-height:36px;border:1px solid #d1d8dd;border-radius:5px;padding:6px}.tei-count{width:180px}.tei-checkbox{display:flex;align-items:center;gap:8px;margin:16px 0}.tei-checkbox input{width:16px;height:16px;min-height:0}
.tei-actions{display:flex;justify-content:flex-end;gap:8px}.tei-doc-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #eee;padding:10px}.tei-doc-row strong{color:#2872a3}.tei-doc-row a{margin-left:auto}
@media(max-width:650px){.tei-list,.tei-fields{grid-template-columns:1fr}.tei-shade .pl-dialog-content{padding:14px}.tei-tabs{gap:5px}.tei-tabs button{padding:0 8px;height:34px}.pl-shade.tei-shade{padding:32px 5px 8px}}

