/* 008G — Supplier Studio mobile final clarity/polish.
   Presentation only. No booking, fulfillment, settlement or payout logic changes. */
@media(max-width:760px){
  /* Supplier identity stays simple: business + Studio Menu. Status lives in Overview. */
  body.supplier-studio-page .tp008c-status-chip{display:none!important}
  body[data-tp008g-module="overview"] .tp008a-workspace-copy em{display:none!important}
  .tp008g-overview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 1px 8px;padding:2px 2px 0}
  .tp008g-overview-head[hidden]{display:none!important}
  .tp008g-overview-head small{display:block;font-size:8px;font-weight:900;letter-spacing:.12em;color:#788891}
  .tp008g-overview-head h2{margin:2px 0 0;font-size:18px;line-height:1.05;color:#172f43}
  .tp008g-overview-head>[data-tp008g-account-status]{display:inline-flex;align-items:center;gap:6px;font-size:8px;font-weight:850;color:#73818a;white-space:nowrap}
  .tp008g-overview-head>[data-tp008g-account-status].active{color:#26724d}
  .tp008g-overview-head>[data-tp008g-account-status].active::before{content:'';width:6px;height:6px;border-radius:50%;background:#2a9660;box-shadow:0 0 0 3px #edf8f2}

  /* Back is a light secondary path into Studio Menu; the top button already names the menu. */
  .tp008f-module-nav{margin:3px 0 8px!important;padding:0 2px!important}
  .tp008f-module-nav button{font-size:10px!important;padding:5px 6px!important;color:#0873ca!important}
  #moduleWorkspace,.module-panel{scroll-margin-top:146px!important}

  /* Calendar controls: no Safari intrinsic-width overflow. */
  body[data-tp008g-module="calendar"] .calendar-override-form,
  body[data-tp008g-module="calendar"] .calendar-override-form .form-row{min-width:0!important;width:100%!important;grid-template-columns:1fr!important}
  body[data-tp008g-module="calendar"] .calendar-override-form label,
  body[data-tp008g-module="calendar"] .calendar-override-form input,
  body[data-tp008g-module="calendar"] .calendar-override-form select,
  body[data-tp008g-module="calendar"] .calendar-override-form textarea{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  body[data-tp008g-module="calendar"] .calendar-override-form input[type="date"]{-webkit-appearance:none;appearance:none}

  /* Generic info disclosures: important, but not permanently in the user's face. */
  .tp008g-info,.tp008g-disclosure{margin:8px 0 10px;border:1px solid #e2e8ec;border-radius:11px;background:#f9fbfc;overflow:hidden}
  .tp008g-info>summary,.tp008g-disclosure>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;color:#244156;font-size:10px;font-weight:850}
  .tp008g-info>summary::-webkit-details-marker,.tp008g-disclosure>summary::-webkit-details-marker{display:none}
  .tp008g-info>summary span:last-child{color:#7d8b94;font-size:10px}
  .tp008g-info>p{margin:0;padding:0 11px 11px;color:#6d7b87;font-size:9.5px;line-height:1.45}
  .tp008g-disclosure>summary span{display:grid;gap:2px}.tp008g-disclosure>summary small{font-size:8.5px;font-weight:650;color:#81909a}.tp008g-disclosure>summary i{font-style:normal;color:#71808a;transition:transform .15s ease}.tp008g-disclosure[open]>summary i{transform:rotate(180deg)}

  /* Settlements: preserve the tested lifecycle, simplify only the presentation. */
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-center{display:flex!important;flex-direction:column!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-rule{margin:0!important;border:0!important;background:transparent!important;padding:0 11px 11px!important;display:block!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-rule-icon{display:none!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-rule p{margin:0!important;color:#687884!important;font-size:9.5px!important;line-height:1.45!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .tp008g-payout-timing{order:2;margin:0 0 9px!important;background:#fff}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-current{order:3;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin:0 0 10px!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-current>div[hidden]{display:none!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-current>div{padding:10px!important;min-width:0!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-current small{font-size:8px!important}body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-current b{font-size:10.5px!important;overflow-wrap:anywhere}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-profiles{order:4;margin-top:0!important;padding-top:0!important;border-top:0!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-choice-grid{order:5;display:grid!important;gap:8px!important;margin-top:8px!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-activity{order:6}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-policy-note{order:7}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-policy-note[hidden]{display:none!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-subhead{margin:5px 0 7px!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-subhead span{font-size:8px!important}body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-subhead h3{font-size:15px!important;margin:2px 0!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-profile-row{position:relative;padding:10px 30px 10px 11px!important;border-radius:10px!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-profile-row.tp008g-profile-link{cursor:pointer}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-profile-row.tp008g-profile-link::after{content:'›';position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#8a99a2;font-size:16px}
  .tp008g-payment-method{border:1px solid #e2e8ec;border-radius:11px;background:#fff;overflow:hidden}
  .tp008g-payment-method>summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:11px 12px}
  .tp008g-payment-method>summary::-webkit-details-marker{display:none}
  .tp008g-payment-method>summary span{display:grid;gap:1px}.tp008g-payment-method>summary small{font-size:7.5px;font-weight:900;letter-spacing:.08em;color:#7d8b95}.tp008g-payment-method>summary b{font-size:12px;color:#17364a}.tp008g-payment-method>summary em{font-size:8.5px;font-style:normal;font-weight:850;color:#4f7560}.tp008g-payment-method>summary>i{font-style:normal;color:#83919a;transition:transform .15s}.tp008g-payment-method[open]>summary>i{transform:rotate(180deg)}
  .tp008g-payment-method .settlement-method-card{border:0!important;border-top:1px solid #edf1f3!important;border-radius:0!important;margin:0!important;padding:12px!important;background:#fbfcfd!important}
  .tp008g-payment-method .settlement-method-card>p{font-size:9.5px!important;line-height:1.4!important;margin-top:0!important}
  .tp008g-empty-activity .settlement-activity-empty{padding:14px 10px!important}.tp008g-empty-activity .settlement-activity-empty>div{display:none}.tp008g-empty-activity .settlement-activity-empty h3{font-size:12px!important}.tp008g-empty-activity .settlement-activity-empty p{font-size:9.5px!important}

  /* Rewards: explain purpose once, then show the actual offers. */
  body[data-tp008g-module="rewards"] #moduleWorkspace .tp008g-reward-info{margin-top:-2px}
  body[data-tp008g-module="rewards"] #moduleWorkspace .ops-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body[data-tp008g-module="rewards"] #moduleWorkspace .ops-summary article{padding:10px!important;min-height:74px!important}
  body[data-tp008g-module="rewards"] #moduleWorkspace .ops-summary span{font-size:8px!important}body[data-tp008g-module="rewards"] #moduleWorkspace .ops-summary b{font-size:17px!important}body[data-tp008g-module="rewards"] #moduleWorkspace .ops-summary small{font-size:8px!important;line-height:1.3!important}
  body[data-tp008g-module="rewards"] #moduleWorkspace .rewards-ops-head{margin:13px 0 5px!important;border-top:1px solid #edf1f3;padding-top:11px!important}
  body[data-tp008g-module="rewards"] #moduleWorkspace .rewards-ops-head p{font-size:13px!important;font-weight:850!important;color:#1d3549!important}
  body[data-tp008g-module="rewards"] #moduleWorkspace .tp008g-hide-open-products{display:none!important}
  body[data-tp008g-module="rewards"] #moduleWorkspace .reward-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}
  body[data-tp008g-module="rewards"] #moduleWorkspace .reward-row b{font-size:12px!important}body[data-tp008g-module="rewards"] #moduleWorkspace .reward-row span{font-size:9px!important;line-height:1.35!important}body[data-tp008g-module="rewards"] #moduleWorkspace .reward-row button{min-width:82px!important;padding:7px 9px!important;font-size:9px!important}

  /* Performance: metrics lead, explanation becomes optional. */
  body[data-tp008g-module="performance"] #moduleWorkspace .performance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:8px 0 10px!important}
  body[data-tp008g-module="performance"] #moduleWorkspace .performance-grid article{min-height:72px!important;padding:10px!important;background:#fff!important}
  body[data-tp008g-module="performance"] #moduleWorkspace .performance-grid article:last-child{grid-column:1/-1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-height:56px!important}
  body[data-tp008g-module="performance"] #moduleWorkspace .performance-grid article:last-child b{margin:0!important}
  body[data-tp008g-module="performance"] #moduleWorkspace .tp008g-performance-info{margin-top:3px!important}
  .tp008g-quiet-note{padding:11px!important;border-radius:11px!important}.tp008g-quiet-note p{font-size:9.5px!important;line-height:1.4!important}

  /* Business Profile: keep legal governance important but quiet until requested. */
  body[data-tp008g-module="profile"] #moduleWorkspace .tp008g-profile-info{margin-top:10px!important}
  body[data-tp008g-module="profile"] #moduleWorkspace .identity-governance-disclosure{margin-top:9px!important}
  body[data-tp008g-module="profile"] #moduleWorkspace .identity-governance-disclosure>summary{font-size:10px!important;padding:11px 12px!important}

  /* Agreements: human language and stronger row hierarchy. */
  body[data-tp008g-module="terms"] #moduleWorkspace .agreement-row{padding:12px!important;border:1px solid #e4e9ed!important;border-radius:11px!important;background:#fff!important;margin-top:8px!important;align-items:flex-start!important}
  body[data-tp008g-module="terms"] #moduleWorkspace .agreement-row b{font-size:12px!important}body[data-tp008g-module="terms"] #moduleWorkspace .agreement-row span{font-size:9px!important;line-height:1.35!important}body[data-tp008g-module="terms"] #moduleWorkspace .agreement-row>strong{font-size:8px!important;padding:4px 7px!important;border-radius:999px!important;background:#eff7f2!important;color:#357051!important}
  body[data-tp008g-module="terms"] #moduleWorkspace .terms-audit{margin-top:9px!important}
  body[data-tp008g-module="terms"] #moduleWorkspace .terms-audit summary{font-size:10px!important;padding:11px 12px!important}

  /* Keep the mobile workspace visually calm. */
  body.supplier-studio-page #moduleWorkspace .module-head p{font-size:10px!important;color:#75838d!important}
}

@media(max-width:390px){
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-current{grid-template-columns:1fr 1fr!important}
  body[data-tp008g-module="settlements"] #moduleWorkspace .settlement-current>div:nth-child(3){grid-column:1/-1!important}
}
