/* 2026-11-07: Supplier Studio payment clarity, existing source only.
   READ-ONLY supplier-scoped ledger. No payment, role, backend or Stripe changes. */
body.supplier-studio-page #moduleWorkspace .toura-payments-center{display:flex!important;flex-direction:column!important;gap:0!important;overflow:visible!important}
body.supplier-studio-page #moduleWorkspace .toura-payments-head{order:0!important;margin-bottom:10px!important}
body.supplier-studio-page #moduleWorkspace .toura-payments-head h2{font-size:clamp(23px,4vw,30px)!important;line-height:1.13!important;margin:3px 0 6px!important}
body.supplier-studio-page #moduleWorkspace .toura-payments-head p{color:#63766f!important;font-size:14px!important;line-height:1.5!important;margin:0!important}
body.supplier-studio-page #moduleWorkspace .toura-modern-settlement-ledger{order:1!important;margin:0!important;border:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}
body.supplier-studio-page #moduleWorkspace .toura-modern-settlement-ledger .toura-earnings-summary{display:grid!important;gap:13px!important;margin:0 0 19px!important}
body.supplier-studio-page #moduleWorkspace .toura-earnings-currency{border:1px solid #dae9e1;border-radius:18px;background:#fff;overflow:hidden}
body.supplier-studio-page #moduleWorkspace .toura-earnings-hero{background:#f1faf5;padding:19px 20px 17px;border-bottom:1px solid #e0ede5}
body.supplier-studio-page #moduleWorkspace .toura-earnings-hero>small{display:block;font-size:12px!important;font-weight:850!important;letter-spacing:.06em;text-transform:uppercase;color:#396c58!important}
body.supplier-studio-page #moduleWorkspace .toura-earnings-hero>strong{display:block;font-size:clamp(29px,6.5vw,40px)!important;line-height:1.2!important;letter-spacing:-.025em;color:#105d3b!important;margin:5px 0 8px!important}
body.supplier-studio-page #moduleWorkspace .toura-earnings-hero>p{font-size:13px!important;color:#416659!important;line-height:1.48!important;margin:0!important}
body.supplier-studio-page #moduleWorkspace .toura-earnings-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important}
body.supplier-studio-page #moduleWorkspace .toura-earnings-metrics>div{padding:14px 17px;min-width:0}
body.supplier-studio-page #moduleWorkspace .toura-earnings-metrics>div+div{border-left:1px solid #e1ebe5}
body.supplier-studio-page #moduleWorkspace .toura-earnings-metrics>div small{display:block;color:#697e73!important;font-size:11px!important;line-height:1.25!important}
body.supplier-studio-page #moduleWorkspace .toura-earnings-metrics>div b{display:block;color:#1a3845!important;font-size:18px!important;line-height:1.28!important;margin-top:5px!important;overflow-wrap:anywhere}
body.supplier-studio-page #moduleWorkspace .toura-earnings-no-data{padding:18px;border:1px solid #e1ebe7;border-radius:13px;color:#667a71;font-size:13px;line-height:1.5}
body.supplier-studio-page #moduleWorkspace .toura-payment-history-head{margin:5px 0 13px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-history-head>span{font-size:11px!important;color:#5f8574!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-history-head>h3{font-size:19px!important;line-height:1.3!important;margin:2px 0!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-order{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px 12px!important;padding:17px!important;margin:8px 0 13px!important;align-items:center!important;border:1px solid #dce9e2!important;border-radius:15px!important;background:#fff!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-order.is-highlighted{border:2px solid #138352!important;background:#fbfefc!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-order .toura-payment-order-title{display:flex;flex-direction:column;gap:5px;min-width:0}
body.supplier-studio-page #moduleWorkspace .toura-payment-order .toura-payment-order-title b{font-size:15px!important;line-height:1.35!important;color:#1a3646!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-order .toura-payment-order-title span{font-size:12px!important;color:#73837d!important;overflow-wrap:anywhere}
body.supplier-studio-page #moduleWorkspace .toura-payment-order>strong{font-size:18px!important;color:#0e6943!important;white-space:nowrap}
body.supplier-studio-page #moduleWorkspace .toura-payment-order>p.toura-payment-order-status{grid-column:1/-1;margin:4px 0 0!important;font-size:13px!important;font-weight:750;color:#4a6772}
body.supplier-studio-page #moduleWorkspace .toura-payment-order>p.toura-payment-order-status.is-paid{color:#0c7848!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-order>small.toura-payment-order-note{grid-column:1/-1;font-size:12px!important;color:#64776e!important;line-height:1.45!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-breakdown{grid-column:1/-1;border-top:1px solid #edf2ef;padding-top:11px;font-size:13px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-breakdown>summary{color:#146b47!important;font-size:13px!important;font-weight:800!important;cursor:pointer;min-height:25px}
body.supplier-studio-page #moduleWorkspace .toura-payment-breakdown>p{margin:8px 0!important;line-height:1.45!important;color:#415c62!important}
body.supplier-studio-page #moduleWorkspace .toura-technical-reference{padding:8px 0;overflow-wrap:anywhere}
body.supplier-studio-page #moduleWorkspace .toura-technical-reference code{display:block;overflow-wrap:anywhere;font-size:11px;margin:7px 0}
body.supplier-studio-page #moduleWorkspace .toura-legacy-payments{order:2!important;margin:18px 0 4px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings{order:3!important;display:block;border:1px solid #dee8e5;border-radius:14px;background:#fff;overflow:hidden;margin-top:12px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px;min-height:66px}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings>summary::-webkit-details-marker{display:none}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings>summary>span:first-child{display:flex;flex-direction:column;gap:6px;min-width:0}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings>summary b{display:block!important;color:#173f34;font-size:15px;font-weight:850}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings>summary small{font-size:12px;color:#687b74;line-height:1.4}
body.supplier-studio-page #moduleWorkspace .toura-settings-chevron{flex:0 0 auto;font-size:18px;color:#7a8b81;transition:transform .15s ease}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings[open] .toura-settings-chevron{transform:rotate(180deg)}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings-inner{border-top:1px solid #e6ede9;padding:14px 16px 18px}
body.supplier-studio-page #moduleWorkspace .toura-settings-intro{margin:0 0 12px;color:#647a70;font-size:12px;line-height:1.5}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-current{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 14px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-current>div{padding:10px!important;grid-column:auto!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-current small{font-size:11px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-current b{font-size:13px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-subhead h3{font-size:15px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-methods-unified{padding:0!important;margin:0!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-rule{margin:14px 0 0!important;padding:9px 0!important;border:0!important;background:transparent!important;color:#65766d!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-rule p{font-size:12px!important;line-height:1.45!important;margin:0!important}
@media(max-width:760px){
  /* Earlier mobile shell pins a tall identity card over the payment ledger.
     Keep it in document flow, so it never covers earnings or receipt details. */
  body.supplier-studio-page .tp008a-workspace-context{position:relative!important;top:auto!important;z-index:20!important}
  body.supplier-studio-page #moduleWorkspace .toura-payment-order{grid-template-columns:minmax(0,1fr)!important}
  body.supplier-studio-page #moduleWorkspace .toura-payment-order>strong{grid-column:1!important;white-space:normal!important}
  body.supplier-studio-page #moduleWorkspace .toura-earnings-metrics>div{padding:12px!important}
  body.supplier-studio-page #moduleWorkspace .toura-earnings-hero{padding:16px!important}
  body.supplier-studio-page #moduleWorkspace .toura-payment-settings .settlement-method-facts{min-width:0}
  body.supplier-studio-page #moduleWorkspace .toura-payments-center .settlement-activity{order:1!important}
  body.supplier-studio-page #moduleWorkspace .toura-payments-center .toura-legacy-payments{order:2!important}
  body.supplier-studio-page #moduleWorkspace .toura-payments-center>.toura-payment-settings{order:3!important}
}
@media(max-width:380px){body.supplier-studio-page #moduleWorkspace .toura-earnings-metrics>div b{font-size:16px!important}}

/* Small R2 mobile Settings actions: secure external Stripe management and
   an explicit request, never an unverified automatic switch. */
body.supplier-studio-page #moduleWorkspace .toura-payment-manage-block{margin:14px 0 0;padding:15px;border:1px solid #deebe5;border-radius:13px;background:#fafdfb}
body.supplier-studio-page #moduleWorkspace .toura-payment-manage-block h3{font-size:15px!important;line-height:1.3!important;margin:0 0 7px!important;color:#183d33!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-manage-block p{font-size:13px!important;line-height:1.48!important;color:#4c6c5f!important;margin:0 0 11px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-manage-block small{display:block;font-size:11px!important;line-height:1.5!important;color:#5e786d!important;margin-top:10px!important}
body.supplier-studio-page #moduleWorkspace .toura-payment-manage-link{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;padding:11px 13px;border-radius:11px;background:#087b4a;color:white!important;font-size:13px;font-weight:750;text-decoration:none!important;line-height:1.4}
body.supplier-studio-page #moduleWorkspace .toura-payment-manage-link:focus-visible{outline:3px solid #245aa7;outline-offset:3px}
body.supplier-studio-page #moduleWorkspace .toura-payment-manage-secondary{background:#edf8f2;color:#12653f!important;border:1px solid #b8dec8}
@media(max-width:760px){body.supplier-studio-page #moduleWorkspace .toura-payment-manage-link{min-height:48px}}
