/* STAGING 009S — Location & Directions mobile reconstruction */
@media (max-width:760px){
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .partner-directions-box,
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] [data-editor-preview-target="location"]{
    background:#fff!important;border:1px solid #dce8e2!important;border-radius:18px!important;
    padding:18px!important;box-shadow:0 8px 24px rgba(22,61,44,.045)!important;
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .partner-directions-box>div:first-child{margin-bottom:14px!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .partner-directions-box .eyebrow,
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] [data-editor-preview-target="location"] .eyebrow{
    color:#138a4f!important;font-size:10px!important;letter-spacing:.18em!important;font-weight:900!important;margin-bottom:5px!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .partner-directions-box b,
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] [data-editor-preview-target="location"] b{
    color:#10263a!important;font-size:19px!important;line-height:1.15!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .partner-directions-box small{
    color:#7c8d86!important;font-size:13px!important;line-height:1.45!important;margin-top:7px!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .directions-input-grid{gap:12px!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-service{
    background:#f8fbf9!important;border:1px solid #d9e6df!important;border-radius:15px!important;padding:14px!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-service.tp009s-connected{
    border-color:#a9d8bf!important;background:#f5fbf7!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-service .my-card-field>span{
    color:#174e36!important;font-size:13px!important;font-weight:900!important;margin-bottom:7px!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-entry-row{grid-template-columns:1fr!important;gap:8px!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-entry-row input{
    width:100%!important;min-height:48px!important;border:1px solid #cfded6!important;border-radius:12px!important;background:#fff!important;
    color:#10263a!important;font-size:16px!important;padding:12px 13px!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-entry-row input[aria-invalid="true"]{border-color:#c95f59!important;box-shadow:0 0 0 2px rgba(201,95,89,.08)!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-save{
    min-height:45px!important;border:0!important;border-radius:12px!important;background:#148b50!important;color:#fff!important;
    font-size:14px!important;font-weight:900!important;padding:11px 16px!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-status{
    margin-top:9px!important;color:#148b50!important;font-size:12px!important;font-weight:900!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .direction-status button{color:#173044!important;font-size:12px!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .tp009s-inline-error{margin-top:8px;color:#a33b36;font-size:12px;line-height:1.35;font-weight:750}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .tp009s-inline-error[hidden]{display:none!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .controlled-location{justify-items:start!important;gap:12px!important;width:100%!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] .controlled-location>span{color:#10263a!important;font-size:14px!important;line-height:1.4!important;font-weight:850!important}
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] #partnerCardLocationRequestBtn{
    width:100%!important;min-height:46px!important;background:#10263a!important;color:#fff!important;border:0!important;border-radius:12px!important;
    font-size:14px!important;font-weight:900!important
  }
  body.tp009s-location-mobile #partnerModule-card[data-tp009p-section="location"] #partnerCardLocationRequestBtn.tp009s-pending{background:#e8eeeB!important;color:#62736b!important}
  body.tp009s-location-mobile .location-review-panel{display:none!important}
  body.tp009s-modal-open{overflow:hidden!important}
  .tp009s-location-modal[hidden]{display:none!important}
  .tp009s-location-modal{position:fixed;inset:0;z-index:4800;display:flex;align-items:flex-end;justify-content:center;padding:14px}
  .tp009s-location-backdrop{position:absolute;inset:0;background:rgba(11,31,25,.42);backdrop-filter:blur(6px)}
  .tp009s-location-sheet{position:relative;width:min(100%,620px);max-height:calc(100dvh - 34px);overflow:auto;background:#fff;border-radius:24px 24px 18px 18px;padding:22px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -18px 60px rgba(15,45,33,.18)}
  .tp009s-location-close{position:sticky;top:0;float:right;z-index:2;width:38px;height:38px;margin:-5px -2px 4px 12px;border:1px solid #d7e3dd;border-radius:12px;background:#fff;color:#173044;font-size:20px;font-weight:900;line-height:1;display:grid;place-items:center;box-shadow:0 5px 16px rgba(18,54,40,.08)}
  .tp009s-location-kicker{color:#138a4f;font-size:10px;letter-spacing:.18em;font-weight:900;margin-bottom:8px}
  .tp009s-location-sheet h3{margin:0;color:#10263a;font-size:25px;line-height:1.08;letter-spacing:-.03em}
  .tp009s-location-sheet>p{margin:9px 0 14px;color:#6f7f78;font-size:14px;line-height:1.45}
  .tp009s-location-current{padding:12px 13px;border:1px solid #dce8e2;border-radius:14px;background:#f8fbf9;margin-bottom:14px;display:grid;gap:4px}
  .tp009s-location-current span{font-size:10px;color:#75867e;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
  .tp009s-location-current b{color:#173044;font-size:14px}
  .tp009s-location-grid{display:grid;gap:12px}
  .tp009s-location-grid label{display:grid;gap:6px}
  .tp009s-location-grid label>span{color:#173044;font-size:12px;font-weight:900}
  .tp009s-location-grid input,.tp009s-location-grid textarea{width:100%;box-sizing:border-box;border:1px solid #cfded6;border-radius:12px;background:#fff;color:#10263a;font-size:16px;padding:12px 13px;outline:none}
  .tp009s-location-grid textarea{resize:vertical;min-height:112px}
  .tp009s-location-grid label.full small{justify-self:end;color:#7b8b84;font-size:11px}
  .tp009s-location-state{min-height:18px;margin-top:10px;color:#6e7f77;font-size:12px;line-height:1.35;font-weight:700}
  .tp009s-location-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:10px;margin-top:12px}
  .tp009s-location-actions button{min-height:48px;border-radius:12px;font-size:14px;font-weight:900}
  #tp009sLocationCancel{border:1px solid #d8e2dd;background:#fff;color:#315541}
  #tp009sLocationSubmit{border:0;background:#ffe86a;color:#13233a}
  #tp009sLocationSubmit:disabled{opacity:.6}
}
