.ptp-app, .ptp-box { box-sizing: border-box; max-width: 100%; }
.ptp-box { border: 1px solid rgba(128,128,128,.3); border-radius: 10px; padding: 16px; margin: 0 0 16px; }
.ptp-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ptp-summary span { display: block; font-size: 12px; opacity: .7; }
.ptp-summary b { font-size: 18px; }
.ptp-trade { position: relative; }
.ptp-trade input[type=text] { width: 100%; padding: 10px; box-sizing: border-box; }
.ptp-sug { list-style: none; margin: 4px 0 0; padding: 0; position: absolute; left: 16px; right: 16px; z-index: 5; background: Canvas; color: CanvasText; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.ptp-sug:empty { display: none; }
.ptp-sug li { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid rgba(128,128,128,.2); }
.ptp-sug li:hover { background: rgba(128,128,128,.15); }
.ptp-pick { margin: 12px 0 0; min-height: 22px; }
.ptp-order { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ptp-order input { width: 110px; padding: 9px; }
.ptp-btn { border: 0; border-radius: 8px; padding: 9px 22px; font-weight: 600; color: #fff; cursor: pointer; }
.ptp-btn:disabled { opacity: .5; cursor: wait; }
.ptp-buy { background: #16a34a; }
.ptp-sell { background: #dc2626; }
.ptp-msg { margin-top: 8px; min-height: 20px; font-size: 14px; }
.ptp-up { color: #16a34a; }
.ptp-down { color: #dc2626; }
.ptp-tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.ptp-tabs button { background: transparent; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; padding: 6px 14px; cursor: pointer; color: inherit; }
.ptp-tabs button.on { background: rgba(128,128,128,.2); font-weight: 600; }
.ptp-scroll { overflow-x: auto; }
.ptp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ptp-table th, .ptp-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid rgba(128,128,128,.2); white-space: nowrap; }
.ptp-table small { display: block; opacity: .65; font-size: 11px; }
.ptp-foot { font-size: 12px; opacity: .7; }
.ptp-ghost { background: transparent; border: 1px solid rgba(128,128,128,.5); color: inherit; }
.ptp-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.ptp-row select { padding: 8px; }
.ptp-chain td, .ptp-chain th { text-align: center; }
.ptp-chain a { text-decoration: none; padding: 2px 6px; border-radius: 6px; }
.ptp-chain a:hover { background: rgba(128,128,128,.25); }
.ptp-atm td { background: rgba(250,204,21,.18); }
.ptp-futrow td { background: rgba(128,128,128,.1); }
.ptp-fnosum { margin: 0 0 10px; }
.wl-del { text-decoration: none; opacity: .6; }
#wl-sym { padding: 9px; width: 200px; }
