.tm-team-photo__main{display:grid!important;gap:20px!important}

.tm-photo-guidelines{background:#fff!important;border:1px solid rgba(0,0,0,.1)!important;border-top:4px solid #050505!important;padding:20px!important;box-shadow:0 14px 36px rgba(0,0,0,.045)!important}

.tm-photo-guidelines h4{margin:0 0 12px!important;color:#111!important;font-size:15px!important;text-transform:uppercase!important;letter-spacing:0!important}

.tm-photo-guidelines ul{margin:0!important;padding-left:18px!important;color:#333!important;line-height:1.65!important}

.tm-photo-guidelines li{margin:0 0 7px!important}

.tm-team-photo__upload{background:#fff!important;border:1px solid rgba(0,0,0,.1)!important;padding:20px!important}

.tm-team-photo__aside{display:grid!important;gap:14px!important}

.tm-team-photo__preview{margin:0!important;background:#fff!important;border:1px solid rgba(0,0,0,.1)!important;padding:10px!important;box-shadow:0 14px 36px rgba(0,0,0,.045)!important}

.tm-team-photo__preview img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#f4f0e8!important}

.tm-team-photo__preview{border-top:4px solid #b59a64!important}

.tm-team-photo__preview figcaption{margin:8px 0 0!important;color:#666!important;font-size:12px!important;line-height:1.4!important}

.tm-table{width:100%!important;border-collapse:collapse!important;background:#fff!important;border:1px solid rgba(0,0,0,.08)!important;box-shadow:0 14px 38px rgba(0,0,0,.05)!important}

.tm-table th{padding:16px!important;text-align:left!important;color:#b59a64!important;font-size:12px!important;text-transform:uppercase!important;border-bottom:1px solid rgba(0,0,0,.1)!important;font-family:TMGotham,Arial,sans-serif!important}

.tm-table td{padding:16px!important;border-bottom:1px solid rgba(0,0,0,.06)!important;vertical-align:top!important;color:#111!important;font-family:TMGotham,Arial,sans-serif!important}

.tm-table td a+a{margin-left:0!important}

.tm-table-actions{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:6px!important}

.tm-person-form h3{grid-column:1/-1!important;margin:24px 0 0!important;font-size:17px!important;text-transform:uppercase!important;color:#111!important}

.tm-etablissement-people{margin-top:44px!important}

.tm-front-modal{position:fixed!important;inset:0!important;z-index:99999!important;background:rgba(0,0,0,.62)!important;display:none!important;align-items:center!important;justify-content:center!important;padding:24px!important}

.tm-front-modal.is-open{display:flex!important}

.tm-front-modal__box{position:relative!important;background:#fff!important;max-width:440px!important;width:100%!important;padding:34px!important;box-shadow:0 24px 80px rgba(0,0,0,.26)!important}

.tm-front-modal__box h3{margin:0 0 10px!important;text-transform:uppercase!important;color:#b59a64!important}

.tm-front-modal__box p{margin:0!important;color:#444!important}

.tm-front-modal__close{position:absolute!important;top:12px!important;right:12px!important;border:0!important;background:#050505!important;color:#fff!important;width:34px!important;height:34px!important;cursor:pointer!important;font-size:22px!important;line-height:1!important}

.tm-front-modal__close:hover{background:#333!important}

   RESPONSIVE
   ================================================================ */

@media (max-width:900px){
  .tm-grid,.tm-grid--three{grid-template-columns:1fr!important}
  .tm-recap__cards,.tm-readonly-rows{grid-template-columns:1fr!important}
  .tm-signature-flow{grid-template-columns:1fr!important}
  .tm-recap-status ul{columns:1!important}
  .tm-product-item{grid-template-columns:1fr!important;gap:12px!important}
  .tm-product-row__qty{flex:1!important}
  .tm-ingredient-card{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important}
  .tm-ingredient-card figure{min-height:64px!important}
  .tm-ingredient-card figure img{width:64px!important;height:64px!important}
  .tm-ingredient-card__placeholder{width:64px!important;min-height:64px!important}
  .tm-doc-status-grid{grid-template-columns:1fr!important}
  .tm-team-photo{grid-template-columns:1fr!important}
  .tm-nappage-preview,.tm-nappage-card{grid-template-columns:1fr!important}
  .tm-nappage-preview>div{padding:18px!important}
  .tm-nappage-modal__panel{padding:22px!important}
  .tm-front-card--compact{align-items:flex-start!important;flex-direction:column!important}
  .tm-front-header{align-items:flex-start!important;flex-direction:column!important}
  .tm-front-header img:first-child{max-width:220px!important;width:70%!important}
  .tm-progress{flex-wrap:wrap!important;gap:8px!important}
  .tm-progress::before{display:none!important}
  .tm-progress__item::after{display:none!important}
  .tm-progress__item{flex:0 0 calc(50% - 4px)!important;min-width:0!important}
}

@media (max-width:560px){
  .tm-front,.tm-register,.tm-dashboard,.tm-etablissement-form,.tm-candidatures-list{padding:0 16px!important;margin:24px auto!important}
  .tm-register,.tm-front-card,.tm-wizard-panel{padding:18px!important}
  .tm-front-header{padding:18px!important}
  .tm-front-header h2{font-size:22px!important}
  .tm-table{display:block!important;overflow-x:auto!important}
  .tm-button,.tm-btn{width:100%!important}
  .tm-form-actions{padding:14px 18px!important;flex-direction:column!important}
  .tm-form-actions .tm-button,.tm-form-actions .tm-btn{width:100%!important;justify-content:center!important}
  .tm-progress{gap:6px!important}
  .tm-progress__item{flex:0 0 100%!important;flex-direction:row!important;gap:12px!important}
  .tm-progress__item strong{text-align:left!important}
}
