/* TAIF V5 — consolidated mobile stylesheet. Source order preserved. */
@media (max-width: 860px){
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-layout{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-table,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-table--split-scroll{
    --cm-mobile-table-width: 596px;
    --cm-mobile-grid:
      18px 34px 46px 124px
      62px 62px 62px 62px 126px;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow-x:auto !important;
    overflow-y:visible !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:thin !important;
    padding-bottom:5px !important;
    border-radius:10px !important;
    background:transparent !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-scroll,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-scroll-inner,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row{
    width:var(--cm-mobile-table-width) !important;
    min-width:var(--cm-mobile-table-width) !important;
    max-width:none !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-scroll,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-scroll--split-scroll{
    overflow:visible !important;
    height:auto !important;
    max-height:none !important;
    padding:0 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-scroll-inner,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-scroll-inner--split-scroll{
    display:flex !important;
    flex-direction:column !important;
    gap:4px !important;
    padding-top:4px !important;
    overflow:visible !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow--split-scroll{
    --cm-mobile-head-grid: 18px 34px 42px 108px 62px 62px 62px 62px 146px;
    display:grid !important;
    grid-template-columns:var(--cm-mobile-head-grid) !important;
    position:sticky !important;
    top:0 !important;
    z-index:6 !important;
    height:30px !important;
    min-height:30px !important;
    padding:0 !important;
    border-radius:8px 8px 0 0 !important;
    overflow:hidden !important;
    background:linear-gradient(180deg,#edf2f8 0%,#dfe7f1 100%) !important;
    border:1px solid rgba(148,163,184,.26) !important;
    box-shadow:none !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > div{
    min-width:0 !important;
    min-height:30px !important;
    height:30px !important;
    padding:0 4px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    font-size:9.2px !important;
    font-weight:900 !important;
    line-height:1.05 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    border-inline-start:0 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > div:first-child{
    border-inline-start:0 !important;
  }

  
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-toolbar-counterpart,
  body.taif-mobile-mode .panel[data-view="currency-management"] [data-currency-management-counterpart-picker],
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-btn--counterpart{
    display:none !important;
  }

  
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(5),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(8),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(5),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(8){
    display:none !important;
  }

  
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(1),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(1){ grid-column:1 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(2),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(2){ grid-column:2 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(3),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(3){ grid-column:3 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(4),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(4){ grid-column:4 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(6),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(6){ grid-column:5 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(7),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(7){ grid-column:6 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(9),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(9){ grid-column:7 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(10),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(10){ grid-column:8 !important; }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(11),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > :nth-child(11){ grid-column:9 !important; }

  
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(2),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(3),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(4),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(11){
    padding-inline:3px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(6),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(7),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(9),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(10){
    padding-inline:2px !important;
    font-size:8.55px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(6) *,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(7) *,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(9) *,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(10) *{
    max-width:100% !important;
  }

  
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row--usd,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row--selected{
    display:grid !important;
    grid-template-columns:var(--cm-mobile-grid) !important;
    grid-template-areas:none !important;
    grid-auto-flow:column !important;
    gap:0 !important;
    min-height:38px !important;
    height:38px !important;
    margin:0 !important;
    padding:0 !important;
    border-radius:8px !important;
    border:1px solid rgba(37,99,235,.10) !important;
    background:#fff !important;
    box-shadow:0 4px 12px rgba(15,23,42,.055) !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row--usd{
    background:linear-gradient(180deg,#f7fbff 0%,#ffffff 100%) !important;
    border-color:rgba(37,99,235,.18) !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > *,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-state-slot,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-flag,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-code-pill,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-name-col,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-pair-col,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-actions{
    grid-area:auto !important;
    grid-column:auto !important;
    grid-row:auto !important;
    min-width:0 !important;
    width:auto !important;
    max-width:none !important;
    min-height:38px !important;
    height:38px !important;
    margin:0 !important;
    padding:3px 4px !important;
    border-radius:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    align-content:center !important;
    text-align:center !important;
    background:transparent !important;
    border:0 !important;
    border-inline-start:1px solid rgba(148,163,184,.16) !important;
    box-shadow:none !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    box-sizing:border-box !important;
    line-height:1.15 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > *:first-child{
    border-inline-start:0 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > *::before,
  body.taif-mobile-mode .panel[data-view="currency-management"] :where(.currency-management-code-pill, .currency-management-name-col, .currency-management-pair-col, .currency-management-num-pill)::before{
    display:none !important;
    content:none !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-state-slot{
    padding:0 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-state-dot{
    width:11px !important;
    height:11px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-flag{
    padding:0 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-flag-image{
    width:24px !important;
    height:24px !important;
    min-width:24px !important;
    min-height:24px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-code-pill{
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:26px !important;
    min-height:26px !important;
    max-height:26px !important;
    padding:0 4px !important;
    border-radius:7px !important;
    border:1px solid rgba(15,23,42,.10) !important;
    background:linear-gradient(180deg,#f8fafc,#eef2f7) !important;
    color:#1e293b !important;
    font-size:10px !important;
    font-weight:900 !important;
    line-height:1 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-name-col{
    justify-content:center !important;
    align-items:center !important;
    padding-inline:6px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-name{
    width:100% !important;
    max-width:100% !important;
    color:#0f172a !important;
    font-size:10px !important;
    font-weight:900 !important;
    line-height:1.1 !important;
    text-align:right !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-pair-col{
    display:none !important;
    padding-inline:0 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-pair-badge{
    width:100% !important;
    max-width:100% !important;
    min-height:24px !important;
    height:24px !important;
    padding:0 4px !important;
    border-radius:8px !important;
    font-size:9.3px !important;
    font-weight:900 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill{
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:26px !important;
    min-height:26px !important;
    max-height:26px !important;
    padding:0 4px !important;
    border-radius:7px !important;
    border:1px solid rgba(148,163,184,.18) !important;
    background:linear-gradient(180deg,#ffffff,#f8fafc) !important;
    box-shadow:none !important;
    font-size:9.7px !important;
    font-weight:900 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--buy,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--ratio-buy{
    color:#15803d !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--sell,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--ratio-sell{
    color:#dc2626 !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--mid{
    display:none !important;
    color:#1d4ed8 !important;
  }

  
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--buy,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--sell,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--ratio-buy,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--ratio-sell{
    width:calc(100% - 6px) !important;
    min-width:calc(100% - 6px) !important;
    max-width:calc(100% - 6px) !important;
    margin-inline:3px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-actions{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:3px !important;
    padding:3px !important;
    align-items:center !important;
    justify-content:stretch !important;
    background:transparent !important;
    border-inline-start:1px solid rgba(148,163,184,.16) !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-iconbtn,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-actions :where(button){
    width:100% !important;
    min-width:0 !important;
    height:26px !important;
    min-height:26px !important;
    padding:0 !important;
    border-radius:8px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-iconbtn svg{
    width:12px !important;
    height:12px !important;
  }
}

@media (max-width: 430px){
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-table,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-table--split-scroll{
    --cm-mobile-table-width: 552px;
    --cm-mobile-grid:
      16px 32px 44px 112px
      58px 58px 58px 58px 116px;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > div{
    height:29px !important;
    min-height:29px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow--split-scroll{
    --cm-mobile-head-grid: 16px 32px 40px 100px 58px 58px 58px 58px 132px;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > div{
    font-size:8.8px !important;
    padding:0 3px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(6),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(7),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(9),
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-headrow > :nth-child(10){
    font-size:8.15px !important;
    padding-inline:1px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > *,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-state-slot,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-flag,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-code-pill,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-name-col,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-pair-col,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-actions{
    min-height:36px !important;
    height:36px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-row > *,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-name-col,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-pair-col,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-actions{
    padding:3px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-code-pill,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill{
    height:25px !important;
    min-height:25px !important;
    max-height:25px !important;
    font-size:9.2px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--buy,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--sell,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--ratio-buy,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-num-pill--ratio-sell{
    width:calc(100% - 4px) !important;
    min-width:calc(100% - 4px) !important;
    max-width:calc(100% - 4px) !important;
    margin-inline:2px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-name{
    font-size:9.5px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-pair-badge{
    height:23px !important;
    min-height:23px !important;
    font-size:8.8px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-flag-image{
    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    min-height:22px !important;
  }

  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-iconbtn,
  body.taif-mobile-mode .panel[data-view="currency-management"] .currency-management-actions :where(button){
    height:24px !important;
    min-height:24px !important;
  }
}

@media (max-width: 860px){
  body.taif-mobile-mode .taif-currency-management-modal{
    overflow:hidden !important;
    background:#f3f7ff !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal__head{
    flex:0 0 auto !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal__title{
    font-size:15px !important;
    font-weight:900 !important;
    line-height:1.2 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal__subtitle,
  body.taif-mobile-mode .taif-currency-management-modal__eyebrow{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal__body{
    min-width:0 !important;
    max-width:100% !important;
    overflow:auto !important;
    overflow-x:hidden !important;
    padding:8px !important;
    -webkit-overflow-scrolling:touch !important;
  }

  
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .taif-currency-management-modal__body{
    padding:0 !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-single-editor-panel{
    height:100% !important;
    min-height:0 !important;
    display:grid !important;
    grid-template-rows:minmax(0,1fr) auto !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-single-editor-scroll{
    min-height:0 !important;
    overflow:auto !important;
    overflow-x:hidden !important;
    padding:10px 10px 86px !important;
    -webkit-overflow-scrolling:touch !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-form-grid--single-editor-shell{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-form-grid--two,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-form-grid--method-legacy-compact,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-form-grid--method-legacy-compact.is-legacy-mode{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    align-items:end !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-field{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    display:grid !important;
    gap:5px !important;
    overflow:visible !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-field label,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-field__caption{
    min-height:28px !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
    text-align:center !important;
    color:#334155 !important;
    font-size:11px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    white-space:normal !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-input,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor :where(.currency-management-method-trigger,.currency-management-flag-picker__trigger,[data-taif-picker-trigger],button[id*="currency-management-currency"]){
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    height:40px !important;
    padding:0 10px !important;
    border-radius:12px !important;
    font-size:13px !important;
    font-weight:900 !important;
    text-align:center !important;
    box-sizing:border-box !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-name-autocomplete,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor :where(.currency-management-flag-picker,.currency-management-method-picker){
    position:relative !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:visible !important;
    z-index:4 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor :where(.currency-management-flag-picker,.currency-management-method-picker,.currency-management-name-autocomplete).is-open,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor :where(.currency-management-flag-picker,.currency-management-method-picker)[data-taif-disclosure-open="true"]{
    z-index:9001 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor [data-currency-management-legacy-link-row][hidden],
  body.taif-mobile-mode .taif-currency-management-modal--single-editor [data-currency-management-legacy-link-row][style*="display:none"],
  body.taif-mobile-mode .taif-currency-management-modal--single-editor [data-currency-management-legacy-link-row][style*="display: none"]{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-name-autocomplete__popover{
    position:absolute !important;
    inset:auto auto auto 0 !important;
    top:calc(100% + 4px) !important;
    right:auto !important;
    left:0 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    max-height:220px !important;
    overflow:auto !important;
    z-index:9000 !important;
    border-radius:14px !important;
    box-shadow:0 18px 42px rgba(15,23,42,.18) !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor :where(.currency-management-flag-popover,.currency-management-method-popover){
    z-index:9000 !important;
    border-radius:14px !important;
    box-shadow:0 18px 42px rgba(15,23,42,.18) !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-method-popover{
    min-width:0 !important;
    overflow:auto !important;
    padding:5px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-method-popover__option{
    min-height:40px !important;
    padding:8px 10px !important;
    border-radius:12px !important;
    align-items:center !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-method-popover__label{
    font-size:11.7px !important;
    line-height:1.35 !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover{
    min-width:0 !important;
    overflow:hidden !important;
    padding:5px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover__search-shell{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover__body{
    max-height:inherit !important;
    overflow:auto !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover__grid{
    grid-template-columns:minmax(0,1fr) !important;
    gap:5px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover__card{
    min-height:42px !important;
    display:grid !important;
    grid-template-columns:28px minmax(0,1fr) !important;
    grid-template-areas:"flag name" !important;
    gap:6px !important;
    align-items:center !important;
    padding:5px 6px !important;
    text-align:right !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover__card-flag{
    grid-area:flag !important;
    width:26px !important;
    height:26px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover__card-code{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-flag-popover__card-currency{
    grid-area:name !important;
    display:block !important;
    color:#0f172a !important;
    font-size:10.6px !important;
    font-weight:900 !important;
    line-height:1.25 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-modal-actions,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-modal-actions--dock{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px)) !important;
    margin:0 !important;
    background:linear-gradient(180deg,rgba(243,247,255,.35),#f3f7ff 34%,#f3f7ff 100%) !important;
    border-top:1px solid rgba(148,163,184,.16) !important;
    box-shadow:0 -10px 28px rgba(15,23,42,.07) !important;
    z-index:12 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-modal-actions .currency-management-btn{
    width:100% !important;
    min-width:0 !important;
    min-height:44px !important;
    height:44px !important;
    border-radius:14px !important;
    justify-content:center !important;
    font-size:13px !important;
    font-weight:900 !important;
  }

  
  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .taif-currency-management-modal__body{
    padding:10px 10px 18px !important;
    overflow:auto !important;
    overflow-x:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-panel,
  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-list{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-list{
    display:grid !important;
    gap:8px !important;
    padding:0 !important;
    overflow:visible !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card{
    display:grid !important;
    grid-template-columns:46px 74px minmax(0,1fr) 140px !important;
    align-items:center !important;
    gap:6px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:48px !important;
    padding:6px 8px !important;
    border-radius:14px !important;
    border:1px solid rgba(37,99,235,.12) !important;
    background:#fff !important;
    box-shadow:0 6px 16px rgba(15,23,42,.055) !important;
    overflow:hidden !important;
    text-align:right !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__identity{
    display:contents !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__flag{
    grid-column:1 !important;
    width:38px !important;
    height:38px !important;
    justify-self:center !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__text,
  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__head{
    display:contents !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__code{
    grid-column:2 !important;
    width:100% !important;
    min-height:30px !important;
    padding:0 6px !important;
    border-radius:10px !important;
    font-size:12px !important;
    font-weight:900 !important;
    justify-self:stretch !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__name{
    grid-column:3 !important;
    display:block !important;
    min-width:0 !important;
    width:100% !important;
    font-size:14px !important;
    font-weight:900 !important;
    line-height:1.1 !important;
    color:#0f172a !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    text-align:right !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__action{
    grid-column:4 !important;
    align-self:center !important;
    justify-self:stretch !important;
    min-height:34px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:5px !important;
    padding:0 8px !important;
    border-radius:11px !important;
    font-size:11.4px !important;
    font-weight:900 !important;
    white-space:nowrap !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__action svg{
    width:14px !important;
    height:14px !important;
  }

  
  body.taif-mobile-mode .taif-currency-management-modal--delete-confirm .taif-currency-management-modal__body{
    padding:12px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--delete-confirm .currency-management-delete-card{
    min-height:58px !important;
    display:grid !important;
    grid-template-columns:44px minmax(0,1fr) !important;
    gap:10px !important;
    align-items:center !important;
    padding:10px !important;
    border-radius:14px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--delete-confirm .currency-management-delete-card__flag{
    width:40px !important;
    height:40px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--delete-confirm .currency-management-delete-card__text{
    min-width:0 !important;
    display:flex !important;
    align-items:baseline !important;
    justify-content:flex-end !important;
    gap:8px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--delete-confirm .currency-management-confirm-warning{
    font-size:12px !important;
    line-height:1.65 !important;
    border-radius:14px !important;
    padding:12px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--delete-confirm .currency-management-modal-actions--compact{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .taif-currency-management-modal__body{
    padding:0 !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-scrollarea{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    overflow:auto !important;
    overflow-x:auto !important;
    padding:8px 8px 84px !important;
    -webkit-overflow-scrolling:touch !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-sticky-stack{
    position:sticky !important;
    top:0 !important;
    z-index:8 !important;
    gap:6px !important;
    margin:0 0 8px !important;
    width:max-content !important;
    min-width:720px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar{
    min-width:720px !important;
    width:720px !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) !important;
    gap:6px !important;
    padding:6px !important;
    border-radius:12px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar__search{
    width:100% !important;
    max-width:100% !important;
    flex:auto !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar__summary{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:5px !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar__pill{
    min-width:0 !important;
    font-size:10px !important;
    white-space:nowrap !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-grid-head,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__row{
    width:720px !important;
    min-width:720px !important;
    max-width:none !important;
    grid-template-columns:34px 58px 122px 68px repeat(4, 98px) !important;
    gap:5px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-grid-head{
    min-height:30px !important;
    padding:4px 8px !important;
    border-radius:12px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-list{
    display:grid !important;
    gap:6px !important;
    width:max-content !important;
    min-width:720px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card{
    width:720px !important;
    min-width:720px !important;
    padding:6px 8px !important;
    border-radius:12px !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__row{
    align-items:center !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__flag{
    width:28px !important;
    height:28px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__code,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-input{
    height:30px !important;
    min-height:30px !important;
    border-radius:9px !important;
    font-size:11px !important;
    font-weight:900 !important;
    padding-inline:6px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__name{
    font-size:11.5px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__pair-badge{
    max-width:100% !important;
    height:26px !important;
    min-height:26px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions--dock{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px)) !important;
    margin:0 !important;
    background:#f3f7ff !important;
    border-top:1px solid rgba(148,163,184,.16) !important;
    box-shadow:0 -10px 28px rgba(15,23,42,.08) !important;
    z-index:14 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions .currency-management-btn{
    width:100% !important;
    min-width:0 !important;
    height:44px !important;
    min-height:44px !important;
    border-radius:14px !important;
    font-size:13px !important;
    font-weight:900 !important;
    justify-content:center !important;
  }
}

@media (max-width: 430px){
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-form-grid--two,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-form-grid--method-legacy-compact,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-form-grid--method-legacy-compact.is-legacy-mode{
    gap:7px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-field label,
  body.taif-mobile-mode .taif-currency-management-modal--single-editor .currency-management-field__caption{
    font-size:10.4px !important;
    min-height:25px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card{
    grid-template-columns:42px 66px minmax(0,1fr) 122px !important;
    min-height:46px !important;
    gap:5px !important;
    padding:5px 7px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__flag{
    width:34px !important;
    height:34px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__code{
    font-size:11px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__name{
    font-size:13px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--currency-picker .currency-management-picker-card__action{
    min-height:32px !important;
    font-size:10.6px !important;
    padding-inline:6px !important;
  }
}

@media (max-width: 860px){
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-scrollarea{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    padding:8px 8px 92px !important;
    -webkit-overflow-scrolling:touch !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-sticky-stack{
    position:sticky !important;
    top:0 !important;
    z-index:8 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    gap:6px !important;
    margin:0 0 8px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:6px !important;
    padding:7px !important;
    border-radius:14px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar__search{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    flex:auto !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar__summary{
    width:100% !important;
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:6px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar__pill{
    width:100% !important;
    min-width:0 !important;
    min-height:28px !important;
    padding:0 6px !important;
    font-size:10.2px !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-grid-head{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-list{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:9px !important;
    padding:0 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:block !important;
    padding:8px !important;
    border-radius:16px !important;
    border:1px solid rgba(37,99,235,.14) !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
    box-shadow:0 8px 20px rgba(15,23,42,.06) !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card--usd{
    border-color:rgba(37,99,235,.22) !important;
    background:linear-gradient(180deg,#f5f9ff 0%,#ffffff 100%) !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__row{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:grid !important;
    direction:rtl !important;
    grid-template-columns:42px 64px minmax(0,1fr) minmax(0,1fr) !important;
    grid-template-areas:
      "flag code name name"
      "buy buy sell sell"
      "ratio-buy ratio-buy ratio-sell ratio-sell" !important;
    gap:7px !important;
    align-items:stretch !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--flag{
    grid-area:flag !important;
    min-height:36px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--code{
    grid-area:code !important;
    min-height:36px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--name{
    grid-area:name !important;
    min-height:36px !important;
    justify-content:flex-start !important;
    padding-inline:4px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--pair{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--buy{
    grid-area:buy !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--sell{
    grid-area:sell !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-buy{
    grid-area:ratio-buy !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-sell{
    grid-area:ratio-sell !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__flag{
    width:34px !important;
    height:34px !important;
    flex:0 0 34px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__code{
    width:100% !important;
    height:32px !important;
    min-height:32px !important;
    border-radius:10px !important;
    font-size:11px !important;
    font-weight:900 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__name-wrap{
    width:100% !important;
    min-width:0 !important;
    display:block !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__name{
    width:100% !important;
    color:#0f172a !important;
    text-align:right !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    font-size:13px !important;
    font-weight:900 !important;
    line-height:1.1 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--input{
    display:grid !important;
    grid-template-rows:auto 36px !important;
    gap:4px !important;
    align-items:stretch !important;
    justify-content:stretch !important;
    min-height:58px !important;
    padding:6px !important;
    border-radius:13px !important;
    border:1px solid rgba(148,163,184,.18) !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.92) !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--input::before{
    content:attr(data-mobile-label) !important;
    min-width:0 !important;
    display:block !important;
    color:#64748b !important;
    font-size:9.7px !important;
    font-weight:900 !important;
    line-height:1.2 !important;
    text-align:center !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-input{
    width:100% !important;
    height:36px !important;
    min-height:36px !important;
    padding:0 7px !important;
    border-radius:11px !important;
    font-size:12.2px !important;
    font-weight:900 !important;
    text-align:center !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--buy .currency-management-bulk-input,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-buy .currency-management-bulk-input{
    color:#15803d !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--sell .currency-management-bulk-input,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-sell .currency-management-bulk-input{
    color:#dc2626 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions--dock{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px)) !important;
    margin:0 !important;
    background:#f3f7ff !important;
    border-top:1px solid rgba(148,163,184,.16) !important;
    box-shadow:0 -10px 28px rgba(15,23,42,.08) !important;
    z-index:14 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions .currency-management-btn{
    width:100% !important;
    min-width:0 !important;
    height:44px !important;
    min-height:44px !important;
    border-radius:14px !important;
    font-size:13px !important;
    font-weight:900 !important;
    justify-content:center !important;
  }
}

@media (max-width: 430px){
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__row{
    grid-template-columns:38px 58px minmax(0,1fr) minmax(0,1fr) !important;
    gap:6px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card{
    padding:7px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--input{
    min-height:56px !important;
    padding:5px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--input::before{
    font-size:9px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-input{
    height:34px !important;
    min-height:34px !important;
    font-size:11.6px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__flag{
    width:32px !important;
    height:32px !important;
    flex-basis:32px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__code{
    height:30px !important;
    min-height:30px !important;
    font-size:10.4px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__name{
    font-size:12.2px !important;
  }
}

@media (max-width: 860px){
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-scrollarea{
    overflow-x:hidden !important;
    overflow-y:auto !important;
    padding:6px 8px 94px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-sticky-stack,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-toolbar,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-grid-head{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-list{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;
    padding:0 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:auto !important;
    display:block !important;
    padding:10px !important;
    border-radius:16px !important;
    border:1px solid rgba(37,99,235,.18) !important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%) !important;
    box-shadow:0 8px 20px rgba(15,23,42,.06) !important;
    overflow:visible !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card--usd{
    border-color:rgba(37,99,235,.24) !important;
    background:linear-gradient(180deg,#f4f8ff 0%,#ffffff 100%) !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__row{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    display:flex !important;
    flex-wrap:wrap !important;
    direction:rtl !important;
    align-items:flex-start !important;
    gap:8px !important;
    overflow:visible !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    grid-template-columns:none !important;
    grid-template-areas:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell{
    box-sizing:border-box !important;
    min-width:0 !important;
    max-width:100% !important;
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:visible !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--flag{
    order:1 !important;
    flex:0 0 38px !important;
    width:38px !important;
    min-width:38px !important;
    min-height:36px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--code{
    order:2 !important;
    flex:0 0 58px !important;
    width:58px !important;
    min-width:58px !important;
    min-height:36px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--name{
    order:3 !important;
    flex:1 1 calc(100% - 112px) !important;
    width:calc(100% - 112px) !important;
    min-width:0 !important;
    min-height:36px !important;
    justify-content:flex-start !important;
    padding-inline:4px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--pair,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__row--usd-only .currency-management-bulk-card__cell--hidden-pair{
    display:none !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--buy{ order:4 !important; }
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--sell{ order:5 !important; }
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-buy{ order:6 !important; }
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-sell{ order:7 !important; }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor :is(.currency-management-bulk-card__cell--buy,.currency-management-bulk-card__cell--sell,.currency-management-bulk-card__cell--ratio-buy,.currency-management-bulk-card__cell--ratio-sell){
    flex:1 1 calc(50% - 4px) !important;
    width:calc(50% - 4px) !important;
    min-width:calc(50% - 4px) !important;
    max-width:calc(50% - 4px) !important;
    min-height:0 !important;
    height:auto !important;
    display:grid !important;
    grid-template-rows:auto 32px !important;
    gap:4px !important;
    align-items:start !important;
    justify-items:stretch !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    overflow:visible !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor :is(.currency-management-bulk-card__cell--buy,.currency-management-bulk-card__cell--sell,.currency-management-bulk-card__cell--ratio-buy,.currency-management-bulk-card__cell--ratio-sell)::before{
    content:attr(data-mobile-label) !important;
    display:block !important;
    min-width:0 !important;
    min-height:0 !important;
    padding-inline:1px !important;
    color:#64748b !important;
    font-size:8.7px !important;
    font-weight:900 !important;
    line-height:1.18 !important;
    text-align:center !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__flag{
    width:34px !important;
    height:34px !important;
    flex:0 0 34px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__code{
    width:100% !important;
    height:32px !important;
    min-height:32px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:10px !important;
    font-size:11px !important;
    font-weight:900 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__name-wrap{
    width:100% !important;
    min-width:0 !important;
    display:block !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__name{
    width:100% !important;
    color:#0f172a !important;
    text-align:right !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    font-size:13px !important;
    font-weight:900 !important;
    line-height:1.1 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-input{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-inline:0 !important;
    height:32px !important;
    min-height:32px !important;
    padding:0 7px !important;
    border-radius:10px !important;
    border:1px solid rgba(148,163,184,.28) !important;
    background:#ffffff !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.94) !important;
    font-size:11.1px !important;
    font-weight:900 !important;
    text-align:center !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--buy .currency-management-bulk-input,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-buy .currency-management-bulk-input{
    color:#15803d !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--sell .currency-management-bulk-input,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--ratio-sell .currency-management-bulk-input{
    color:#dc2626 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor.currency-management-bulk--touch-scrolling [data-bulk-field]{
    pointer-events:auto !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions,
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions--dock{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px)) !important;
    margin:0 !important;
    background:#f3f7ff !important;
    border-top:1px solid rgba(148,163,184,.16) !important;
    box-shadow:0 -10px 28px rgba(15,23,42,.08) !important;
    z-index:14 !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-modal-actions .currency-management-btn{
    width:100% !important;
    min-width:0 !important;
    height:44px !important;
    min-height:44px !important;
    border-radius:14px !important;
    font-size:13px !important;
    font-weight:900 !important;
    justify-content:center !important;
  }
}

@media (max-width: 430px){
  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card{
    padding:9px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__row{
    gap:7px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--flag{
    flex-basis:36px !important;
    width:36px !important;
    min-width:36px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--code{
    flex-basis:54px !important;
    width:54px !important;
    min-width:54px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-card__cell--name{
    flex-basis:calc(100% - 104px) !important;
    width:calc(100% - 104px) !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor :is(.currency-management-bulk-card__cell--buy,.currency-management-bulk-card__cell--sell,.currency-management-bulk-card__cell--ratio-buy,.currency-management-bulk-card__cell--ratio-sell){
    flex-basis:calc(50% - 3.5px) !important;
    width:calc(50% - 3.5px) !important;
    min-width:calc(50% - 3.5px) !important;
    max-width:calc(50% - 3.5px) !important;
    grid-template-rows:auto 31px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor :is(.currency-management-bulk-card__cell--buy,.currency-management-bulk-card__cell--sell,.currency-management-bulk-card__cell--ratio-buy,.currency-management-bulk-card__cell--ratio-sell)::before{
    font-size:8.2px !important;
  }

  body.taif-mobile-mode .taif-currency-management-modal--bulk-editor .currency-management-bulk-input{
    height:31px !important;
    min-height:31px !important;
    font-size:10.7px !important;
  }
}

