/* ============ SYNCHRONIZED INDICATOR PANELS ============ */
  .chart-wrap.has-oscillator #chart { height: calc(100% - var(--oscillator-stack-height, 112px)); }
  .chart-wrap.has-oscillator .chart-map {
    top: 12%;
    bottom: calc(var(--oscillator-stack-height, 112px) + 12%);
  }
  /* In IQ's trade room the tool rail stays anchored to the chart bottom and
     deliberately crosses the oscillator seams. This keeps the indicator count,
     interval badge and zoom control in the same positions at every scale. */
  .chart-wrap.has-oscillator .chart-tools { bottom: 14px; }
  .chart-wrap.has-oscillator .jump-live { bottom: calc(-18px + var(--oscillator-stack-height, 112px)); }
  .oscillator-panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 112px; z-index: 2;
    background: rgba(11, 19, 39, .97);
    border-top: 1px solid rgba(59, 74, 111, .58);
    overflow: hidden;
  }
  #macdPanel { height: 78px; }
  .chart-wrap.multi-oscillator .oscillator-panel {
    background: rgba(11, 19, 39, .985);
  }
  .chart-wrap.multi-oscillator .indicator-panel-chip {
    top: 3px;
    height: 22px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .chart-wrap.multi-oscillator .macd-chip {
    top: 3px;
    height: 21px;
  }
  .oscillator-panel[hidden] { display: none; }
  #rsiCanvas, #macdCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
  .indicator-panel-chip {
    position: absolute; z-index: 2; left: 51px; top: 5px;
    height: 26px; padding: 0 7px 0 10px;
    border: 1px solid var(--border); border-radius: 14px;
    background: rgba(11, 19, 39, .94);
    display: flex; align-items: center; gap: 6px;
    color: #DCE5F7; font-size: 12px; font-weight: 500;
  }
  .macd-chip {
    left: 54px; top: 4px; height: 22px;
    padding: 0 5px 0 8px; border-radius: 12px;
    gap: 4px; font-size: 11px;
  }
  .ma-chip {
    position: absolute; z-index: 3; right: 70px; top: 8px;
    height: 24px; padding: 0 9px;
    border: 1px solid rgba(251,154,85,.5); border-radius: 13px;
    background: rgba(17,27,51,.88); color: #FDBA74;
    display: flex; align-items: center;
    font-size: 11.5px; font-weight: 700;
    pointer-events: none;
  }
  .ma-chip[hidden] { display: none; }
  .rsi-settings-mini, .macd-settings-mini {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; color: #9BAED5;
    font-size: 17px; line-height: 1;
  }
  .macd-settings-mini { width: 18px; height: 18px; font-size: 14px; }

  /* ============ CHART ANALYSIS / INDICATORS FLOW ============ */
  #analysisFlow {
    position: absolute; inset: 0; z-index: 90;
    display: none; background: #081124;
    color: #F1F4FA; overflow: hidden;
  }
  #analysisFlow.on { display: block; animation: flowIn .22s cubic-bezier(.22,.9,.34,1); }
  @keyframes flowIn { from { opacity: .35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .flow-screen {
    position: absolute; inset: 0; display: none;
    flex-direction: column; background: #081124;
  }
  .flow-screen.active { display: flex; animation: flowScreenIn .18s ease-out; }
  @keyframes flowScreenIn { from { opacity: .45; transform: translateX(12px); } to { opacity: 1; transform: none; } }
  .flow-head {
    flex: 0 0 auto; min-height: 104px;
    padding: max(49px, calc(env(safe-area-inset-top, 0px) + 13px)) 15px 13px;
    display: flex; align-items: center; gap: 10px;
  }
  .flow-back {
    width: 29px; height: 32px; flex: 0 0 29px;
    position: relative; color: transparent; font-size: 0;
    display: flex; align-items: center; justify-content: flex-start;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABACAIAAAAVh/eoAAAACXBIWXMAABYlAAAWJQA+VRRmAAAAAXNSR0IB2cksfwAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABGdBTUEAALGPC/xhBQAAAb5JREFUeJzt271Kw1AUB/COgUJBsODUyUFwsg4uuvQJBJ38GOwkLh11VKoOFkTETdDF1RZxc9FH6CtYX8QDoSEmsc3NPTc35wP+dErh/n+ENE3uqQULy5ooNe8rqFSUo1yOtc0d7yWrwrF/3B9+TuDTe0//HKHF6OuHkIgrjsgiDBURJxwJizBHvZv64or3wmVzZFp0e4PG0qr3tmVzkLZA5qBugcnBwAKNg4cFDgcbCwQOTha2HMwsrDj4WRTnYGlRkIOrRREOxhbGHLwtzDjYWxhwSLDIyyHEIheHHIv5HKIs5nBIs5jFIdDiX46DkyuBFtkclw/vMi0yOMAiARG32Ojsnd++Po3G6WOqH1g2LB4q5OWYbQG5uBt6b2UZqJCLY/vwNP3lweNHs7UeHfNM87yIByqgnR1n1y/e+1gGKqBdO9pbu/37N7rXDlg8VDDgCPSXJR2970hG70pVRP/RGnFIE9GnYeYcckT0SXpRDgki+hbOjoO3iL7Bx+DgKqK7f/A4+InozkFsDk4iuuvYDQcPEZ1YcMlBXaS8aScQkTjtlCkiehYuIULFwi3HVOSbioVzjkCnrElHOf7kF5vBJO6kkcuhAAAAAElFTkSuQmCC') left center / 30px 21px no-repeat;
  }
  .flow-title { font-size: 18px; line-height: 1.15; font-weight: 500; letter-spacing: -.15px; }
  .flow-scroll {
    flex: 1 1 auto; min-height: 0; overflow-y: auto;
    -webkit-overflow-scrolling: touch; padding: 17px 15px 30px;
    scrollbar-width: none;
  }
  .flow-scroll::-webkit-scrollbar { display: none; }
  .flow-section-label {
    color: #9DAED2; font-size: 16px; font-weight: 500;
    margin: 0 0 11px;
  }
  .flow-section-row { display: flex; align-items: center; justify-content: space-between; }
  .flow-section-row .flow-section-label { margin-bottom: 0; }
  .flow-link { color: #FF9A67; font-size: 17px; font-weight: 500; }
  .flow-card {
    background: #192847; border-radius: 20px;
    overflow: hidden;
  }
  .flow-card + .flow-card { margin-top: 15px; }
  .flow-list-row {
    position: relative; width: 100%; min-height: 54px;
    padding: 0 20px; display: flex; align-items: center;
    gap: 14px; text-align: left;
    color: #F0F3FA; font-size: 17px; font-weight: 400;
    letter-spacing: -.25px;
  }
  .flow-list-row:active { background: transparent; }
  .flow-list-row .chevron {
    width: 12px; height: 17px; flex: 0 0 12px;
    margin-left: auto; color: transparent; font-size: 0; line-height: 0;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAyCAIAAAC77e5JAAAACXBIWXMAABYlAAAWJQA+VRRmAAAAAXNSR0IB2cksfwAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABGdBTUEAALGPC/xhBQAAAehJREFUeJxjkNRwpxtiGLVs1LJRy0YtG7Vs1LJRy0YtG7UMiJSNAlNL+tNKJsBReGoTDX1W1DD75LV3yCi1uJ+GwdgxbSOyZcevvvGPq6KVZTLaXrNXHkK279D557bemTSxDIhUjANX77iIbN/OY/f17WJoYhkQ6dlG7zh6D9m+NTsvAR1BE8uAyNor/eC5Z8j2AYMXGMg0sQyIfKIrjl95g2xfx7QNtLIMiBLzu9EyQ2H9bFpZBkQVbQvR7IvKaKGVZUDUO3srsmVHL71yCymklWVyuj4L1h5Htm/f6cdmLkk0sQyI1EyD1++9imzf5gM3Nc3DaGIZEBk6xO068QDZviWbTivo+9LEMiCy98s+dOEFsn2TFuyS0vSgiWVAFJhQAyydke2r7V5GK8uAaP6aY8iWnbj61hQpsVDTsqSCHrRsl1M1jSY+84upRCvAWiatRVNDHcuAtRpa0Txj2QEZLU/qWwasz4C1GrJNK7adVzL0x1RJqWUqxkFrdl1Gtmnr4dvaVhFYFVNkmayO99zVR5Bt2n/miYVbCi71FFnWPWMzsk3HLr/2CC/Bo558y0qb56Ml9NjsdvxayLQsPrcTzaaSpnkEdZFjmXdUOVqW6pm1hRiNJFtm7Zl+ADVLzV97TE7Xmxi9AKBOA74XnMulAAAAAElFTkSuQmCC') center / 12px 17px no-repeat;
  }
  .new-pill {
    margin-left: auto; margin-right: 10px;
    min-width: 44px; height: 23px; padding: 0 9px;
    border-radius: 14px; background: #FF7218; color: #FFF;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 500;
  }
  .flow-sprite {
    width: 32px; height: 32px; flex: 0 0 32px;
    background-repeat: no-repeat;
    background-size: 375px 813px;
    mix-blend-mode: lighten;
  }
  .sprite-analysis { background-image: url('../../assets/indicator-flow/chart-analysis.png'); }
  .sprite-categories { background-image: url('../../assets/indicator-flow/indicators.png'); }
  .sprite-favorites { background-image: url('../../assets/indicator-flow/favorites.png'); }
  .sp-analysis-indicators { background-position: -31px -157px; }
  .sp-analysis-scripts { background-position: -31px -211px; }
  .sp-analysis-strategies { background-position: -31px -266px; }
  .sp-analysis-widgets { background-position: -31px -319px; }
  .sp-star { background-position: -31px -186px; }
  .sp-fire { background-position: -31px -240px; }
  .sp-momentum { background-position: -29px -313px; }
  .sp-trend { background-position: -29px -366px; }
  .sp-volatility { background-position: -29px -420px; }
  .sp-averages { background-position: -29px -476px; }
  .sp-volume { background-position: -29px -525px; }
  .sp-other { background-position: -29px -577px; }
  .sp-rsi { background-position: -29px -159px; }
  .analysis-add-card { margin-top: 9px; padding: 0; }
  .analysis-add-card .flow-list-row { min-height: 54px; }
  .flow-reference-icon {
    display: block; object-fit: fill; flex: 0 0 auto;
    pointer-events: none; user-select: none;
    background-position: center; background-repeat: no-repeat; background-size: 100% 100%;
  }
  .flow-chart-tools-icon {
    width: 21px; height: 29px; margin: 0 5.5px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABaCAIAAABohKxKAAAACXBIWXMAABYlAAAWJQA+VRRmAAAAAXNSR0IB2cksfwAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABGdBTUEAALGPC/xhBQAABr5JREFUeJztmvtTVGUYx/0zaPqhmaKapsm0rPEaTIAFckmTm8CggBcwQQQaMRITsMIgb4wiYoEXGFRChSAFySIuw0WTiw1IIoqEuKuRQJMj9HXP7uHZA3s4l/csW7Mz32F2z3ne7/N8zvued9/zHmY5OLr81zVrxiuwM9gZbEd2BtuQncE2ZGewDdkZbEN2BpNeeN1rnlPQOx4Rbss3evjGePpv9gqI9QrY4hVoED4ExOKgu280AhD2plMQmsw8w/sfbkrPKqysbb05MKQfHYd0I2M6wwfjV/p5ZIw/qBsxHkRDNN+dVQgrazPMdwktr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7xeDGGuO37KUNrd/9Lb/iIxJ8qq7H0kEkXWggTMUEKumWGhihDOQNUVddGVzInvqtWxqCXzFBw9rKeLMWratumHXjTMLj6RE1M1Ya/W1MsbhVjkHADRkQIEBlLMKerMr20PfDp10vxyQeezrCkDk//zZaC5y4JzC2osASQW1COAEttYSuIT0g+MG15khigvFMXqXVjW89zr7qLxM9dHMgNCV74ioMiTWAo2H07dqZKSm1SGZ6f7dny222a4GjhD+JNhK92pttFhSGNRzokZckA+ayKE3R0bNJeVgywEpgjncTCZDBASbtyBJlcP7B4w0lngInAFomkVyWPASo8/xNNVmN5NSadASY0EilklSSb4ZW3VrTfHKApD+adU8OA5jQM5kihLQPktyZR0PVRCbuVMaChwArmcutRwgClZJi90RoYerzEPUIuA5qgIY2BrYJiFDJAJRfqafrK2la5DGhCA2CorBLlDHMWB3TffUiL2HP4tHQGBNOzsIKhtRmgkA07BKM5PDpNCoPgH2UgWCkuQxUDlJ5VQEvpHXz09rsh4gwIQBg9BRM1NahlcHj6eu4KLaisulmcAQH0OJqrLIABw3yX0Du6EVrWF/tPWmLAKXoQDRX/HyJLBigiZpdgfAevT57MwO8680JD9dnZMEB7j5i96+/qexAa9Rk9gq9dd/T0CJowSc2MAbpU305LrG7oEPmKYFZ5WTI4eawdfPSEK1FnPmaocGpw+AmCbZEB2vjxV5ZK15P/MEYYw6SMGaADR0tEOgFCANuM7Bmgc5WNlgDOVzUyT6cJA56DK8x/+DjhoPRH5Blm4JRxsOj+sHHXGh+Yv7+zBoODYbslMj4dEt/IsWkGq8nOYBuyM9iG7Ay2ITuDbej/wPAv73B/EU8kZcQAAAAASUVORK5CYII=');
    mix-blend-mode: lighten;
  }
  .applied-card {
    margin: 10px 0 35px; min-height: 96px; border-radius: 20px;
    background: #192847; padding: 14px 16px;
    display: flex; align-items: center; gap: 10px;
  }
  .applied-card[hidden] { display: none; }
  #appliedIndicatorBlock .applied-card { margin-bottom: 10px; }
  #appliedIndicatorBlock .applied-card:last-child { margin-bottom: 35px; }
  .applied-copy { min-width: 0; flex: 1; text-align: left; }
  .applied-name { font-size: 18px; line-height: 1.2; font-weight: 400; white-space: nowrap; }
  .applied-code { color: #9FB0D4; font-size: 15px; margin-top: 6px; }
  .applied-icon-btn {
    width: 34px; height: 36px; color: #EEF3FA;
    display: grid; place-items: center; font-size: 22px;
  }
  .applied-icon-btn.off { opacity: .42; }
  .applied-eye-reference {
    width: 30px; height: 24px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABICAIAAAD51HXFAAAACXBIWXMAABYlAAAWJQA+VRRmAAAAAXNSR0IB2cksfwAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABGdBTUEAALGPC/xhBQAACJlJREFUeJztm+dTVFcYxv03sFdiQ0QwkjiWODaKIFUxoKKh2FBRKYpS7ErRGMUYEQEVsDcCIgqiYgNcigLSpC/gAoqi8VMeQrJDzrnl7N6lOHNn3k87vO8993fPed7nnHsZoDd2gRzqGNDnI+hXIeOQccg4ZBwyDhmHjEPGIeOQcfR99BmOwePN+vzmexXHKCPr6QtX2630W+8buic8Jup8UtK95zmFlXVNH1Qf/mpp/9rY0lFa1ZRTUJGelX89JSv2Ump4ZOI6n9AF9l6jjRd/8zgGjls4w8LNyz8iOiFFUVSlav/aom2A1/O8spMxN1Z77dWfavuN4TCYvtQ3+MSL/HKt718gMImuJT929z4w2timX+MYNN7McfWOy7czm9o+9wQIIuqb28/EJ5s5bux3OEZMttoccBQrohco0PHgaeEy910Dx/UDHEMmmgPEm7eNUu4H0tAseUKlPVLMsvToSxxmDhuhcIzDbVB9VLyuSknPhrLuPxoHiXVctX2mhfsYk38lAK3HdL7romVboJd+uyPDIhPjLt1NSc9B96lWtrFcorG1I+hQ1OAJOuvZrDjQNUJCo5vffxF57O1fs3JK9h2JA7hB/zkL3DYWPObU77G3Hjx7Vdv0oai84Wbqk7ATCZ5bDs6xXjvccBF9RWAKP5mYXSAuz6m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lLq9ZSs+1n5OQUVpVVNXZMIvOqaPqD7JN17Dsu/JzxmvW+o3Qo/mBctzmz6Ow7h6J//q9BnOPpzyDhkHDIOGYeMQ8Yh45BxyDhkHH0fMg4ZB3/8DWR4SnQScIWXAAAAAElFTkSuQmCC');
  }
  /* Original-app trash icon isolated from the supplied reference with transparent padding. */
  .applied-trash-reference {
    width: 33px; height: 46px;
    background-image: url('../../assets/indicator-flow/trash-reference.png?v=20260811-transparent');
  }

  .indicator-search {
    height: 47px; border: 1.5px solid #667BA8; border-radius: 14px;
    display: flex; align-items: center; gap: 13px; padding: 0 17px;
    margin-bottom: 16px; color: #556A94;
  }
  .search-symbol { width: 21px; height: 21px; border: 2px solid #9EB2DC; border-radius: 50%; position: relative; flex: 0 0 auto; }
  .search-symbol::after { content:''; position:absolute; width:9px; height:2px; background:#9EB2DC; right:-7px; bottom:-4px; transform:rotate(45deg); border-radius:2px; }
  .indicator-search input {
    flex: 1; min-width: 0; background: transparent; border: 0; outline: 0;
    color: #E9EEF8; font: inherit; font-size: 16px;
  }
  .indicator-search input::placeholder { color: #556A94; opacity: 1; }
  .indicator-groups .flow-card:first-child { padding: 7px 0; }
  .indicator-groups .flow-card:last-child { padding: 0; margin-top: 15px; }
  .indicator-groups .flow-list-row { min-height: 53px; }
  .favorites-letter { color: #A7B8D9; font-size: 17px; font-weight: 600; margin-bottom: 10px; }
  .favorite-indicator-row {
    min-height: 76px; padding: 10px 18px;
    display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px;
    column-gap: 12px;
  }
  .favorite-indicator-row .flow-sprite { width: 31px; height: 31px; flex-basis: 31px; }
  .favorite-indicator-row .row-text {
    min-width: 0; font-size: 19px; line-height: 1.2;
    white-space: normal; overflow-wrap: anywhere;
  }
  .favorite-indicator-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
  .favorite-applied { display: none; align-items: center; gap: 6px; color: #54CC8C; font-size: 13px; line-height: 16px; }
  .favorite-applied.on { display: flex; }
  .favorite-applied::before {
    content: '\2713'; width: 16px; height: 16px; border: 1.5px solid #54CC8C; border-radius: 50%;
    display: inline-grid; place-items: center; font-size: 11px; font-weight: 800; line-height: 1;
  }
  .favorite-star {
    width: 32px; justify-self: center; align-self: center;
    color: #F5F7FB; font-size: 28px; line-height: 1; text-align: center;
  }
  .favorite-group + .favorites-letter { margin-top: 4px; }
  .ma-wave-icon {
    width: 32px; height: 32px; flex: 0 0 32px;
    display: grid; place-items: center;
  }
  .ma-wave-icon .flow-reference-icon {
    width: 37px; height: 24px; max-width: none;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABICAIAAACYzFeHAAAACXBIWXMAABYlAAAWJQA+VRRmAAAAAXNSR0IB2cksfwAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABGdBTUEAALGPC/xhBQAABfdJREFUeJztmo2L22Qcx/dvuDkZE6W97u7sNWmapE3aJk3vrr1re6AOGVN8GTqdTsWXzZcbChNRUeTEA98VlclEcTgHUzZF1KkTdSKId/PtXPtn+KPhYprneXJPkqd3affAlyPJlSd5Pnme32s2XZKocjHRpg1/gqERR8lRxk8cJUcZP3GUHGX8xFFylPETR8lRxk8cJUcZPw0Vyi2J6tiOijBqToyaiVSFowymbUnrZqn4cln9pia154TOnGD/BV1oCWfr2aOW/HihMJcpcZREZUbNZ4v5v5r/4/Og9Oh8U1wsq7WJMkfZo0OFQgcB50FJYvqBJc/0AejgoVTHzROTOSwj/1Xp0fPF/NakdfGivFooLTVEEp1AKOFnX9YkM21cjCh3Z4s2An9Y6Jb3+c3fLWGnyMYjDQxKmPCagFDQ2OM2Yk+Z0BwMlLANYfmQlh7NdexvHIOw0hKq6aiOaABQXjFiQcyIYvKcvltRbsvp5asMCNFzY6aVNsAgPFYoHKvKKD7UvJ6pS3CjIUf5pqmQ8Nmn71syEPQZYXxHZb5QgLgSXY/u0V411GFGea+i+e9WyGQoh0qlKq8YKsmq2oLE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sOLD0X0KfpDmZ+8FLBGy1UN5DWsrv6tTFQGiVtFvlIr+gDq9rH0Sm2/rWbalpqC6gVBtW2lRxUMMGhJ3ybqbWtDP9ezrSw3R8P2Eah1kpvGdzjN1qjoAm97O3YqO8vLJ3D1abor1DXI1Hn2KK9RSmm9mbTKIfkgZuv/WBktUYfdBeETBzjjXGxK9bdJmwyw7jvAczlulXJ5vmUpyQ+0jKojVYRmCA3zDUPbkAtSl2DdvD6jabw1xTZRf1aQoHzPGUH3pg29NWvtkHcKxlZYX5e8NEVbi7nWpQg4DSkebu+WfVqZ8rVCazZQp6wIDqth9nTG44ig5yviJo+Qo4yeOkqOMnzhKjjJ+4ig5yviJo2Sm/wCaz1dGzqcblQAAAABJRU5ErkJggg==');
  }
  .ma-applied-meta { display: inline-flex; align-items: center; gap: 6px; }
  .ma-applied-dot { width: 7px; height: 7px; border-radius: 50%; background: #FF161B; }

  .rsi-settings-scroll { padding-bottom: 92px; }
  .ma-settings-scroll, .macd-settings-scroll { padding: 14px 15px 92px; }
  .settings-card {
    background: #192847; border-radius: 20px; padding: 15px;
    margin-bottom: 15px;
  }
  .settings-card-title { font-size: 17px; line-height: 20px; font-weight: 400; margin-bottom: 14px; }
  .setting-label { color: #A8B9DC; font-size: 14px; line-height: 17px; font-weight: 400; margin-bottom: 7px; }
  .number-stepper {
    height: 49px; border: 1.5px solid #6378A5; border-radius: 14px;
    display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
    margin-bottom: 13px;
  }
  .number-stepper button { height: 100%; color: #ABC0E9; font-size: 27px; font-weight: 200; }
  .number-stepper output { text-align: center; color: #EEF2F9; font-size: 17px; font-variant-numeric: tabular-nums; }
  .setting-color-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
  .setting-color-row .setting-label { margin:0; }
  .color-box {
    width: 38px; height: 38px; border: 1.5px solid #6378A5; border-radius: 12px;
    display: grid; place-items: center;
  }
  .color-dot { width: 18px; height: 18px; border-radius: 50%; }
  .color-dot.blue { background: #1526F4; }
  .color-dot.green { background: #05ED2A; }
  .color-dot.red { background: #FF161B; }
  .color-dot.orange { background: #FFA800; }
  .line-style-row { display:flex; align-items:center; justify-content:space-between; gap:8px; }
  .line-style-row .setting-label { margin:0 auto 0 0; }
  .line-style {
    width: 50px; height: 32px; border: 1.5px solid #344A77; border-radius: 18px;
    display:grid; place-items:center;
  }
  .line-style::after { content:''; width:13px; height:2px; border-radius:2px; background:#9FB4DE; }
  .line-style.medium::after { height:3px; }
  .line-style.bold::after { height:4px; }
  .line-style.active { background:#E5EEFD; border-color:#E5EEFD; }
  .line-style.active::after { background:#526891; }
  .settings-actions {
    position:absolute; left:0; right:0; bottom:0; z-index:3;
    display:grid; grid-template-columns:1fr 1fr; gap:11px;
    padding: 12px 15px calc(env(safe-area-inset-bottom, 0px) + 14px);
    background: linear-gradient(180deg, rgba(8,17,36,0), #081124 18%, #081124 100%);
  }
  .settings-action {
    height: 49px; border-radius:14px; font-size:17px; font-weight:500;
    background:#13203A; color:#5D6C8D;
  }
  .settings-action.apply { background:#FF7118; color:#FFF; }
  .ma-settings-card { padding: 17px 15px 20px; }
  .ma-settings-card .number-stepper { margin-bottom: 19px; }
  .ma-type-picker {
    position: relative; z-index: 1; height: 49px; margin-bottom: 19px;
  }
  .ma-type-picker.open { z-index: 20; }
  .ma-type-trigger {
    width: 100%; height: 49px; padding: 0 20px 0 15px;
    display: flex; align-items: center; justify-content: space-between;
    border: 1.5px solid #6378A5; border-radius: 14px;
    background: transparent; color: #EEF2F9;
    font: inherit; font-size: 17px; text-align: left;
  }
  .ma-type-trigger:focus-visible { outline: 2px solid #DDE9FF; outline-offset: 2px; }
  .ma-type-picker.open .ma-type-trigger { border-color: #E3ECFF; }
  .ma-type-chevron {
    width: 11px; height: 11px; flex: 0 0 11px;
    border-right: 2px solid #A9BDE5; border-bottom: 2px solid #A9BDE5;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .16s ease;
  }
  .ma-type-picker.open .ma-type-chevron {
    transform: rotate(225deg) translate(-2px, -2px);
  }
  .ma-type-menu {
    position: absolute; top: 57px; left: 0; right: 0; z-index: 2;
    overflow: hidden;
    border: 1.5px solid #30466F; border-radius: 13px;
    background: #071128;
  }
  .ma-type-menu[hidden] { display: none; }
  .ma-type-option {
    width: 100%; height: 54px; padding: 0 19px;
    display: flex; align-items: center; justify-content: space-between;
    border: 0; border-radius: 0;
    background: #071128; color: #EEF2F9;
    font: inherit; font-size: 17px; font-weight: 400; text-align: left;
  }
  .ma-type-option.selected { background: #2A3D66; }
  .ma-type-option:focus-visible { outline: 2px solid #DDE9FF; outline-offset: -3px; }
  .ma-type-check { display: none; width: 22px; height: 22px; color: #A9BDE5; }
  .ma-type-option.selected .ma-type-check { display: block; }
  .ma-type-check svg { display: block; width: 100%; height: 100%; }
  .ma-color-button { background: transparent; }
  .ma-color-button:active { background: rgba(255,255,255,.04); }
  .macd-period-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .macd-period-grid .number-stepper { grid-template-columns: 45px 1fr 45px; }
  .macd-settings-card .line-style-row { margin-top: 3px; }

  @media (max-height: 700px) {
    .flow-head { min-height: 83px; padding-top: max(31px, calc(env(safe-area-inset-top, 0px) + 10px)); }
    .flow-scroll { padding-top: 12px; }
    .flow-list-row { min-height: 49px; }
    .indicator-groups .flow-list-row { min-height: 49px; }
  }

  .sentiment {
    flex: 0 0 auto;
    display: flex; align-items: center; gap: 10px;
    padding: 6px 16px 2px;
  }
  .s-side {
    display: flex; align-items: center; gap: 4px;
    color: var(--muted); font-size: 14.5px; font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .s-bar {
    flex: 1; height: 9px; border-radius: 6px; overflow: hidden;
    background: #313D63;
    display: flex;
  }
  .s-bar i { display: block; height: 100%; background: #4A5A8C; width: 50%; border-radius: 6px 0 0 6px; }
  html[data-creative-profile-id="standard"] .s-bar,
  html[data-creative-profile-id="tiktok"] .s-bar { background: #2C8C63; }
  html[data-creative-profile-id="standard"] .s-bar i,
  html[data-creative-profile-id="tiktok"] .s-bar i { background: #B52E35; }
  html[data-creative-profile-id="standard"] .sentiment .s-side:first-child,
  html[data-creative-profile-id="tiktok"] .sentiment .s-side:first-child { color: #F07178; }
  html[data-creative-profile-id="standard"] .sentiment .s-side:last-child,
  html[data-creative-profile-id="tiktok"] .sentiment .s-side:last-child { color: #58CB8C; }

  .trade-actions {
    flex: 0 0 auto;
    display: flex; gap: 12px; padding: 12px 16px 10px;
  }
  .sentiment[hidden], .trade-actions[hidden], .standard-trade-panel[hidden], .expected-return[hidden] { display: none; }
  /* TikTok removes the two prohibited rows visually while retaining the native
     trade-room vertical rhythm around the chart and direction controls. */
  html[data-creative-profile-id="tiktok"] .profile-hidden-reserved {
    visibility: hidden;
    pointer-events: none;
    user-select: none;
  }
  .act-btn {
    flex: 1; height: 60px; border-radius: 18px;
    background: var(--card-2);
    border: 1px solid var(--border-2);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 20px; font-weight: 700; letter-spacing: -.2px;
    transition: transform .12s, border-color .12s;
  }
  .act-btn:active { transform: scale(.965); border-color: var(--accent); }
  .act-btn.primary {
    background: linear-gradient(90deg, #FB8C3C, #F97316);
    border: none;
    color: #fff;
    box-shadow: 0 12px 26px rgba(249,115,22,.32);
  }
  .act-btn.primary:active { transform: scale(.975); }

  .standard-trade-panel {
    flex: 0 0 auto;
    padding: 5px 16px 0;
  }
  .standard-trade-fields {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px;
  }
  .standard-trade-field { min-width: 0; }
  .trade-field-label {
    display: block; margin-bottom: 6px;
    color: #AAB8D8; text-align: center;
    font-size: 15px; font-weight: 600;
  }
  .trade-field-control {
    height: 54px; border-radius: 15px; background: #1A2746;
    display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center; overflow: hidden;
  }
  .trade-step {
    height: 100%; display: grid; place-items: center;
    color: #9AAED5; font-size: 28px; font-weight: 400; line-height: 1;
  }
  .trade-step:active { background: rgba(255,255,255,.05); }
  .trade-field-value {
    min-width: 0; text-align: center; color: #F2F5FC;
    font-size: 22px; line-height: 1; font-weight: 650;
    font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .direction-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-top: 10px;
  }
  .direction-btn {
    height: 60px; border-radius: 17px; padding: 0 16px;
    display: flex; align-items: center; justify-content: space-between;
    color: #FFF; font-size: 20px; font-weight: 650;
    transition: transform .12s, filter .12s;
  }
  .direction-btn:active { transform: scale(.97); filter: brightness(.96); }
  .direction-btn.lower { background: #ED4B55; }
  .direction-btn.higher { background: #2FAE71; }
  .expected-return {
    min-height: 30px; padding: 7px 2px 0;
    display: flex; align-items: baseline; justify-content: center; gap: 7px;
    color: #E5EAF5; font-size: 14px; white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .expected-return .amount { color: #48C986; font-weight: 650; }
  .expected-return .percent { color: #91A7D3; font-weight: 650; }

  @media (max-height: 760px) {
    .standard-trade-panel { padding-top: 2px; }
    .trade-field-label { margin-bottom: 4px; font-size: 13px; }
    .trade-field-control { height: 47px; }
    .direction-actions { margin-top: 7px; }
    .direction-btn { height: 52px; }
    .expected-return { min-height: 25px; padding-top: 5px; }
  }
