/* Extension: screenshot-faithful black iOS MT5, system font, blue actions, 20px gutters.
   Preserve 414x898 hardware, existing TAG/CopyX UI, scenario engine and historical source.
   Dials: variance 1 / motion 1 / density 9 / assets 10 / fidelity 10. */
#mt5Portal[hidden]{display:none!important}html:not(.mt5-tutorial) body:has(.mt5-app-active) .tour-marker{display:none!important}#mt5Portal:after{content:'';position:absolute;bottom:6px;left:50%;transform:translateX(-50%);height:5px;width:135px;background:#fff;border-radius:4px;pointer-events:none}.mt5-app-active #portal,.mt5-app-active #copyxPortal,.mt5-app-active .portal-head,.mt5-app-active .browserbar{display:none!important}.mt5-app-active.glass,.mt5-app-active .ios-status{background:#000;color:#fff}.mt5-app-active .home-indicator{background:#fff}.mt5-app-active .signal,.mt5-app-active .wifi{stroke:#fff}.mt5-app-active .battery{background:#fff;color:#000}
#mt5Portal{flex:1;min-height:0;position:relative;background:#000;color:#f5f5f5;font:16px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;overflow:hidden;color-scheme:dark}#mt5Portal *{box-sizing:border-box}#mt5Portal button,#mt5Portal input,#mt5Portal select{font:inherit}#mt5Portal button{cursor:pointer;color:inherit;border:0;background:none}#mt5Portal button:focus-visible,#mt5Portal input:focus-visible{outline:2px solid #0a84ff;outline-offset:2px}#mt5Portal button:disabled{opacity:.28;cursor:default}#mt5Portal button:active{transform:none}#mt5Portal h2{font-size:18px;font-weight:600;margin:0}#mt5Portal .mt5-screen{height:100%;display:flex;flex-direction:column}#mt5Portal .mt5-head{flex:none;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 19px 10px;gap:10px}#mt5Portal .mt5-head>span{display:flex;align-items:center;gap:9px}#mt5Portal .mt5-head img{width:30px;height:30px;border-radius:5px}#mt5Portal .mt5-round{width:43px;height:43px;border-radius:50%;background:linear-gradient(#262626,#191919);border:1px solid #333;display:grid;place-items:center;flex:none}#mt5Portal svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#mt5Portal .mt5-list{padding:0 19px;overflow:auto;flex:1;min-height:0;scrollbar-width:none}#mt5Portal .mt5-broker{display:flex;align-items:center;width:100%;text-align:left;gap:14px;padding:14px 0}#mt5Portal .mt5-broker img{width:32px;height:32px;object-fit:contain;border-radius:5px}#mt5Portal .mt5-broker small{display:block;font-size:15px;color:#929292;margin-top:3px}#mt5Portal .mt5-info{margin-left:auto;color:#0a84ff;border:1px solid;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-family:serif;font-size:19px}#mt5Portal .mt5-search{margin:12px 26px 27px;display:flex;align-items:center;gap:10px;border-radius:28px;background:#202020;border:1px solid #363636;box-shadow:inset 0 1px 2px #ffffff0d;padding:12px}#mt5Portal .mt5-search input{background:none;border:0;outline:none;width:100%;min-width:0;color:#fff;font-size:16px}#mt5Portal .mt5-caption{color:#909090;margin:26px 19px 6px;font-weight:600}#mt5Portal .mt5-form{background:#1c1c1e;border-block:1px solid #333;padding:0 19px}#mt5Portal .mt5-form>label,#mt5Portal .mt5-form>.mt5-line{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;border-bottom:1px solid #393939}#mt5Portal .mt5-form>label:last-child{border:0}#mt5Portal .mt5-form input:not([type=checkbox]){width:65%;min-width:0;text-align:right;background:none;color:#eee;border:0;padding:12px 0;outline:none}#mt5Portal .mt5-muted{color:#949494}#mt5Portal .mt5-segment{display:flex;background:#29292c;border-radius:30px;padding:3px;font-size:13px}#mt5Portal .mt5-segment button{padding:5px 13px;border-radius:24px;white-space:nowrap}#mt5Portal .mt5-segment button.selected{background:#626266}#mt5Portal .mt5-toggle{appearance:none;width:60px;height:28px;background:#414145;border-radius:30px;position:relative;cursor:pointer}#mt5Portal .mt5-toggle:checked{background:#30d158}#mt5Portal .mt5-toggle:after{content:'';position:absolute;left:3px;top:3px;width:22px;height:22px;background:white;border-radius:50%}#mt5Portal .mt5-toggle:checked:after{left:35px}#mt5Portal .mt5-forgot{text-align:center;display:block;color:#777;margin:24px auto;font-size:15px}#mt5Portal .mt5-signin{margin:auto auto 27px;padding:13px 18px;border:1px solid #383838;border-radius:27px;background:#222;font-weight:600;color:#0a84ff}#mt5Portal .mt5-error{color:#ff6961;font-size:14px;padding:0 20px;text-align:center}#mt5Portal .mt5-tabs{display:flex;justify-content:space-between;margin:8px 19px 25px;background:linear-gradient(#242424,#191919);border:1px solid #373737;border-radius:40px;padding:4px;flex:none;box-shadow:inset 0 1px 2px #ffffff0b}#mt5Portal .mt5-tabs button{flex:1;border-radius:35px;min-height:51px;padding:7px 0 5px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;letter-spacing:.1px}#mt5Portal .mt5-tabs button.selected{background:#080808;color:#409cff}#mt5Portal .mt5-tabs svg{width:22px;height:22px}#mt5Portal .mt5-history-head .mt5-segment{font-size:15px;padding:3px}#mt5Portal .mt5-history-head .mt5-segment button{padding:10px 9px}#mt5Portal .mt5-history-head .selected{background:#080808!important}#mt5Portal .mt5-deal{padding:9px 0 10px;border:0;width:100%;display:block;text-align:left}#mt5Portal .mt5-deal>div{display:flex;justify-content:space-between;gap:12px;font-size:16px}#mt5Portal .mt5-deal strong{font-weight:600}#mt5Portal .mt5-deal small{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:#b2b2b2;margin-top:5px}#mt5Portal .mt5-up{color:#448de3}#mt5Portal .mt5-down{color:#df574c}#mt5Portal .mt5-summary{margin:16px 0 8px}#mt5Portal .mt5-summary>div{display:flex;justify-content:space-between;padding:3px 0;font-size:16px}#mt5Portal .mt5-settings-title{text-align:center;padding:6px 0 24px;font-size:18px}#mt5Portal .mt5-group{position:relative;overflow:hidden;border-radius:25px;background:#1c1c1c;padding:0 19px;margin:0 0 20px}#mt5Portal .mt5-setting{width:100%;display:flex;align-items:center;gap:15px;min-height:48px;text-align:left;border-bottom:1px solid #3b3b3b;padding:10px 0}#mt5Portal .mt5-setting:last-child{border:0}#mt5Portal .mt5-setting>span:last-child{margin-left:auto;color:#626262;font-size:25px}#mt5Portal .mt5-setting small{display:block;color:#969696;font-size:13px;margin-top:2px}#mt5Portal .mt5-setting-icon{width:28px;height:28px;border-radius:6px;display:grid;place-items:center;flex:none;color:#fff}#mt5Portal .mt5-setting-icon svg{width:20px;height:20px}#mt5Portal .mt5-account{display:block;width:100%;padding:27px 0 10px;text-align:center;line-height:1.45;font-size:13px;border-bottom:1px solid #3b3b3b}#mt5Portal .mt5-readonly{position:absolute;top:13px;left:-23px;transform:rotate(-45deg);width:85px;text-align:center;background:#999;font-size:9px}#mt5Portal .mt5-empty{color:#888;text-align:center;padding:36px 0;font-size:14px}#mt5Portal .mt5-date{padding:10px;background:#1c1c1e;border-radius:15px;display:flex;gap:8px;font-size:12px}#mt5Portal .mt5-date input{width:145px}#mt5Portal details{font-size:13px;color:#999;padding:8px 0}#mt5Portal details p{line-height:1.5;margin:8px 0}#mt5Portal .mt5-live-summary{padding:16px 19px}.mt5-tile{background:#fff;overflow:hidden}.app-tile.mt5-tile img{width:100%;height:100%;max-height:none;object-fit:cover}.mt5-credentials .field{font-family:ui-monospace,monospace;font-size:14px;margin-bottom:10px}.mt5-credentials .form-label{margin-top:12px}.modal:has(.mt5-credentials){max-height:80%;width:calc(100% - 36px)}
