/* Кабинет доставки: профиль компании и съёмка фото. */

.profile__body { display: flex; flex: none; flex-direction: column; gap: 12px; overflow: visible; margin: 16px 16px 0; padding-bottom: 16px; }
.profile__card { display: flex; flex-direction: column; padding: 18px; border-radius: 20px; }
.profile__card--logo { gap: 10px; }
.profile__card--name { gap: 9px; }

.profile__logo { display: flex; align-items: center; gap: 16px; }
.profile__preview { position: relative; display: block; width: 110px; height: 110px; flex: none; overflow: hidden; border-radius: 18px; background: var(--cab-surface-2); }
.profile__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.profile__tools { display: grid; min-width: 0; flex: 1; gap: 8px; grid-template-columns: 1fr 1fr; }
.profile__tool { display: grid; min-height: 50px; place-items: center; border: 1px solid var(--cab-line-3); border-radius: 14px; background: var(--cab-surface); color: #46544a; }
.profile__tool--danger { border-color: #efe0e0; color: #b4443c; }

.profile__input { min-height: 52px; padding: 0 16px; font-size: 16px; }
.profile__access { gap: 9px; }
.profile__access-link { display: flex; min-height: 52px; align-items: center; gap: 2px; overflow: hidden; margin: 0; padding: 0 12px 0 16px; border: 1px solid var(--cab-line-3); border-radius: 14px; background: #fafbf8; font-size: 15.5px; }
.profile__access-link span { flex: none; color: #8b978d; }
.profile__access-link b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile__access-actions { display: flex; gap: 8px; }
.profile__access-actions .button { min-height: 44px; min-width: 0; flex: 1; padding: 0 12px; border-radius: 12px; color: var(--cab-text); font-size: 14px; font-weight: 600; }
.button.profile__save { position: static; flex: none; width: calc(100% - 32px); margin: 10px 16px 0; min-height: 54px; font-size: 15.5px; box-shadow: 0 12px 24px -15px rgba(0, 129, 58, .8); }

.screen--photo-capture { padding-top: 0; overflow: hidden; background: #0e120f; color: #fff; }
.photo-capture__head { display: flex; flex: none; align-items: center; gap: 12px; padding: max(16px, env(safe-area-inset-top)) 16px 14px; }
.photo-capture__head .back-row { width: 40px; height: 40px; flex: none; justify-content: center; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; }
.photo-capture__head h1 { min-width: 0; overflow: hidden; margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.photo-capture__view { position: relative; min-height: 0; flex: 1; overflow: hidden; background: #171c18; }
.photo-capture__camera, .photo-capture__camera video, .photo-capture__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-capture__actions { align-items: center; justify-content: center; padding: 20px 20px max(26px, env(safe-area-inset-bottom)); }
.photo-capture__shutter { width: 64px; height: 64px; margin: 7px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .28); }
.photo-capture__actions .button { min-width: 0; flex: 1; }
