.pin-input-overlay{position:fixed;bottom:0;left:0;width:calc(100vw - 48px);background:#fff;box-shadow:0 -4px 20px #00000026;padding:24px;transform:translateY(100%);transition:transform .3s ease-out;z-index:1001}.pin-input-overlay.visible{transform:translateY(0)}.pin-input-backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0006;z-index:1000}.pin-input-container{display:flex;gap:10px;justify-content:center;margin-top:16px}.pin-input-box{width:40px;height:48px;border-radius:8px;border:1px solid #ccc;text-align:center;font-size:20px;font-weight:700}.pin-input-box:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff40}body{margin:0;font-family:system-ui,sans-serif;background:#fff;color:#222}input[type=text],input[type=password],input[type=number],input[type=email]{border:1.5px solid #d1d5db;border-radius:8px;padding:10px 14px;font-size:1rem;font-family:inherit;outline:none;transition:border-color .2s,box-shadow .2s;margin-bottom:10px;box-sizing:border-box;background:#fafbfc;width:100%}input[type=text]:focus,input[type=password]:focus,input[type=number]:focus,input[type=email]:focus{border-color:#007bff;box-shadow:0 0 0 2px #e3f0ff;background:#fff}.app-container{max-width:480px;margin:2rem auto;background:#fff;padding:1rem}.portfolio-account-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:24px;width:100%}.portfolio-account-tabs button{margin:0;align-self:stretch}.portfolio-account-tab{background:#f4f6fa;color:#222;border:1.5px solid #e5e7eb;border-radius:14px;padding:12px 14px;font-weight:600;transition:all .2s;cursor:pointer;text-align:left;width:100%;min-height:54px;display:flex;justify-content:flex-start;align-items:center;gap:8px;white-space:normal;word-break:break-word}.portfolio-account-name{display:inline-flex;flex-direction:column;font-size:.94rem;line-height:1.3}.portfolio-account-tag{font-size:.78rem;color:#0a6bfd;margin-top:2px}.portfolio-account-tab.selected{background:#0057b8;color:#fff;border:none;box-shadow:0 2px 8px #b3d1f7;font-weight:700}@media(max-width:349px){.portfolio-account-tabs{grid-template-columns:1fr}}@media(max-width:430px){.portfolio-account-tabs{max-width:412px}.portfolio-account-tab{font-size:14px;padding:6px 10px}}.modal-overlay{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#0000008c;z-index:1100;display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:24px 12px;box-sizing:border-box}.modal-container{position:relative;width:100%;max-width:460px;margin:auto}.modal-body{background:#fff;border-radius:18px;padding:22px 20px 20px;box-shadow:0 8px 40px #0000002e;max-height:calc(100vh - 56px);overflow-y:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box}.modal-close-btn{position:absolute;top:-14px;right:-14px;width:40px;height:40px;border-radius:50%;background:#fff;border:none;box-shadow:0 2px 10px #00000038;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:700;color:#333;cursor:pointer;z-index:20;touch-action:manipulation;transition:box-shadow .15s,transform .15s;line-height:1}.modal-close-btn:active{transform:scale(.92);box-shadow:0 1px 4px #0000002e}@media(max-width:480px){.modal-overlay{padding:16px 8px}.modal-close-btn{top:-10px;right:-4px;width:36px;height:36px;font-size:20px}.modal-body{padding:18px 16px 16px;border-radius:16px;max-height:calc(100vh - 40px)}}.orders-account-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:16px}.orders-account-grid .orders-acc-all{grid-column:1 / -1}.orders-acc-btn{background:#f4f6fa;color:#333;border:1.5px solid #e5e7eb;border-radius:12px;padding:10px 14px;font-weight:600;font-size:14px;cursor:pointer;text-align:center;transition:all .2s;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.orders-acc-btn.selected{background:#0057b8;color:#fff;border-color:#0057b8;box-shadow:0 2px 8px #0057b840;font-weight:700}@media(min-width:350px){.orders-account-grid{grid-template-columns:repeat(2,1fr)}}.order-tabs{display:flex;gap:6px;margin-bottom:14px;background:#f5f6fa;border-radius:12px;padding:4px}.order-tab-btn{flex:1;font-size:13px;padding:8px 4px;border-radius:10px;border:none;background:transparent;color:#888;font-weight:700;cursor:pointer;transition:all .2s;position:relative;text-align:center}.order-tab-btn.active{background:#fff;color:#222;box-shadow:0 1px 4px #00000014}.order-tab-count{display:inline-block;margin-left:3px;font-size:10px;font-weight:800;border-radius:7px;padding:1px 5px;min-width:16px;text-align:center;vertical-align:middle}.order-card{background:#fff;border-radius:12px;padding:12px 14px;box-shadow:0 1px 3px #0000000d;border-left:4px solid #ccc;transition:box-shadow .15s}.order-card:active{box-shadow:0 1px 6px #0000001a}.order-card.buy{border-left-color:#2e7d32}.order-card.sell{border-left-color:#c62828}.order-badge{display:inline-block;font-size:10px;padding:2px 7px;border-radius:4px;font-weight:700;letter-spacing:.3px;vertical-align:middle}.order-badge.buy{background:#e8f5e9;color:#2e7d32}.order-badge.sell{background:#ffebee;color:#c62828}.order-badge.exchange,.order-badge.product{background:#f0f0f0;color:#666}.order-status-chip{display:inline-block;font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px}.order-status-chip.open{background:#fff3e0;color:#e65100}.order-status-chip.executed{background:#e8f5e9;color:#2e7d32}.order-status-chip.other{background:#f5f5f5;color:#888}.gtt-subtabs{display:flex;gap:6px;margin-bottom:14px}.gtt-subtab{flex:1;font-size:13px;padding:7px 4px;border-radius:8px;border:2px solid transparent;background:#f8f9fb;color:#888;font-weight:600;cursor:pointer;text-align:center;transition:all .15s}.gtt-subtab.active{border-color:currentColor;background:#fafafa}.gtt-create-btn{width:100%;padding:14px;border-radius:12px;border:2px dashed #6a1b9a;background:#faf5ff;color:#6a1b9a;font-weight:700;font-size:15px;cursor:pointer;transition:background .15s;margin-bottom:10px}.gtt-create-btn:active{background:#f0e6ff}.modal-body input[type=text],.modal-body input[type=number],.modal-body input[type=tel],.modal-body select{width:100%;padding:10px 12px;border-radius:10px;border:1.5px solid #e0e0e0;font-size:15px;box-sizing:border-box;outline:none;transition:border-color .15s;background:#fff}.modal-body input[type=text]:focus,.modal-body input[type=number]:focus,.modal-body input[type=tel]:focus,.modal-body select:focus{border-color:#0057b8}
