.sheet-overlay { position: fixed; inset: 0; background: var(--overlay-bg); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; z-index: 10000; }
.sheet-card {
  width: 100%; max-width: 640px; background: var(--surface-2); border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  border-top: 1px solid var(--border-strong); box-shadow: var(--sheet-shadow);
  padding: 14px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  max-height: 90vh; overflow-y: auto; position: relative;
}
/* Длинный список: прокручивается сам список, «Отмена» и крестик всегда на виду */
.sheet-card.is-list { display: flex; flex-direction: column; overflow: hidden; }
.sheet-card.is-list .sheet-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 2px; }
.sheet-card.is-list .sheet-btn-cancel { flex: 0 0 auto; }
.sheet-header.has-x { position: relative; padding: 0 56px; min-height: 48px; display: flex; flex-direction: column; justify-content: center; }
.sheet-x { position: absolute; top: 0; right: 0; margin-left: 0; }
.sheet-handle { width: 40px; height: 4px; background: var(--border-strong); border-radius: 2px; margin: 0 auto 12px; }
.sheet-header { text-align: center; margin-bottom: 14px; }
.sheet-title { font-size: 18px; font-weight: 700; color: var(--text); }
.sheet-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.sheet-list { display: flex; flex-direction: column; gap: 8px; }
.sheet-btn {
  min-height: 52px; border-radius: 14px; border: 1.5px solid var(--btn2-border); background: var(--btn2-bg);
  box-shadow: var(--btn2-shadow); color: var(--btn2-text); font-size: 17px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px;
}
.sheet-btn:active { background: var(--btn2-bg-active); border-color: var(--sec-color); }
.sheet-btn-danger { color: var(--primary-text); background: var(--danger-solid); border-color: var(--danger-border); font-weight: 700; }
.sheet-btn-danger:active { background: var(--danger-solid-active); }
.sheet-btn-cancel { margin-top: 10px; min-height: 48px; background: var(--btn2-bg); border: 1.5px solid var(--btn2-border); color: var(--btn2-text); }