/* Toura Passport STAGING 009F — Partner Studio Public Card first-view refinement.
   Mobile presentation and guarded navigation only. Canonical Public Presence editing,
   persistence, publishing, renderer and Explorer truth remain authoritative. */
@media (max-width:760px){
  /* The published card is the first thing the Partner sees. Keep it intentionally
     cropped so the controls remain visible in the same first viewport. */
  body.tp009f-public-card #partnerModule-card #publicPresenceOverview{
    order:1!important;
    margin:0 0 9px!important;
  }
  body.tp009f-public-card #partnerModule-card .public-presence-v38-head{
    order:2!important;
    margin:0 0 9px!important;
    padding:11px 13px 12px!important;
  }
  body.tp009f-public-card #partnerModule-card .tp009d-presence-manage{
    order:3!important;
  }

  body.tp009f-public-card #partnerModule-card .public-presence-v38-preview-panel{
    padding:10px 11px 11px!important;
  }
  body.tp009f-public-card #partnerModule-card .public-presence-preview-head{
    margin-bottom:7px!important;
  }
  body.tp009f-public-card #partnerModule-card .public-presence-v38-preview-viewport{
    height:245px!important;
    min-height:245px!important;
    max-height:245px!important;
  }
  body.tp009f-public-card #publicPresencePreviewThumb{
    margin-top:8px!important;
  }
  body.tp009f-public-card #partnerModule-card .public-presence-preview-fade{
    display:block!important;
    height:86px!important;
    background:linear-gradient(to bottom,rgba(232,238,234,0),rgba(232,238,234,.76) 62%,#e8eeea 92%)!important;
  }
  body.tp009f-public-card #partnerModule-card .public-presence-v38-freshness{
    display:none!important;
  }

  /* Remove repeated Public Presence labels inside the action card. The workspace
     context above already states where the user is. */
  body.tp009f-public-card #partnerModule-card .public-presence-v38-heading{
    display:none!important;
  }
  body.tp009f-public-card #partnerModule-card .tp009d-presence-status{
    margin:0 0 8px!important;
    padding:0 0 8px!important;
    border-top:0!important;
    border-bottom:1px solid #edf1ee!important;
  }
  body.tp009f-public-card #partnerModule-card .public-presence-v38-actions{
    margin-top:0!important;
    gap:7px!important;
  }
  body.tp009f-public-card #partnerModule-card .tp009f-presence-explainer{
    display:grid;
    gap:3px;
    margin-top:8px;
    padding-top:8px;
    border-top:1px solid #edf1ee;
  }
  body.tp009f-public-card #partnerModule-card .tp009f-presence-explainer .tp009d-presence-purpose{
    display:block!important;
    margin:0!important;
    color:#476158!important;
    font-size:9px!important;
    line-height:1.3!important;
    font-weight:850!important;
  }
  body.tp009f-public-card #partnerModule-card .tp009f-presence-explainer #publicPresenceHeaderModeCopy{
    display:block!important;
    margin:0!important;
    color:#87938d!important;
    font-size:8px!important;
    line-height:1.35!important;
    font-weight:500!important;
  }

  /* Card language: the module remains Public Presence architecturally, while the
     object being managed is the Public Card. */
  body.tp009f-public-card #partnerModule-card .tp009d-manage-head{
    padding-bottom:7px!important;
  }

  /* Protected rows remain discoverable but do not silently unlock Edit mode. */
  body.tp009f-public-card #partnerModule-card .tp009d-manage-list button.is-protected{
    cursor:pointer;
  }
  body.tp009f-public-card #partnerModule-card .tp009d-manage-list button.is-protected:active{
    background:#f7faf8!important;
  }
}

@media (max-width:370px){
  body.tp009f-public-card #partnerModule-card .public-presence-v38-preview-viewport{
    height:225px!important;
    min-height:225px!important;
    max-height:225px!important;
  }
}
